Re: [PATCH Part2 v6 06/49] x86/sev: Add helper functions for RMPUPDATE and PSMASH instruction
From: Borislav Petkov
Date: Tue Aug 02 2022 - 10:15:05 EST
On Mon, Aug 01, 2022 at 11:32:21PM +0000, Kalra, Ashish wrote:
> But we can't use this struct on a core/platform which has a different
> layout, so aren't the model checks required ?
That would be a problem only if the already specified fields move or get
resized.
If their offset and size don't change, you're good.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette