diff options
author | Juergen Gross <jgross@suse.com> | 2014-11-03 08:02:04 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-16 05:04:26 -0500 |
commit | 47591df505129c9774af6cca2debf283a6e56ed7 (patch) | |
tree | 732a1cc5d82116a77dc58a8e00f1799bc7645c2a /arch/x86/xen/xen-ops.h | |
parent | bd809af16e3ab1f8d55b3e2928c47c67e2a865d2 (diff) |
xen: Support Xen pv-domains using PAT
With the dynamical mapping between cache modes and pgprot values it is
now possible to use all cache modes via the Xen hypervisor PAT settings
in a pv domain.
All to be done is to read the PAT configuration MSR and set up the
translation tables accordingly.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stefan.bader@canonical.com
Cc: xen-devel@lists.xensource.com
Cc: ville.syrjala@linux.intel.com
Cc: jbeulich@suse.com
Cc: toshi.kani@hp.com
Cc: plagnioj@jcrosoft.com
Cc: tomi.valkeinen@ti.com
Cc: bhelgaas@google.com
Link: http://lkml.kernel.org/r/1415019724-4317-19-git-send-email-jgross@suse.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 28c7e0be56e4..4ab9298c5e17 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h | |||
@@ -33,7 +33,6 @@ extern unsigned long xen_max_p2m_pfn; | |||
33 | 33 | ||
34 | void xen_mm_pin_all(void); | 34 | void xen_mm_pin_all(void); |
35 | void xen_mm_unpin_all(void); | 35 | void xen_mm_unpin_all(void); |
36 | void xen_set_pat(u64); | ||
37 | 36 | ||
38 | char * __init xen_memory_setup(void); | 37 | char * __init xen_memory_setup(void); |
39 | char * xen_auto_xlated_memory_setup(void); | 38 | char * xen_auto_xlated_memory_setup(void); |