Messages in this thread | | | Date | Fri, 20 Jun 2008 14:59:24 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/2] xen: don't drop NX bit |
| |
* Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> When converting the pfn/mfn in a pagetable entry, make sure we mask > out the protection flags properly. Formerly, this code was losing the > NX bit, and not dealing with extra Xen-defined software flags in ptes. > > Because NX is now enforced properly, we must put the hypercall page > into the .text segment so that it is executable.
applied all three fix patches to tip/x86/xen, thanks Jeremy.
i have also cherry-picked them into x86/urgent, to push v2.6.26-wards if they passes testing. The commits are [in that order]:
# x86/urgent: 4653938: xen: Use wmb instead of rmb in xen_evtchn_do_upcall(). # x86/urgent: 05345b0: xen: mask unwanted pte bits in __supported_pte_mask # x86/urgent: ebb9cfe: xen: don't drop NX bit
Ingo
| |