xen: remap GSIs as pirqs when running as initial domain
Implement xen_register_gsi to setup the correct triggering and polarity properties of a gsi. Implement xen_register_pirq to register a particular gsi as pirq and receive interrupts as events. Call xen_setup_pirqs to register all the legacy ISA irqs as pirqs. Signed-off-by:Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by:
Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Showing
- arch/x86/include/asm/xen/pci.h 7 additions, 0 deletionsarch/x86/include/asm/xen/pci.h
- arch/x86/pci/xen.c 135 additions, 0 deletionsarch/x86/pci/xen.c
- drivers/xen/events.c 13 additions, 0 deletionsdrivers/xen/events.c
- include/xen/interface/physdev.h 10 additions, 0 deletionsinclude/xen/interface/physdev.h
Loading
Please register or sign in to comment