b1c3497e60
Implement support for the HVMOP_set_evtchn_upcall_vector hypercall in order to set the per-vCPU event channel vector callback on Linux and use it in preference of HVM_PARAM_CALLBACK_IRQ. If the per-VCPU vector setup is successful on BSP, use this method for the APs. If not, fallback to the global vector-type callback. Also register callback_irq at per-vCPU event channel setup to trick toolstack to think the domain is enlightened. Suggested-by: "Roger Pau Monné" <roger.pau@citrix.com> Signed-off-by: Jane Malalane <jane.malalane@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20220729070416.23306-1-jane.malalane@citrix.com Signed-off-by: Juergen Gross <jgross@suse.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
apic.c | ||
debugfs.c | ||
debugfs.h | ||
efi.c | ||
enlighten.c | ||
enlighten_hvm.c | ||
enlighten_pv.c | ||
enlighten_pvh.c | ||
grant-table.c | ||
irq.c | ||
mmu.c | ||
mmu.h | ||
mmu_hvm.c | ||
mmu_pv.c | ||
multicalls.c | ||
multicalls.h | ||
p2m.c | ||
platform-pci-unplug.c | ||
pmu.c | ||
pmu.h | ||
setup.c | ||
smp.c | ||
smp.h | ||
smp_hvm.c | ||
smp_pv.c | ||
spinlock.c | ||
suspend.c | ||
suspend_hvm.c | ||
suspend_pv.c | ||
time.c | ||
trace.c | ||
vga.c | ||
xen-asm.S | ||
xen-head.S | ||
xen-ops.h |