[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200608125424.70198-1-kirill.shutemov@linux.intel.com>
Date: Mon, 8 Jun 2020 15:54:22 +0300
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
To: Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>
Cc: Dan Williams <dan.j.williams@...el.com>,
Tony Luck <tony.luck@...el.com>, x86@...nel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: [PATCHv2 0/2] x86: Fix boot with some memory above MAXMEM
A 5-level paging capable machine can have memory above 46-bit in the
physical address space. This memory is only addressable in the 5-level
paging mode: we don't have enough virtual address space to create direct
mapping for such memory in the 4-level paging mode.
Tested with a hacked QEMU: https://gist.github.com/kiryl/d45eb54110944ff95e544972d8bdac1d
v2:
- Fix boot with KASLR enabled on such machines;
- Better error message;
Kirill A. Shutemov (2):
x86/mm: Fix boot with some memory above MAXMEM
x86/boot/KASLR: Fix boot with some memory above MAXMEM
arch/x86/boot/compressed/kaslr.c | 11 +++++++++++
arch/x86/kernel/e820.c | 24 ++++++++++++++++++++++--
2 files changed, 33 insertions(+), 2 deletions(-)
--
2.26.2
Powered by blists - more mailing lists