Displaying 3 results from an estimated 3 matches for "pte_pfn_mask".
Did you mean:
psh_pfn_mask
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)
2012 Feb 20
2
[PATCH] Disable PAT support when running under Xen (v1).
...WARN_ON(!pat_enabled);
pteval = (pteval & ~_PAGE_PAT) | _PAGE_PWT;
}
-
+#endif
if (xen_initial_domain() && (pteval & _PAGE_IOMAP))
return pteval;
@@ -463,7 +463,7 @@ void xen_set_pat(u64 pat)
static pte_t xen_make_pte(pteval_t pte)
{
phys_addr_t addr = (pte & PTE_PFN_MASK);
-
+#if 0
/* If Linux is trying to set a WC pte, then map to the Xen WC.
* If _PAGE_PAT is set, then it probably means it is really
* _PAGE_PSE, so avoid fiddling with the PAT mapping and hope
@@ -476,7 +476,7 @@ static pte_t xen_make_pte(pteval_t pte)
if ((pte & (_PAGE_PCD | _PAGE_...
2008 Nov 13
69
[PATCH 00 of 38] xen: add more Xen dom0 support
Hi Ingo,
Here''s the chunk of patches to add Xen Dom0 support (it''s probably
worth creating a new xen/dom0 topic branch for it).
A dom0 Xen domain is basically the same as a normal domU domain, but
it has extra privileges to directly access hardware. There are two
issues to deal with:
- translating to and from the domain''s pseudo-physical addresses and
real machine