diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 16:24:06 -0400 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 16:24:06 -0400 |
commit | 67ba37293e938208795d6a3562201bdb0cf43393 (patch) | |
tree | 3522e949ff19f3809583bfb3fa3973ddf264689d /arch/x86/xen | |
parent | cd07202cc8262e1669edff0d97715f3dd9260917 (diff) | |
parent | 5bba6c56dc99ff88f79a79572e29ecf445710878 (diff) |
Merge commit 'konrad/stable/xen-pcifront-0.8.2' into 2.6.36-rc8-initial-domain-v6
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 3 | ||||
-rw-r--r-- | arch/x86/xen/pci-swiotlb-xen.c | 4 | ||||
-rw-r--r-- | arch/x86/xen/setup.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 7d46c8441418..1ccfa1bf0f89 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <asm/paravirt.h> | 45 | #include <asm/paravirt.h> |
46 | #include <asm/apic.h> | 46 | #include <asm/apic.h> |
47 | #include <asm/page.h> | 47 | #include <asm/page.h> |
48 | #include <asm/xen/pci.h> | ||
48 | #include <asm/xen/hypercall.h> | 49 | #include <asm/xen/hypercall.h> |
49 | #include <asm/xen/hypervisor.h> | 50 | #include <asm/xen/hypervisor.h> |
50 | #include <asm/fixmap.h> | 51 | #include <asm/fixmap.h> |
@@ -1220,6 +1221,8 @@ asmlinkage void __init xen_start_kernel(void) | |||
1220 | add_preferred_console("xenboot", 0, NULL); | 1221 | add_preferred_console("xenboot", 0, NULL); |
1221 | add_preferred_console("tty", 0, NULL); | 1222 | add_preferred_console("tty", 0, NULL); |
1222 | add_preferred_console("hvc", 0, NULL); | 1223 | add_preferred_console("hvc", 0, NULL); |
1224 | if (pci_xen) | ||
1225 | x86_init.pci.arch_init = pci_xen_init; | ||
1223 | } else { | 1226 | } else { |
1224 | /* Make sure ACS will be enabled */ | 1227 | /* Make sure ACS will be enabled */ |
1225 | pci_request_acs(); | 1228 | pci_request_acs(); |
diff --git a/arch/x86/xen/pci-swiotlb-xen.c b/arch/x86/xen/pci-swiotlb-xen.c index a013ec9d0c54..be4d80a6fae9 100644 --- a/arch/x86/xen/pci-swiotlb-xen.c +++ b/arch/x86/xen/pci-swiotlb-xen.c | |||
@@ -1,6 +1,7 @@ | |||
1 | /* Glue code to lib/swiotlb-xen.c */ | 1 | /* Glue code to lib/swiotlb-xen.c */ |
2 | 2 | ||
3 | #include <linux/dma-mapping.h> | 3 | #include <linux/dma-mapping.h> |
4 | #include <linux/pci.h> | ||
4 | #include <xen/swiotlb-xen.h> | 5 | #include <xen/swiotlb-xen.h> |
5 | 6 | ||
6 | #include <asm/xen/hypervisor.h> | 7 | #include <asm/xen/hypervisor.h> |
@@ -54,5 +55,8 @@ void __init pci_xen_swiotlb_init(void) | |||
54 | if (xen_swiotlb) { | 55 | if (xen_swiotlb) { |
55 | xen_swiotlb_init(1); | 56 | xen_swiotlb_init(1); |
56 | dma_ops = &xen_swiotlb_dma_ops; | 57 | dma_ops = &xen_swiotlb_dma_ops; |
58 | |||
59 | /* Make sure ACS will be enabled */ | ||
60 | pci_request_acs(); | ||
57 | } | 61 | } |
58 | } | 62 | } |
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 328b00305426..c413132702f7 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
@@ -260,7 +260,5 @@ void __init xen_arch_setup(void) | |||
260 | 260 | ||
261 | pm_idle = xen_idle; | 261 | pm_idle = xen_idle; |
262 | 262 | ||
263 | paravirt_disable_iospace(); | ||
264 | |||
265 | fiddle_vdso(); | 263 | fiddle_vdso(); |
266 | } | 264 | } |