[PATCH v3 0/5] SRAT/CEDT fixes and updates

From: Robert Richter
Date: Fri Apr 19 2024 - 10:04:23 EST


Some fixes and updates for SRAT/CEDT parsing code. Patches can be
applied individually and are independent.

First patch fixes a page fault during boot. It should be marked stable.

2nd patch adds diagnostic printouts for CEDT.

Patches 3 to 5 remove architectural code no longer needed.

Changelog:

v3:
* Rebased onto v6.9-rc1
* Fixing x86 build error in sparsemem.h [Dan/Alison]
* Added CEDT node info [Alison]
* Use pr_debug() for table output [Dan]
* Refactoring split in 3 patches [Dan]
* Fixed performance regression introduced [kbot]
* Fixed checkpatch issues [Dan]

Bases on v6.9-rc1.

Robert Richter (5):
x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks()
ACPI/NUMA: Print CXL Early Discovery Table (CEDT)
ACPI/NUMA: Remove architecture dependent remainings
ACPI/NUMA: Squash acpi_numa_slit_init() into acpi_parse_slit()
ACPI/NUMA: Squash acpi_numa_memory_affinity_init() into
acpi_parse_memory_affinity()

arch/x86/include/asm/sparsemem.h | 2 +-
arch/x86/mm/numa.c | 4 +-
drivers/acpi/numa/srat.c | 198 +++++++++++++++++++++++--------
include/linux/acpi.h | 5 -
4 files changed, 150 insertions(+), 59 deletions(-)


--
2.39.2