[PATCH v2] ACPI: bus: Consolidate all arm specific initialisation into acpi_arm_init()

Catalin Marinas catalin.marinas at arm.com
Thu Jun 8 00:07:16 PDT 2023


On Wed, Jun 07, 2023 at 04:11:46PM +0200, Lorenzo Pieralisi wrote:
> [+Catalin, Will]
> 
> On Tue, Jun 06, 2023 at 10:35:31AM +0100, Sudeep Holla wrote:
> > Move all of the ARM-specific initialization into one function namely
> > acpi_arm_init(), so it is not necessary to modify/update bus.c every
> > time a new piece of it is added.
> > 
> > Cc: Lorenzo Pieralisi <lpieralisi at kernel.org>
> > Cc: Rafael J. Wysocki <rafael at kernel.org>
> > Suggested-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
> > Reviewed-by: Robin Murphy <robin.murphy at arm.com>
> > Reviewed-by: Hanjun Guo <guohanjun at huawei.com>
> > Link: https://lore.kernel.org/r/CAJZ5v0iBZRZmV_oU+VurqxnVMbFN_ttqrL=cLh0sUH+=u0PYsw@mail.gmail.com
> > Signed-off-by: Sudeep Holla <sudeep.holla at arm.com>
> > ---
> >  drivers/acpi/arm64/Makefile |  2 +-
> >  drivers/acpi/arm64/agdi.c   |  2 +-
> >  drivers/acpi/arm64/apmt.c   |  2 +-
> >  drivers/acpi/arm64/init.c   | 13 +++++++++++++
> >  drivers/acpi/arm64/init.h   |  6 ++++++
> >  drivers/acpi/arm64/iort.c   |  1 +
> >  drivers/acpi/bus.c          |  7 +------
> >  include/linux/acpi.h        |  6 ++++++
> >  include/linux/acpi_agdi.h   | 13 -------------
> >  include/linux/acpi_apmt.h   | 19 -------------------
> >  include/linux/acpi_iort.h   |  2 --
> >  11 files changed, 30 insertions(+), 43 deletions(-)
> >  create mode 100644 drivers/acpi/arm64/init.c
> >  create mode 100644 drivers/acpi/arm64/init.h
> >  delete mode 100644 include/linux/acpi_agdi.h
> >  delete mode 100644 include/linux/acpi_apmt.h
> 
> Hi Catalin/Will,
> 
> this patch has got all tags required and it is best to send
> arm64 ACPI changes upstream through the arm64 tree for
> consistency, can you pick it up for v6.5 please ?

Happy to pick it up. Thanks Lorenzo.

-- 
Catalin



More information about the linux-arm-kernel mailing list