x86: enable multi-vector MSI

Enterprise / Virtualization / Xen - Jan Beulich [suse.com] - 8 August 2013 04:12 UTC

This implies- extending the public interface to have a way to request a block of MSIs- allocating a block of contiguous pIRQ-s for the target domain (but note that the Xen IRQs allocated have no need of being contiguous)- repeating certain operations for all involved IRQs- fixing multi_msi_enable()- adjusting the mask bit accesses for maskable MSIs

d1b6d0a x86: enable multi-vector MSI
xen/arch/x86/irq.c | 206 ++++++++++++++++++++++++++++++++++--------
xen/arch/x86/msi.c | 124 +++++++++++++++++--------
xen/arch/x86/physdev.c | 56 ++++++++++--
xen/include/asm-x86/irq.h | 1 +
xen/include/asm-x86/msi.h | 2 +-
xen/include/public/physdev.h | 7 +-
6 files changed, 314 insertions(+), 82 deletions(-)

Upstream: xenbits.xen.org


  • Share