Skip to content

SRAT/CEDT fixes and updates

Robert Richter linux-acpi linux-cxl lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 2 repliesIn review
  2. v67 patches 22 repliesSuperseded
  3. v57 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v47 patches6 repliesSuperseded
v35 patches15 repliesSuperseded
v23 patches10 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v7 from the cover letter

* added Reviewed-by tags
* dropped printout patches (#5 to #7)

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks()arch/x86/include/asm/sparsemem.h arch/x86/mm/numa.c drivers/acpi/numa/srat.c +1 more+8 -101 reply
2/4ACPI/NUMA: Remove architecture dependent remainingsdrivers/acpi/numa/srat.c include/linux/acpi.h+2 -190 replies
3/4ACPI/NUMA: Squash acpi_numa_slit_init() into acpi_parse_slit()drivers/acpi/numa/srat.c+9 -140 replies
4/4ACPI/NUMA: Squash acpi_numa_memory_affinity_init() into acpi_parse_memory_affinity()drivers/acpi/numa/srat.c+17 -230 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJonathan CameronAlison SchofieldDan WilliamsBorislav Petkov (AMD)
1/4R-b R-b R-b A-b
2/4R-b R-b R-b
3/4R-b R-b R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/4] SRAT/CEDT fixes and updates

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 (fix as suggested by Dan).

Patches 2 to 4 remove architectural code no longer needed.

Changelog:

v7:
* added Reviewed-by tags
* dropped printout patches (#5 to #7)

v6:
* rebased onto cxl/fixes
* fixed 0day build errors in patch #1:
https://github.com/intel-lab-lkp/linux/commits/Robert-Richter/x86-numa-Fix-SRAT-lookup-of-CFMWS-ranges-with-numa_fill_memblks/20240429-205337

v5:
* dropped: "x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks()"
* added: "ACPI/NUMA: Return memblk modification state from numa_fill_memblks()"
* conditionally print CEDT extended memblks

v4:
* updated SOB chains and desription
* added patch "x86/numa: Remove numa_fill_memblks() from sparsemem.h using __weak"
* Reordered patches to move CEDT table printout as an option at the end
* split print table patch and added: "ACPI/NUMA: Add log messages for memory ranges found in CEDT"

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]

Robert Richter (4):
x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks() 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         | 82 +++++++++++++-------------------
 include/linux/acpi.h             |  5 --
 include/linux/numa.h             |  7 +--
 5 files changed, 35 insertions(+), 65 deletions(-)

base-commit: 5d211c7090590033581175d6405ae40917ca3a06

Signature · 1 line
2.39.2