From: Keir Fraser <keir@xensource.com>
To: Jan Beulich <jbeulich@novell.com>, xen-devel@lists.xensource.com
Subject: Re: early_cpu_init() and identify_cpu()
Date: Fri, 13 Jul 2007 17:26:43 +0100 [thread overview]
Message-ID: <C2BD6653.126CC%keir@xensource.com> (raw)
In-Reply-To: <4697C16D.76E4.0078.0@novell.com>
On 13/7/07 17:16, "Jan Beulich" <jbeulich@novell.com> wrote:
> Is there any reason (other than having things inherited this way from Linux)
> that
> we cannot call identify_cpu() for the boot CPU at the end of early_cpu_init()
> rather than explicitly from __start_xen()? And if not, it would seem
> reasonable
> to me to at once move the two CR4 twiddling pieces out of __start_xen, too.
>
> (I'm not asking because I want to beautify the code, but because I want the
> identify to happen earlier, namely I want to fully set up the VESA console as
> early as possible, but there I'd like to be able to set MTRRs, which in turn
> depends on identify_cpu() having executed.
Isn't it a fairly safe bet that the BIOS will have done this for us and, if
not, that the penalty is a performance loss (probably using WB or UC instead
of WC) rather than a correctness issue? And hence, if we bother to update
the MTRRs at all, then it can at least be left until later in the boot?
-- Keir
next prev parent reply other threads:[~2007-07-13 16:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 16:16 early_cpu_init() and identify_cpu() Jan Beulich
2007-07-13 16:26 ` Keir Fraser [this message]
2007-07-16 6:14 ` Jan Beulich
2007-07-16 6:25 ` Keir Fraser
2007-07-16 6:41 ` Jan Beulich
2007-07-16 6:57 ` Keir Fraser
2007-07-16 7:01 ` Keir Fraser
2007-07-16 7:31 ` Jan Beulich
2007-07-16 7:30 ` Jan Beulich
2007-07-16 9:23 ` Alan Cox
2007-07-17 7:55 ` Keir Fraser
2007-07-17 10:00 ` Jan Beulich
2007-07-17 10:15 ` Keir Fraser
2007-07-17 10:23 ` Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2007-07-16 8:18 Jan Beulich
2007-07-17 7:50 ` Keir Fraser
2007-07-17 9:58 ` Jan Beulich
2007-07-17 10:05 ` Keir Fraser
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=C2BD6653.126CC%keir@xensource.com \
--to=keir@xensource.com \
--cc=jbeulich@novell.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.