xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
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: Tue, 12 Apr 2011 15:12:54 +0100	[thread overview]
Message-ID: <4DA47A06020000780003B192@vpn.id2.novell.com> (raw)
In-Reply-To: <C9CA1962.2C95F%keir@xen.org>

>>> On 12.04.11 at 15:59, Keir Fraser <keir@xen.org> wrote:
> On 04/04/2011 10: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?
> 
> We should do early run-time test of this from the BSP then, on failure,
> avoid all further potential uses of write_tsc() in an appropriate way (e.g.,
> bail early in cstate_restore_tsc(), synchronize_tsc_*(), and avoid use of
> time_calibration_tsc_rendezvous()).

Okay, that matches what I have so far (just need to implement
the mechanism to suppress synchronize_tsc_*() then).

Thanks, Jan

  reply	other threads:[~2011-04-12 14:12 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
2011-04-12 13:59             ` Keir Fraser
2011-04-12 14:12               ` Jan Beulich [this message]
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=4DA47A06020000780003B192@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).