[PATCH RFC 03/11] driver core: platform: Add static ACPI nodes IRQ retrieval/mapping code
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Fri Sep 25 02:54:15 PDT 2026
On Fri, Sep 25, 2026 at 09:48:02AM +0200, Lorenzo Pieralisi wrote:
> ACPI static fwnodes types are not contemplated in the current
>
> platform_get_irq_affinity()
>
> implementation that is there to retrieve and map IRQs for a device.
>
> Add fwnode_irq_get() to platform_get_irq_affinity() for static ACPI fwnodes
> to overcome this shortcoming, enabling IRQ retrieval and mapping for the
> ACPI static fwnode type.
>
> Signed-off-by: Lorenzo Pieralisi <lpieralisi at kernel.org>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: "Rafael J. Wysocki" <rafael at kernel.org>
> Cc: Danilo Krummrich <dakr at kernel.org>
> ---
Same about the Cc list...
...
> + if (is_acpi_static_node(fwnode)) {
> + ret = fwnode_irq_get(fwnode, num);
> + if (ret > 0 || ret == -EPROBE_DEFER)
> + goto out;
> + }
This even doesn't sound right. If you know this is an ACPI-only feature what
the fwnode has all to do with it? Call the respective ACPI-oriented function.
--
With Best Regards,
Andy Shevchenko
More information about the linux-arm-kernel
mailing list