mbox series

[SRU,focal:gcp/jammy:gcp/noble:gcp,0/1] Expose and use the end of the physical memory address space

Message ID 20240924112933.242923-1-magali.lemes@canonical.com
Headers show
Series Expose and use the end of the physical memory address space | expand

Message

Magali Lemes Sept. 24, 2024, 11:29 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2080563

[Impact]
Request from Google to backport "x86/kaslr: Expose and use the end of the
physical memory address space" to address intermittent CUDA hangs.

[Fix]
Focal: backport
Jammy: backport
Noble: clean cherry-pick

[Test]
Compile and boot tested.

[Where problems could occur]
The fix directly affects memory management in x86 systems, specifically
when KASLR is enabled.

[Other info]
#SF 00395854

Thomas Gleixner (1):
  x86/kaslr: Expose and use the end of the physical memory address space

 arch/x86/include/asm/page_64.h          |  1 +
 arch/x86/include/asm/pgtable_64_types.h |  4 ++++
 arch/x86/mm/init_64.c                   |  4 ++++
 arch/x86/mm/kaslr.c                     | 32 ++++++++++++++++++++-----
 include/linux/mm.h                      |  4 ++++
 kernel/resource.c                       |  6 ++---
 mm/memory_hotplug.c                     |  2 +-
 mm/sparse.c                             |  2 +-
 8 files changed, 43 insertions(+), 12 deletions(-)