Skip to content
  • Peter Xu's avatar
    x86: intel-iommu: add IR MSI test · 7f2477c2
    Peter Xu authored
    
    
    First of all, vtd_setup_msi() is provided. It setup IRTE entries,
    meanwhile, setup PCI device MSI vectors corresponding to VT-d spec.
    
    Meanwhile, IR MSI test is added to intel IOMMU unit test. The basic IR
    test is carried out by a edu INTR raise request. When write to the intr
    raise register, interrupt will be generated. Type of interrupt will
    depend on the setup (either INTx or MSI).
    
    Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    7f2477c2