Re: [PATCH 0/2] KVM: SVM: Aggressively clear vmcb02 clean bits
From: Jim Mattson
Date: Mon Oct 13 2025 - 18:31:27 EST
On Mon, Oct 13, 2025 at 2:54 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> On Mon, Sep 22, 2025, Jim Mattson wrote:
> > It is unlikely that L1 will toggle the MSR intercept bit in vmcb02,
> > or that L1 will change its own IA32_PAT MSR. However, if it does,
> > the affected fields in vmcb02 should not be marked clean.
> >
> > An alternative approach would be to implement a set of mutators for
> > vmcb02 fields, and to clear the associated clean bit whenever a field
> > is modified.
>
> Any reason not to tag these for stable@? I can't think of any meaningful
> downsides, so erring on the side of caution seems prudent.
SGTM. Do you want a new version?