public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Cleanups for ARM64 ACPI
@ 2024-08-11  4:22 Hanjun Guo
  2024-08-11  4:23 ` [PATCH v2 1/4] ARM64: ACPI: Remove the leftover acpi_init_cpus() Hanjun Guo
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Hanjun Guo @ 2024-08-11  4:22 UTC (permalink / raw)
  To: Sudeep Holla, Lorenzo Pieralisi, Rafael J . Wysocki
  Cc: Will Deacon, Catalin Marinas, linux-acpi, linux-arm-kernel,
	Hanjun Guo

Cleanups for ARM64 ACPI, first remove some leftover functions in
asm/acpi.h, then make acpi_numa_get_nid() invisible to kernel/smp.c
for the preparation to move acpi_numa.c to drivers/acpi/arm64/.

ACPI NUMA code for ARM64 are not strictly arch specific, move them
to drivers/acpi/arm64/.

From v1:
1. Add patch "ACPI: Make acpi_numa_get_nid() invisible to
   kernel/smp.c" to do some preparation for moving acpi_numa.c
   to drivers/acpi/arm64/.
2. Fix the conflict with riscv implementation.

Compiled with ACPI enabled and disabled on ARM64, with ACPI enabled
on RISC-V.

Hanjun Guo (4):
  ARM64: ACPI: Remove the leftover acpi_init_cpus()
  ARM64: ACPI: Remove the leftover arm64_acpi_numa_init()
  ARM64: ACPI: Make acpi_numa_get_nid() invisible to kernel/smp.c
  ARM64: ACPI: Move the NUMA code to drivers/acpi/arm64/

 arch/arm64/include/asm/acpi.h                        | 12 ------------
 arch/arm64/kernel/Makefile                           |  1 -
 arch/arm64/kernel/smp.c                              |  5 -----
 drivers/acpi/arm64/Makefile                          |  1 +
 .../arm64/kernel => drivers/acpi/arm64}/acpi_numa.c  |  8 +++++++-
 include/linux/acpi.h                                 |  1 +
 6 files changed, 9 insertions(+), 19 deletions(-)
 rename {arch/arm64/kernel => drivers/acpi/arm64}/acpi_numa.c (94%)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-12  3:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-11  4:22 [PATCH v2 0/4] Cleanups for ARM64 ACPI Hanjun Guo
2024-08-11  4:23 ` [PATCH v2 1/4] ARM64: ACPI: Remove the leftover acpi_init_cpus() Hanjun Guo
2024-08-11  4:23 ` [PATCH v2 2/4] ARM64: ACPI: Remove the leftover arm64_acpi_numa_init() Hanjun Guo
2024-08-11  4:23 ` [PATCH v2 3/4] ARM64: ACPI: Make acpi_numa_get_nid() invisible to kernel/smp.c Hanjun Guo
2024-08-11  4:23 ` [PATCH v2 4/4] ARM64: ACPI: Move the NUMA code to drivers/acpi/arm64/ Hanjun Guo
2024-08-12  3:02   ` kernel test robot
2024-08-12  3:46     ` Hanjun Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox