]> xenbits.xensource.com Git - people/iwj/xen.git/commit
amd iommu: use base platform MSI implementation
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Sep 2012 12:17:26 +0000 (14:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Sep 2012 12:17:26 +0000 (14:17 +0200)
commit15aa6c67486cc12cd30be05b441f413013912659
treefcde6c4c5516d8c142ae39f8095830892a4e04d0
parent3e71234b6a0587c370c6573c5efa6fcbf13a6877
amd iommu: use base platform MSI implementation

Given that here, other than for VT-d, the MSI interface gets surfaced
through a normal PCI device, the code should use as much as possible of
the "normal" MSI support code.

Further, the code can (and should) follow the "normal" MSI code in
distinguishing the maskable and non-maskable cases at the IRQ
controller level rather than checking the respective flag in the
individual actors.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Wang <wei.wang2@amd.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/msi.c
xen/arch/x86/setup.c
xen/drivers/passthrough/amd/iommu_detect.c
xen/drivers/passthrough/amd/iommu_init.c
xen/include/asm-x86/amd-iommu.h
xen/include/asm-x86/msi.h