aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/amd_iommu_init.c2
-rw-r--r--arch/x86/xen/enlighten.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c
index b4b61d462dcc..e60530a5f524 100644
--- a/arch/x86/kernel/amd_iommu_init.c
+++ b/arch/x86/kernel/amd_iommu_init.c
@@ -1330,6 +1330,8 @@ void __init amd_iommu_detect(void)
1330 gart_iommu_aperture_disabled = 1; 1330 gart_iommu_aperture_disabled = 1;
1331 gart_iommu_aperture = 0; 1331 gart_iommu_aperture = 0;
1332#endif 1332#endif
1333 /* Make sure ACS will be enabled */
1334 pci_request_acs();
1333 } 1335 }
1334} 1336}
1335 1337
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 5bccd706232c..e2511bccbc8d 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -27,6 +27,7 @@
27#include <linux/page-flags.h> 27#include <linux/page-flags.h>
28#include <linux/highmem.h> 28#include <linux/highmem.h>
29#include <linux/console.h> 29#include <linux/console.h>
30#include <linux/pci.h>
30 31
31#include <xen/xen.h> 32#include <xen/xen.h>
32#include <xen/interface/xen.h> 33#include <xen/interface/xen.h>
@@ -1170,7 +1171,11 @@ asmlinkage void __init xen_start_kernel(void)
1170 add_preferred_console("xenboot", 0, NULL); 1171 add_preferred_console("xenboot", 0, NULL);
1171 add_preferred_console("tty", 0, NULL); 1172 add_preferred_console("tty", 0, NULL);
1172 add_preferred_console("hvc", 0, NULL); 1173 add_preferred_console("hvc", 0, NULL);
1174 } else {
1175 /* Make sure ACS will be enabled */
1176 pci_request_acs();
1173 } 1177 }
1178
1174 1179
1175 xen_raw_console_write("about to get started...\n"); 1180 xen_raw_console_write("about to get started...\n");
1176 1181