On Wed, Jul 9, 2025 at 11:44 AM Neeraj Upadhyay <Neeraj.Upadhyay@xxxxxxx> wrote: > > Add update_vector() callback to set/clear ALLOWED_IRR field in > a vCPU's APIC backing page for vectors which are emulated by the > hypervisor. > > The ALLOWED_IRR field indicates the interrupt vectors which the > guest allows the hypervisor to inject (typically for emulated devices). > Interrupt vectors used exclusively by the guest itself and the vectors > which are not emulated by the hypervisor, such as IPI vectors, should > not be set by the guest in the ALLOWED_IRR fields. > > As clearing/setting state of a vector will also be used in subsequent > commits for other APIC regs (such as APIC_IRR update for sending IPI), > add a common update_vector() in Secure AVIC driver. > > Co-developed-by: Kishon Vijay Abraham I <kvijayab@xxxxxxx> > Signed-off-by: Kishon Vijay Abraham I <kvijayab@xxxxxxx> > Signed-off-by: Neeraj Upadhyay <Neeraj.Upadhyay@xxxxxxx> > --- > Changes since v7: > - No change. Reviewed-by: Tianyu Lan <tiala@xxxxxxxxxxxxx> -- Thanks Tianyu Lan