]> git.baikalelectronics.ru Git - kernel.git/commit
xen: deal with virtually mapped percpu data
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 27 Feb 2009 17:19:26 +0000 (09:19 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 11:58:19 +0000 (12:58 +0100)
commit6972d24f64d7d49b8639d68244b3a6b584e603a8
tree3f2c190e24540898aed0f2dc330b29062602b67f
parenta6caef16314c23c2fcdd455be9358f4e4db58b1e
xen: deal with virtually mapped percpu data

The virtually mapped percpu space causes us two problems:

 - for hypercalls which take an mfn, we need to do a full pagetable
   walk to convert the percpu va into an mfn, and

 - when a hypercall requires a page to be mapped RO via all its aliases,
   we need to make sure its RO in both the percpu mapping and in the
   linear mapping

This primarily affects the gdt and the vcpu info structure.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/xen/page.h
arch/x86/xen/enlighten.c
arch/x86/xen/mmu.c
arch/x86/xen/smp.c