x86: 5-level related changes into decompression code
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest4 patches 27 repliesIn review
- v84 patches 2 repliesSuperseded
- v74 patches 2 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 posting 2/2 | 4 patches | 3 replies | Superseded | |
| v6 posting 1/2 | 4 patches | 6 replies | Superseded | |
| v5 | 3 patches | 1 reply | Superseded | |
| v4 | 4 patches | 8 replies | Superseded | |
| v3 | 5 patches | 4 replies | Superseded | |
| v2 | 4 patches | 18 replies | Superseded | |
| v1 | 4 patches | 11 replies | Superseded |
Changes in v9 from the cover letter
- Patch 3 now saves and restores lowmem used for trampoline.
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86/boot/compressed/64: Rename pagetable.c to kaslr_64.carch/ arch/ | +1 | 0 replies | |
| 2/4 | x86/boot/compressed/64: Introduce paging_prepare()arch/ arch/ | +31 | 0 replies | |
| 3/4 | x86/boot/compressed/64: Prepare trampoline memoryarch/ arch/ arch/ | +120 | 14 replies | |
| 4/4 | x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4Garch/ | +89 | 12 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Kirill A. Shutemov | Andrei Vagin |
|---|---|---|
| 1/4 | ||
| 2/4 | ||
| 3/4 | ||
| 4/4 | Debugged-by T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv9 0/4] x86: 5-level related changes into decompression code
These patcheset is a preparation for boot-time switching between paging modes. Please apply.
The first patch is pure cosmetic change: it gives file with KASLR helpers a proper name.
The last three patches bring support of booting into 5-level paging mode if a bootloader put the kernel above 4G.
Patch 2/4 Renames l5_paging_required() into paging_prepare() and change interface of the function.
Patch 3/4 Handles allocation of space for trampoline and gets it prepared. Patch 4/4 Gets trampoline used.
v9:
- Patch 3 now saves and restores lowmem used for trampoline.
There was report the patch causes issue on a machine. I suspect it's BIOS issue that doesn't report proper bounds of usable lowmem.
Restoring memory back to oringinal state makes problem go away.
v8:
- Support switching from 5- to 4-level paging.
v7:
- Fix booting when 5-level paging is enabled before handing off boot to the kernel, like in kexec() case.
Kirill A. Shutemov (4):
x86/boot/compressed/64: Rename pagetable.c to kaslr_64.c x86/boot/compressed/64: Introduce paging_prepare() x86/boot/compressed/64: Prepare trampoline memory x86/boot/compressed/64: Handle 5-level paging boot if kernel is above
4G
arch/x86/boot/compressed/Makefile | 2 +-
arch/x86/boot/compressed/head_64.S | 178 ++++++++++++++-------
.../boot/compressed/{pagetable.c => kaslr_64.c} | 0
arch/x86/boot/compressed/pgtable.h | 18 +++
arch/x86/boot/compressed/pgtable_64.c | 100 ++++++++++--
5 files changed, 232 insertions(+), 66 deletions(-)
rename arch/x86/boot/compressed/{pagetable.c => kaslr_64.c} (100%)
create mode 100644 arch/x86/boot/compressed/pgtable.hSignature · 7 lines
2.15.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>