mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 03:29:11 +02:00
RDMSR in the trampoline code overwrites EDX but that register is used
to indicate whether 5-level paging has to be enabled and if clobbered,
leads to failure to boot on a 5-level paging machine.
Preserve EDX on the stack while we are dealing with EFER.
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cmdline.c | ||
| cpuflags.c | ||
| early_serial_console.c | ||
| eboot.c | ||
| eboot.h | ||
| efi_stub_32.S | ||
| efi_stub_64.S | ||
| efi_thunk_64.S | ||
| error.c | ||
| error.h | ||
| head_32.S | ||
| head_64.S | ||
| kaslr.c | ||
| kaslr_64.c | ||
| Makefile | ||
| mem_encrypt.S | ||
| misc.c | ||
| misc.h | ||
| mkpiggy.c | ||
| pgtable.h | ||
| pgtable_64.c | ||
| string.c | ||
| vmlinux.lds.S | ||