[PATCH v2 0/5] ACPI: Replace acpi_get_first_physical_node() with acpi_bus_get_primary_device()

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Oct 1 11:22:12 PDT 2026


On Wed, Sep 30, 2026 at 08:30:47PM +0200, Rafael J. Wysocki wrote:
> Hi All,
> 
> This is a partial resend of
> 
> https://lore.kernel.org/linux-acpi/7995179.EvYhyI6sBW@rafael.j.wysocki/
> 
> that only includes patches that have not been ACKed and the last one that
> depends on all of the others.  It is based on linux-next.
> 
> This series replaces acpi_get_first_physical_node(), which is inherently racy
> and therefore generally unsafe to use, with acpi_bus_get_primary_device(), that
> doesn't have this problem, everywhere in the code.
> 
> I will appreciate ACKs from maintainers of the code updated by the patches, so
> I can pick them up and get rid of the problematic interface in one go.

The whole lot is straightforward,
Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list