Re: [PATCH v3 4/6] x86/sev: Add interface to re-enable RMP optimizations.
From: Dave Hansen
Date: Wed Apr 08 2026 - 15:47:37 EST
On 4/8/26 12:32, Kalra, Ashish wrote:
> It is much more straightforward to check for both
> CC_ATTR_HOST_SEV_SNP and MSR_AMD64_SEG_RMP_ENABLED in this API
> function itself.
I kinda think it's not straightforward. That's why I'd like to see the
checks consolidated.
It's may take a wee bit of refactoring, but I think it's totally doable.