linux/include/xen/interface
Jane Malalane b1c3497e60 x86/xen: Add support for HVMOP_set_evtchn_upcall_vector
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>
2022-08-12 11:28:21 +02:00
..
hvm x86/xen: Add support for HVMOP_set_evtchn_upcall_vector 2022-08-12 11:28:21 +02:00
io xen: sync xs_wire.h header with upstream xen 2022-05-19 14:44:05 +02:00
callback.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
elfnote.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
event_channel.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
features.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
grant_table.h xen: update grant_table.h 2022-05-19 14:21:34 +02:00
memory.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
nmi.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
physdev.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
platform.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
sched.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
vcpu.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
version.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
xen-mca.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00
xen.h xen/x86: obtain upper 32 bits of video frame buffer address for Dom0 2022-01-06 08:55:34 +01:00
xenpmu.h xen: fix wrong SPDX headers of Xen related headers 2021-11-02 07:45:44 -05:00