]> xenbits.xensource.com Git - people/ssmith/netchannel2-pvops.git/commit
xen/mtrr: Add mtrr_if support for Xen mtrr
authorStephen Tweedie <sct@redhat.com>
Thu, 18 Jun 2009 23:54:24 +0000 (16:54 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 19 Jun 2009 19:13:13 +0000 (12:13 -0700)
commitdfb51cda090433be1d301a09255d986344124e86
treeec0cda374b92d48fdfc6c72a10145bbdac53ebab
parent969436d3a83d52a6e9198e072898173b2b9d0576
xen/mtrr: Add mtrr_if support for Xen mtrr

Add a Xen mtrr type, and reorganise mtrr initialisation slightly to
allow the mtrr driver to set up num_var_ranges (Xen needs to do this by
querying the hypervisor itself.)

Only the boot path is handled for now: we set up a xen-specific mtrr_if
and set up the mtrr tables based on hypervisor information, but we don't
yet handle mtrr entry add/delete.

[ Impact: add basic MTRR support (enough to get started) ]

Signed-off-by: Stephen Tweedie <sct@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/kernel/cpu/mtrr/Makefile
arch/x86/kernel/cpu/mtrr/main.c
arch/x86/kernel/cpu/mtrr/mtrr.h
arch/x86/kernel/cpu/mtrr/xen.c [new file with mode: 0644]