Re: [PATCH] x86/sev: Apply RMP table fixups for kexec.

From: Borislav Petkov
Date: Tue Apr 02 2024 - 13:46:50 EST


On Tue, Apr 02, 2024 at 12:11:03PM -0500, Kalra, Ashish wrote:
> > And if you mean the reservation in the kernel page tables (directmap)
> > then that will not help as kexec uses it's own identity mapped page
> > tables.

So how hard would it be to *always* reserve the chunk of memory at the
2M boundary where the RMP table starts and up to the 2M boundary where
the RMP table ends?

In *every* kernel.

By default.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette