[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240426125803.GDZiuk2-YonyodvSbi@fat_crate.local>
Date: Fri, 26 Apr 2024 14:58:03 +0200
From: Borislav Petkov <bp@...en8.de>
To: "Kalra, Ashish" <ashish.kalra@....com>
Cc: thomas.lendacky@....com, michael.roth@....com, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] x86/sev: Add callback to apply RMP table fixups
for kexec.
On Wed, Apr 24, 2024 at 06:48:08PM -0500, Kalra, Ashish wrote:
> This callback needs to be invoked as part of setup_arch() as it needs e820
> table to be setup in e820__memory_setup() before the callback is invoked and
> snp_init() is called from sme_enable() in kernel/head_64.S (startup_64),
> which is much before start_kernel() -> setup_arch() is invoked.
So?
snp_init() still runs before e820__memory_setup(). So what's stopping
you?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists