Skip to content

RFC x86/kexec: Revert 5level dynamic switching

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "x86/kexec/64: Prevent kexec from 5-level paging to a 4-level only kernel"arch/x86/kernel/kexec-bzimage64.c+0 -55 replies
2/2Revert "x86/boot: Add xloadflags bits to check for 5-level paging support"arch/x86/boot/header.S arch/x86/include/uapi/asm/bootparam.h+1 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] x86/kexec: Revert 5level dynamic switching

From: "Borislav Petkov (AMD)" <[email protected]>

Hi,

I think this is silly - both 1st and second, the-kexec'ed kernel would either have CONFIG_X86_5LEVEL enabled or not - why would this be different.

And this'll become even more the case in the future.

So remove this silly stuff.

Unless there's a valid use case, which I'm willing to hear. Those commit messages don't say anything about it.

Thx.

Borislav Petkov (AMD) (2):
Revert "x86/kexec/64: Prevent kexec from 5-level paging to a 4-level
only kernel"
Revert "x86/boot: Add xloadflags bits to check for 5-level paging
support"

 arch/x86/boot/header.S                | 12 +-----------
 arch/x86/include/uapi/asm/bootparam.h |  2 --
 arch/x86/kernel/kexec-bzimage64.c     |  5 -----
 3 files changed, 1 insertion(+), 18 deletions(-)
Signature · 1 line
2.43.0