xen-devel
[Xen-devel] [PATCH] xen mtrr: Use generic_validate_add_page()
From: Mark McLoughlin <markmc@xxxxxxxxxx>
The hypervisor already performs the same validation, but
better to do it early before getting to the range combining
code.
Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>
---
arch/x86/kernel/cpu/mtrr/xen.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/cpu/mtrr/xen.c b/arch/x86/kernel/cpu/mtrr/xen.c
index 7a25f88..f226044 100644
--- a/arch/x86/kernel/cpu/mtrr/xen.c
+++ b/arch/x86/kernel/cpu/mtrr/xen.c
@@ -16,7 +16,7 @@ static struct mtrr_ops xen_mtrr_ops = {
// .set = xen_set_mtrr,
// .get = xen_get_mtrr,
.get_free_region = generic_get_free_region,
-// .validate_add_page = xen_validate_add_page,
+ .validate_add_page = generic_validate_add_page,
.have_wrcomb = positive_have_wrcomb,
.use_intel_if = 0,
.num_var_ranges = xen_num_var_ranges,
--
1.6.0.6
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] xen dom0: Add support for the platform_ops hypercall, (continued)
- [Xen-devel] [PATCH] xen dom0: Add support for the platform_ops hypercall, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Add mtrr_ops support for Xen mtrr, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] paravirt/xen: add pvop for page_is_ram, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen/dom0: add XEN_DOM0 config option, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen: clear reserved bits in l3 entries given in the initial pagetables, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen/dom0: use _PAGE_IOMAP in ioremap to do machine mappings, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen/dom0: Use host E820 map, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Kill some unneccessary includes, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Use specific cpu_has_foo macros instead of generic cpu_has(), Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen: implement XENMEM_machphys_mapping, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Use generic_validate_add_page(),
Jeremy Fitzhardinge <=
- [Xen-devel] [PATCH] xen mtrr: Implement xen_get_free_region(), Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen mtrr: Add xen_{get, set}_mtrr() implementations, Jeremy Fitzhardinge
- [Xen-devel] [PATCH] xen: allow enable use of VGA console on dom0, Jeremy Fitzhardinge
- Re: [Xen-devel] [PATCH] xen: core dom0 support, Boris Derzhavets
- Message not available
|
|
|