Re: [PATCH 1/2] x86/sev: Clear RMPOPT when segmented RMP is disabled by firmware

From: Borislav Petkov

Date: Tue Oct 13 2026 - 19:17:34 EST


On Tue, Oct 13, 2026 at 03:44:18PM +0000, Ashish Kalra wrote:
> snp_probe_rmptable_info() only clears X86_FEATURE_RMPOPT when the platform
> does not advertise X86_FEATURE_SEGMENTED_RMP, or when the segmented RMP
> table probe fails. It misses the case where the platform advertises
> segmented RMP but the firmware has it disabled (MSR_AMD64_RMP_CFG's
> SEG_RMP_ENABLED bit is clear)

What does that mean: "the platform advertises segmented RMP"?

The CPUID bit is still set?

Or anything else?

How do you create this configuration?

Thx.

--
Regards/Gruss,
Boris.

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