diff options
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 44ab12dc2a12..235c0f4d3861 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include <asm/paravirt.h> | 46 | #include <asm/paravirt.h> |
47 | #include <asm/apic.h> | 47 | #include <asm/apic.h> |
48 | #include <asm/page.h> | 48 | #include <asm/page.h> |
49 | #include <asm/xen/pci.h> | ||
49 | #include <asm/xen/hypercall.h> | 50 | #include <asm/xen/hypercall.h> |
50 | #include <asm/xen/hypervisor.h> | 51 | #include <asm/xen/hypervisor.h> |
51 | #include <asm/fixmap.h> | 52 | #include <asm/fixmap.h> |
@@ -59,7 +60,6 @@ | |||
59 | #include <asm/pgtable.h> | 60 | #include <asm/pgtable.h> |
60 | #include <asm/tlbflush.h> | 61 | #include <asm/tlbflush.h> |
61 | #include <asm/reboot.h> | 62 | #include <asm/reboot.h> |
62 | #include <asm/setup.h> | ||
63 | #include <asm/stackprotector.h> | 63 | #include <asm/stackprotector.h> |
64 | #include <asm/hypervisor.h> | 64 | #include <asm/hypervisor.h> |
65 | 65 | ||
@@ -237,6 +237,7 @@ static __init void xen_init_cpuid_mask(void) | |||
237 | cpuid_leaf1_edx_mask = | 237 | cpuid_leaf1_edx_mask = |
238 | ~((1 << X86_FEATURE_MCE) | /* disable MCE */ | 238 | ~((1 << X86_FEATURE_MCE) | /* disable MCE */ |
239 | (1 << X86_FEATURE_MCA) | /* disable MCA */ | 239 | (1 << X86_FEATURE_MCA) | /* disable MCA */ |
240 | (1 << X86_FEATURE_MTRR) | /* disable MTRR */ | ||
240 | (1 << X86_FEATURE_ACC)); /* thermal monitoring */ | 241 | (1 << X86_FEATURE_ACC)); /* thermal monitoring */ |
241 | 242 | ||
242 | if (!xen_initial_domain()) | 243 | if (!xen_initial_domain()) |
@@ -1016,7 +1017,7 @@ static void xen_reboot(int reason) | |||
1016 | struct sched_shutdown r = { .reason = reason }; | 1017 | struct sched_shutdown r = { .reason = reason }; |
1017 | 1018 | ||
1018 | #ifdef CONFIG_SMP | 1019 | #ifdef CONFIG_SMP |
1019 | smp_send_stop(); | 1020 | stop_other_cpus(); |
1020 | #endif | 1021 | #endif |
1021 | 1022 | ||
1022 | if (HYPERVISOR_sched_op(SCHEDOP_shutdown, &r)) | 1023 | if (HYPERVISOR_sched_op(SCHEDOP_shutdown, &r)) |
@@ -1185,6 +1186,7 @@ asmlinkage void __init xen_start_kernel(void) | |||
1185 | 1186 | ||
1186 | xen_raw_console_write("mapping kernel into physical memory\n"); | 1187 | xen_raw_console_write("mapping kernel into physical memory\n"); |
1187 | pgd = xen_setup_kernel_pagetable(pgd, xen_start_info->nr_pages); | 1188 | pgd = xen_setup_kernel_pagetable(pgd, xen_start_info->nr_pages); |
1189 | xen_ident_map_ISA(); | ||
1188 | 1190 | ||
1189 | /* Allocate and initialize top and mid mfn levels for p2m structure */ | 1191 | /* Allocate and initialize top and mid mfn levels for p2m structure */ |
1190 | xen_build_mfn_list_list(); | 1192 | xen_build_mfn_list_list(); |
@@ -1223,6 +1225,8 @@ asmlinkage void __init xen_start_kernel(void) | |||
1223 | add_preferred_console("xenboot", 0, NULL); | 1225 | add_preferred_console("xenboot", 0, NULL); |
1224 | add_preferred_console("tty", 0, NULL); | 1226 | add_preferred_console("tty", 0, NULL); |
1225 | add_preferred_console("hvc", 0, NULL); | 1227 | add_preferred_console("hvc", 0, NULL); |
1228 | if (pci_xen) | ||
1229 | x86_init.pci.arch_init = pci_xen_init; | ||
1226 | } else { | 1230 | } else { |
1227 | /* Make sure ACS will be enabled */ | 1231 | /* Make sure ACS will be enabled */ |
1228 | pci_request_acs(); | 1232 | pci_request_acs(); |