Re: [PATCH v6 1/8] x86/sev: Prepare for using the RMPREAD instruction to access the RMP

From: Borislav Petkov
Date: Tue Dec 03 2024 - 15:57:07 EST


On Tue, Dec 03, 2024 at 10:08:59AM -0600, Tom Lendacky wrote:
> The idea is to dump the actual RMP contents that exist in memory. The @e
> value only contains what the RMPREAD instruction chooses to expose.

Aha, ok.

Oh well, get_raw_rmpentry() is fast enough so we can call it again.

Thx.

--
Regards/Gruss,
Boris.

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