Skip to contentSkip to conversation

x86/mm changes for v6.7

GIT PULL Merged Ingo Molnar 2 participants 2 messages Oct 28, 2023 – Oct 31, 2023

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86/mm git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-2023-10-28

# HEAD: a1e2b8b36820d8c91275f207e77e91645b7c6836 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size

x86 MM handling code changes for v6.7:

- Add new NX-stack self-test
- Improve NUMA partial-CFMWS handling
- Fix #VC handler bugs resulting in SEV-SNP boot failures
- Drop the 4MB memory size restriction on minimal NUMA nodes
- Reorganize headers a bit, in preparation to header dependency reduction efforts
- Misc cleanups & fixes

Thanks,

Ingo

------------------>
Adam Dunlap (2):
x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
x86/sev-es: Set x86_virt_bits to the correct value straight away, instead of a two-phase approach

Alexander Shishkin (2):
x86/sev: Move sev_setup_arch() to mem_encrypt.c x86/sev: Drop unneeded #include

Alexey Dobriyan (1):
selftests/x86/mm: Add new test that userspace stack is in fact NX

Alison Schofield (2):
x86/numa: Introduce numa_fill_memblks()
ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window

Binbin Wu (1):
selftests/x86/lam: Zero out buffer for readlink()

Dave Hansen (1):
x86/boot: Move x86_cache_alignment initialization to correct spot

GUO Zihua (1):

      x86/sev: Make boot_ghcb_page[] static

Hugh Dickins (1):
x86_64: Show CR4.PSE on auxiliaries like on BSP

Ingo Molnar (1):
x86/mm: Move arch_memory_failure() and arch_is_platform_page() definitions from <asm/processor.h> to <asm/pgtable.h>

Jianlin Li (2):
x86/sev/docs: Update document URL in amd-memory-encryption.rst x86/iommu/docs: Update AMD IOMMU specification document URL

Justin Stitt (1):
x86/tdx: Replace deprecated strncpy() with strtomem_pad()

Mike Rapoport (IBM) (1):
x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size

 Documentation/arch/x86/amd-memory-encryption.rst |   2 +-
 Documentation/arch/x86/iommu.rst                 |   2 +-
 arch/x86/boot/compressed/sev.c                   |   2 +-
 arch/x86/coco/tdx/tdx.c                          |   2 +-
 arch/x86/include/asm/mem_encrypt.h               |   4 +-
 arch/x86/include/asm/numa.h                      |   7 -
 arch/x86/include/asm/pgtable.h                   |   8 +
 arch/x86/include/asm/processor.h                 |   8 -
 arch/x86/include/asm/sparsemem.h                 |   2 +
 arch/x86/kernel/cpu/common.c                     |  40 +++--
 arch/x86/kernel/head_64.S                        |   4 +-
 arch/x86/kernel/setup.c                          |   2 +-
 arch/x86/mm/maccess.c                            |  19 +-
 arch/x86/mm/mem_encrypt.c                        |  34 ++++
 arch/x86/mm/mem_encrypt_amd.c                    |  36 ----
 arch/x86/mm/numa.c                               |  87 +++++++++-
 drivers/acpi/numa/srat.c                         |  11 +-
 include/linux/numa.h                             |   7 +
 tools/testing/selftests/x86/Makefile             |   4 +
 tools/testing/selftests/x86/lam.c                |   6 +-
 tools/testing/selftests/x86/nx_stack.c           | 212 +++++++++++++++++++++++
 21 files changed, 404 insertions(+), 95 deletions(-)
 create mode 100644 tools/testing/selftests/x86/nx_stack.c