Re: [PATCH 2/4] KVM: x86/mmu: Fully re-evaluate MMIO caching when SPTE masks change

From: Kai Huang
Date: Tue Aug 02 2022 - 19:43:03 EST


On Tue, 2022-08-02 at 23:05 +0000, Sean Christopherson wrote:
> On Wed, Aug 03, 2022, Kai Huang wrote:
> > On Tue, 2022-08-02 at 21:15 +0000, Sean Christopherson wrote:
> > > On Tue, Aug 02, 2022, Kai Huang wrote:
> > > > But we are not checking any of those in kvm_mmu_set_mmio_spte_mask(), right? :)
> > >
> > > No, but we really should.
> >
> > I can come up a patch if you are not planning to do so?
>
> Hmm, I'll throw one together, it's simple enough (famous last words) and it'll
> need to be tested on AMD as well.

Sure.

--
Thanks,
-Kai