[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: drop setup_idle_pagetable()
commit fd0b06689555be4855b9a70c4f4995e623168e94 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Wed Jun 12 17:27:08 2013 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed Jun 12 17:27:08 2013 +0200 x86: drop setup_idle_pagetable() With vcpu->domain->arch.perdomain_l3_pg no longer getting set up for the idle domain, this creates an invalid L4 entry (due to translating a NULL struct page_info pointer to a physical address). Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> --- xen/arch/x86/setup.c | 1 - xen/arch/x86/x86_64/mm.c | 8 -------- xen/include/asm-x86/page.h | 1 - 3 files changed, 0 insertions(+), 10 deletions(-) diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 8c8b78d..a70d31b 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -185,7 +185,6 @@ static void __init init_idle_domain(void) scheduler_init(); set_current(idle_vcpu[0]); this_cpu(curr_vcpu) = current; - setup_idle_pagetable(); } void __devinit srat_detect_node(int cpu) diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c index 8cd0d30..96a033b 100644 --- a/xen/arch/x86/x86_64/mm.c +++ b/xen/arch/x86/x86_64/mm.c @@ -810,14 +810,6 @@ void __init paging_init(void) panic("Not enough memory for m2p table\n"); } -void __init setup_idle_pagetable(void) -{ - /* Install per-domain mappings for idle domain. */ - l4e_write(&idle_pg_table[l4_table_offset(PERDOMAIN_VIRT_START)], - l4e_from_page(idle_vcpu[0]->domain->arch.perdomain_l3_pg, - __PAGE_HYPERVISOR)); -} - void __init zap_low_mappings(void) { BUG_ON(num_online_cpus() != 1); diff --git a/xen/include/asm-x86/page.h b/xen/include/asm-x86/page.h index e53e1e5..998a0c7 100644 --- a/xen/include/asm-x86/page.h +++ b/xen/include/asm-x86/page.h @@ -286,7 +286,6 @@ extern l2_pgentry_t l2_identmap[4*L2_PAGETABLE_ENTRIES]; extern l1_pgentry_t l1_identmap[L1_PAGETABLE_ENTRIES], l1_fixmap[L1_PAGETABLE_ENTRIES]; void paging_init(void); -void setup_idle_pagetable(void); #endif /* !defined(__ASSEMBLY__) */ #define _PAGE_PRESENT _AC(0x001,U) -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |