aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/setup.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-09-14 14:17:26 +0200
committerJan Beulich <jbeulich@suse.com>2012-09-14 14:17:26 +0200
commit15aa6c67486cc12cd30be05b441f413013912659 (patch)
treefcde6c4c5516d8c142ae39f8095830892a4e04d0 /xen/arch/x86/setup.c
parent3e71234b6a0587c370c6573c5efa6fcbf13a6877 (diff)
downloadxen-15aa6c67486cc12cd30be05b441f413013912659.tar.gz
xen-15aa6c67486cc12cd30be05b441f413013912659.tar.bz2
xen-15aa6c67486cc12cd30be05b441f413013912659.zip
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>
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r--xen/arch/x86/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index d5d480d60f..64b16897a0 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -33,6 +33,7 @@
#include <asm/processor.h>
#include <asm/mpspec.h>
#include <asm/apic.h>
+#include <asm/msi.h>
#include <asm/desc.h>
#include <asm/paging.h>
#include <asm/e820.h>
@@ -1199,6 +1200,8 @@ void __init __start_xen(unsigned long mbi_p)
acpi_mmcfg_init();
+ early_msi_init();
+
iommu_setup(); /* setup iommu if available */
smp_prepare_cpus(max_cpus);