All of lore.kernel.org
 help / color / mirror / Atom feed
* mce_wrmsr() and (at least) HVM guests
@ 2009-12-01 11:19 Jan Beulich
  2009-12-02  6:18 ` James (song wei)
  2009-12-22 13:02 ` Jan Beulich
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Beulich @ 2009-12-01 11:19 UTC (permalink / raw)
  To: Liping Ke, Yunhong Jiang; +Cc: xen-devel

With mce_wrmsr() not permitting to write other than all zeroes or all ones
to MCG_CTL and MCn_CTL, it is not possible for guests to implement
workarounds (see the one in mce_cpu_quirks() which has been present in
Linux versions for a very long time). While one could expect PV guests to
be aware of that (and avoid the workaround), HVM guests clearly can't
be expected to. Thus the question is whether the handling should be
made a little more permissive.

Initially I had thought of just making Xen check whether the bit(s) in
question are also off in the physical MSR, but that would imply that
Xen always has implemented at least all of the workarounds any guest
may know of. I'm not sure I have a good other idea, short of allowing
all writes to succeed.

Jan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-04  9:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 11:19 mce_wrmsr() and (at least) HVM guests Jan Beulich
2009-12-02  6:18 ` James (song wei)
2009-12-22 13:02 ` Jan Beulich
2009-12-23  3:22   ` Jiang, Yunhong
2010-01-04  8:09     ` Jan Beulich
2010-01-04  8:31       ` Jiang, Yunhong
2010-01-04  9:08         ` Jan Beulich

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.