Skip to content

Cleanups for ARM64 ACPI

Hanjun Guo linux-acpi linux-arm-kernel oe-kbuild-all 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM64: ACPI: Remove the leftover acpi_init_cpus()arch/arm64/include/asm/acpi.h+0 -20 replies
2/4ARM64: ACPI: Remove the leftover arm64_acpi_numa_init()arch/arm64/include/asm/acpi.h+0 -20 replies
3/4ARM64: ACPI: Make acpi_numa_get_nid() invisible to kernel/smp.carch/arm64/include/asm/acpi.h arch/arm64/kernel/acpi_numa.c arch/arm64/kernel/smp.c+7 -80 replies
4/4ARM64: ACPI: Move the NUMA code to drivers/acpi/arm64/arch/arm64/include/asm/acpi.h arch/arm64/kernel/Makefile drivers/acpi/arm64/Makefile +2 more+2 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Cleanups for ARM64 ACPI

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%)
Signature · 1 line
2.25.1