Re: [RFC PATCH v3 01/27] x86/apic: Propagate APIC_SPIV writes to hv for Secure AVIC

From: Naveen N Rao

Date: Tue Jul 14 2026 - 05:03:48 EST


Hi Tom,

On Mon, Jul 13, 2026 at 12:38:13PM -0500, Tom Lendacky wrote:
> On 7/10/26 10:02, Naveen N Rao wrote:
> > On Thu, Jul 09, 2026 at 07:03:49PM -0700, Borislav Petkov wrote:
> >> On Wed, Jul 08, 2026 at 12:01:59PM +0530, Naveen N Rao (AMD) wrote:
> >>> From: Neeraj Upadhyay <Neeraj.Upadhyay@xxxxxxx>
> >>>
> >>> Hypervisor needs to be aware of the VAPIC's APIC_SPIV state for
> >>> LVT masking/unmasking. So, propagate the guest's APIC_SPIV
> >>> writes to the hypervisor.
> >>>
> >>> Fixes: c822f58a4fab ("x86/apic: Populate .read()/.write() callbacks of Secure AVIC driver")
> >>
> >> What is that patch actually fixing?
> >
> > Guest doesn't boot without this change.
>
> This sounds like something that should be submitted outside of this
> series, especially since this is an RFC series.

Yes, I posted these together so that it is easier to review with the KVM
implementation alongside for reference. That, and to get some feedback
about the guest changes (especially the AVIC_INCOMPLETE_IPI aspect).

I will post a separate series for the guest changes.


Thanks,
Naveen