Displaying 2 results from an estimated 2 matches for "xen_set_identity_and_release".
2012 Jun 15
3
[HYBRID] : mapping IO mems in the EPT
Hi guys,
During my refresh to latest linux, I noticed, direct mapping of all
non-RAM pages in xen_set_identity_and_release(). I currently don''t map
all at front, but as needed looking at the PAGE_IO bit in the pte. One
result of that is minor change to common code macro:
__set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) to
to __set_fixmap(idx, phys, PAGE_KERNEL_IO_NOCACHE)
To avoid this change, an...
2013 Jan 30
2
[PATCH] PVH: remove code to map iomem from guest
...UG();
-}
-
static void xen_set_pte_at(struct mm_struct *mm, unsigned long addr,
pte_t *ptep, pte_t pteval)
{
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 7e93ec9..6532172 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -235,20 +235,12 @@ static void __init xen_set_identity_and_release_chunk(
*identity += set_phys_range_identity(start_pfn, end_pfn);
}
-/* For PVH, the pfns [0..MAX] are mapped to mfn''s in the EPT/NPT. The mfns
- * are released as part of this 1:1 mapping hypercall back to the dom heap.
- * Also, we map the entire IO space, ie, beyond max_pfn_mapped....