|| ||Jeremy Fitzhardinge <email@example.com>|
|| ||Ingo Molnar <firstname.lastname@example.org>|
|| ||[PATCH 0 of 8] x86/xen: updated physical mapping patches,
and _PAGE_GLOBAL cleanup|
|| ||Tue, 01 Jul 2008 16:46:29 -0700|
|| ||LKML <email@example.com>, firstname.lastname@example.org,
Stephen Tweedie <email@example.com>,
Eduardo Habkost <firstname.lastname@example.org>,
Mark McLoughlin <email@example.com>, firstname.lastname@example.org|
Here's a revised series of the Xen-64 groundwork patches relating to
creating the physical memory mapping. The first few patches are the
necessary changes to make it work without triggering CPA warnings, and
the last couple are cleanups of _PAGE_GLOBAL in the _PAGE_KERNEL
flags, and could probably happily live in another topic branch
(they're not at all Xen-specific or required for Xen to work).
1 - x86_64: create global mappings in head_64.S
Create global mappings in head_64.S for consistency,
to avoid spurious CPA failures.
2-5: Map physical memory in a Xen-compatible way
These superscede "x86, 64-bit: adjust mapping of physical pagetables
to work with Xen".
6: Fold _PAGE_GLOBAL into _PAGE_KENREL mappings
This reverts patch 1, by solving the problem in a more general way.
7: Remove __PAGE_KERNEL* from 32-bit
Patch 7 makes the 32-bit kernel's __PAGE_KERNEL variables redundant,
so remove them.
8: Make CPA testing use some other pte bit
Use an unused bit to test CPA, rather than _PAGE_GLOBAL, so that
testing will still work when _PAGE_GLOBAL isn't usable.