From: "Jan Beulich" <JBeulich@novell.com>
To: Keir Fraser <keir@xen.org>
Cc: Jinsong Liu <jinsong.liu@intel.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Yunhong Jiang <yunhong.jiang@intel.com>,
Donald D Dugger <donald.d.dugger@intel.com>,
Xin Li <xin.li@intel.com>, Haitao Shan <maillists.shan@gmail.com>,
Gang Wei <gang.wei@intel.com>, Martin Wilck <mwilck@arcor.de>
Subject: Re: Re: system freeze when processor.ko is loaded during boot
Date: Wed, 06 Apr 2011 10:58:59 +0100 [thread overview]
Message-ID: <4D9C5583020000780003A268@vpn.id2.novell.com> (raw)
In-Reply-To: <4D99A9F20200007800039CFB@vpn.id2.novell.com>
>>> On 04.04.11 at 11:22, "Jan Beulich" <JBeulich@novell.com> wrote:
> Haitao, while it is quite clear that with the current
> implementation we just can't use C states above C1 on CPUs
> that may halt the TSC in C2 or C3 *and* that don't allow
> writing the full TSC, this family/model based determination
> clearly isn't nice (and since it is a white list, it can't possibly be
> complete). An alternative would seem to be to probe for how
> TSC writes behave (thus at once covering eventual other
> vendors' CPUs that may have similar shortcomings). That of
> course would need to be done early, so that resetting the
> upper bits to zero wouldn't have any adverse effect. What
> do you think?
The probing itself seems to work fine. I'm confused by something
else though: synchronize_tsc_{master,slave}() execute their
loops (at boot or during hotplug) on any CPU that doesn't have
X86_FEATURE_TSC_RELIABLE, including such where TSC writes
don't really work (luckily I still haven't thrown out one that is
affected by this). What is the point of doing this synchronization
if we can happily live with it actually not working (Xen runs fine
on that box afaict)? c/s 21468:26c2922da53c is also not very
verbose about why this got (re-)added... Should the body
perhaps really only be run for X86_FEATURE_CONSTANT_TSC but
!X86_FEATURE_NONSTOP_TSC CPUs?
Jan
next prev parent reply other threads:[~2011-04-06 9:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 20:04 system freeze when processor.ko is loaded during boot Martin Wilck
2010-10-20 6:57 ` Jan Beulich
2010-11-04 14:57 ` Jiang, Yunhong
2010-11-23 23:16 ` Martin Wilck
2011-01-10 15:37 ` Liu, Jinsong
2011-01-13 21:29 ` Martin Wilck
2011-01-14 7:53 ` Liu, Jinsong
2011-03-18 3:40 ` Liu, Jinsong
2011-01-11 14:29 ` Liu, Jinsong
2011-03-28 22:31 ` Martin Wilck
2011-03-28 22:48 ` Martin Wilck
2011-03-31 11:48 ` Jan Beulich
2011-04-01 2:26 ` Liu, Jinsong
2011-03-31 6:23 ` Haitao Shan
2011-04-03 13:46 ` Martin Wilck
2011-04-04 9:22 ` Jan Beulich
2011-04-06 9:58 ` Jan Beulich [this message]
2011-04-12 13:59 ` Keir Fraser
2011-04-12 14:12 ` Jan Beulich
2011-03-31 9:52 ` Jan Beulich
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=4D9C5583020000780003A268@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=donald.d.dugger@intel.com \
--cc=gang.wei@intel.com \
--cc=jinsong.liu@intel.com \
--cc=keir@xen.org \
--cc=maillists.shan@gmail.com \
--cc=mwilck@arcor.de \
--cc=xen-devel@lists.xensource.com \
--cc=xin.li@intel.com \
--cc=yunhong.jiang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).