Re: [PATCH v7 16/21] KVM: x86: Advertise support for FRED

From: Xin Li

Date: Fri Mar 06 2026 - 22:01:38 EST



> On Mar 6, 2026, at 6:15 PM, Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
>> Advertise support for FRED to userspace after changes required to enable
>> FRED in a KVM guest are in place.
>
> Mostly a note to myself, if VMX and SVM land separately, we need to do the same
> thing we did for CET and explicitly clear FRED in svm_set_cpu_caps(). But ideally
> this would just be the last patch after both VMX and SVM support are in place.


This reply is to v7.

Chao, Binbin, and you *all* asked me to make the change:

https://lore.kernel.org/lkml/aRQ3ngRvif%2F0QRTC@xxxxxxxxx/


Yes, I have done it in v10.

I will post v10 after I clean up and post FRED kvm-unit-tests.