[PATCH] x86/sev: Fix position dependent variable references in startup code
Borislav Petkov
bp at alien8.de
Tue Feb 6 06:37:13 PST 2024
On Tue, Feb 06, 2024 at 02:22:25PM +0000, Ard Biesheuvel wrote:
> Ideally, any kernel that could reasonably be expected to work
> correctly in a SEV guest should get this. And IMHO, the state of SEV
> host support for any of its flavors is irrelevant there. But let's see
> how painful it gets working our way back. I think Kevin mentioned
> v5.10 but I haven't had a look yet how feasible that is.
Ok, I'll add Cc:stable and then you guys can sort it out when the stable
failed-to-apply messages come in.
> Yes - I cannot speak for Kevin outright but I'm sure that between him
> and me, we will be able to allocate the time and effort to make sure
> that those conflicts are resolved and the resolutions tested
> sufficiently. (With Kevin's help, I have been able to test these
> changes myself on our internal SEV infrastructure)
Sounds good.
> One slight complication is that the change currently relies on your
> patch to remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT, so if we
> don't want to backport that, I will have to tweak the it. Personally,
> I think it would be fine but others may feel differently.
Well, tip:x86/sev is cast in stone because the KVM folks will use it
eventually to base the KVM SNP host changes ontop so I cannot rebase.
If there's trouble backporting just holler.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
More information about the linux-arm-kernel
mailing list