ACPI NUMA support for ARM64
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest12 patches 23 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | acpi, numa: Use pr_fmt() instead of printkdrivers/ | +7 | 0 replies | |
| 2/12 | acpi, numa: Replace ACPI_DEBUG_PRINT() with pr_debug()drivers/ | +21 | 0 replies | |
| 3/12 | acpi, numa: remove duplicate NULL checkdrivers/ | +0 | 0 replies | |
| 4/12 | acpi, numa: introduce ACPI_HAS_NUMA_ARCH_FIXUParch/ arch/ drivers/ +1 more | +9 | 2 replies | |
| 5/12 | arm64, acpi, numa: NUMA support based on SRAT and SLITarch/ arch/ arch/ +3 more | +252 | 11 replies | |
| 6/12 | acpi, numa: Enable ACPI based NUMA on ARM64drivers/ drivers/ include/ | +52 | 1 reply | |
| 7/12 | acpi, numa: move acpi_numa_slit_init() to common placearch/ arch/ drivers/ | +30 | 0 replies | |
| 8/12 | arm64, numa: rework numa_add_memblk()arch/ arch/ arch/ | +8 | 4 replies | |
| 9/12 | x86, acpi, numa: cleanup acpi_numa_processor_affinity_init()arch/ | +5 | 0 replies | |
| 10/12 | acpi, numa: move bad_srat() and srat_disabled() to common placearch/ arch/ arch/ +3 more | +14 | 0 replies | |
| 11/12 | acpi, numa: remove unneeded acpi_numa=1arch/ arch/ | +0 | 0 replies | |
| 12/12 | acpi, numa: reuse acpi_numa_memory_affinity_init()arch/ arch/ drivers/ | +57 | 5 replies |
Reviews trailers per patch
None of the 12 patches has a Reviewed-by or Acked-by.
| Patch | Robert Richter |
|---|---|
| 1/12 | |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/12] ACPI NUMA support for ARM64
From: Hanjun Guo <[email protected]>
Based on Ganapat's v9 dt based NUMA patch set [1] for ARM64, this patch set introduce the ACPI based configuration to provide NUMA information.
ACPI 5.1 already introduced NUMA support for ARM64, which can get the NUMA domain information from SRAT and SLIT table, so parse those two tables to get mappings from cpu/mem to numa node configration and system locality.
v3 updates:
- Deep investigation about the ACPI_DEBUG_PRINT() and remvoe that for acpi/numa.c (patch 2/12)
- Remove the duplicate NULL check for table print (patch 3/12)
- Introduce CONFIG_ACPI_HAS_NUMA_ARCH_FIXUP to remove duplicate dummy function for acpi_numa_arch_fixup()
- Solve the problem that the mapping from logical cpu to numa node is wrong which spotted out by Lorenzo
- cleanups for x86 and move acpi_numa_slit_init() and some other functions to common place, then reduce the duplicate of x86 and arm64 (patch 7-12/12).
- rebased on top of 4.4 and Ganapat's v9 patch set.
This patch set was tested By Ganapat on Cavium Thunder-X, it works fine.
[1]: http://lwn.net/Articles/672329/
Thanks
Hanjun
Hanjun Guo (12):
acpi, numa: Use pr_fmt() instead of printk
acpi, numa: Replace ACPI_DEBUG_PRINT() with pr_debug() acpi, numa: remove duplicate NULL check
acpi, numa: introduce ACPI_HAS_NUMA_ARCH_FIXUP
arm64, acpi, numa: NUMA support based on SRAT and SLIT acpi, numa: Enable ACPI based NUMA on ARM64
acpi, numa: move acpi_numa_slit_init() to common place arm64, numa: rework numa_add_memblk()
x86, acpi, numa: cleanup acpi_numa_processor_affinity_init() acpi, numa: move bad_srat() and srat_disabled() to common place acpi, numa: remove unneeded acpi_numa=1
acpi, numa: reuse acpi_numa_memory_affinity_init()
arch/arm64/include/asm/acpi.h | 8 ++ arch/arm64/include/asm/numa.h | 3 + arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/acpi_numa.c | 149 +++++++++++++++++++++++++++++++ arch/arm64/kernel/of_numa.c | 2 +- arch/arm64/kernel/smp.c | 3 + arch/arm64/mm/numa.c | 17 ++-- arch/ia64/Kconfig | 1 + arch/x86/include/asm/acpi.h | 1 - arch/x86/mm/numa.c | 2 +- arch/x86/mm/srat.c | 113 +---------------------- drivers/acpi/Kconfig | 5 +- drivers/acpi/numa.c | 202 +++++++++++++++++++++++++++++++----------- include/acpi/acpi_numa.h | 12 +++ include/linux/acpi.h | 22 ++++- 15 files changed, 365 insertions(+), 176 deletions(-) create mode 100644 arch/arm64/kernel/acpi_numa.c
Signature · 1 line
1.9.1