From: Jerone Young <jyoung5@us.ibm.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Jerone Young <jerone@gmail.com>,
xen-devel@lists.xensource.com, "Nakajima,
Jun" <jun.nakajima@intel.com>
Subject: Re: [PATCH] supporting non-NX/XD capable processors on x86_64 xenlinux
Date: Thu, 18 Aug 2005 10:39:09 -0500 [thread overview]
Message-ID: <1124379549.7723.1.camel@thinkpad> (raw)
In-Reply-To: <8cdff1e4320b05b5c89260ad99f23898@cl.cam.ac.uk>
On Thu, 2005-08-18 at 16:09 +0100, Keir Fraser wrote:
> On 18 Aug 2005, at 15:15, Nakajima, Jun wrote:
>
> >
> > One obvious reason is: xen-specific drivers are using __PAGE_KERNEL
> > (and
> > they don't exist in the native Linux). If xen_contig_memory, for
> > example, does not work, it won't boot... Fixing xen_contig_memory did
> > not fix the booting problem as long as I remember?
>
> Yeah, I see what you mean. I've just applied a patch that cleans up the
> few remaining bad spots where we weren't using pfn_pte() or
> pfn_pte_ma() constructors. I can now boot okay even with NX/XD disabled
> in Xen.
>
> By the way -- from what I've seen of this NX/XD discussion so far, it
> sounds like even if CPUID says that NX/XD is supported, and you set the
> EFER.NXE bit, the BIOS can still cause this to be ignored!
If I remember correctly (will create a patch shortly to make 100% sure).
If the option is off in the BIOS than NX bit will not show up as a CPU
feature flag. And of course once it's on in the bios then it does.
> Is this true
> and, if so, what will happen if you try to use NX/XD anyway? i.e., will
> the bit be ignored, or will its use cause a page fault?
>
> -- Keir
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
next prev parent reply other threads:[~2005-08-18 15:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-18 14:15 [PATCH] supporting non-NX/XD capable processors on x86_64 xenlinux Nakajima, Jun
2005-08-18 15:09 ` Keir Fraser
2005-08-18 15:39 ` Jerone Young [this message]
2005-08-18 16:05 ` Keir Fraser
2005-08-18 15:51 ` Andi Kleen
2005-08-18 16:05 ` Jerone Young
2005-08-18 16:18 ` Andi Kleen
2005-08-18 16:24 ` Jerone Young
-- strict thread matches above, loose matches on Subject: below --
2005-08-18 4:29 Nakajima, Jun
2005-08-18 8:48 ` Keir Fraser
2005-08-17 23:12 Nakajima, Jun
2005-08-18 0:07 ` David Hopwood
2005-08-18 0:43 ` Jerone Young
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1124379549.7723.1.camel@thinkpad \
--to=jyoung5@us.ibm.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=jerone@gmail.com \
--cc=jun.nakajima@intel.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.