[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240301185618.19663-1-bp@alien8.de>
Date: Fri, 1 Mar 2024 19:56:16 +0100
From: Borislav Petkov <bp@...en8.de>
To: Baoquan He <bhe@...hat.com>
Cc: X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [RFC PATCH 0/2] x86/kexec: Revert 5level dynamic switching
From: "Borislav Petkov (AMD)" <bp@...en8.de>
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(-)
--
2.43.0
Powered by blists - more mailing lists