aboutsummaryrefslogtreecommitdiffstats
path: root/tools/flask/libflask
diff options
context:
space:
mode:
authorLiu, Jinsong <jinsong.liu@intel.com>2011-03-11 16:27:33 +0000
committerLiu, Jinsong <jinsong.liu@intel.com>2011-03-11 16:27:33 +0000
commit79eae2548ba9e6a250baf15b379fb9cb252d90f2 (patch)
tree52169bdf1fd75b0b33d13ee65fdd6af1ef078d6e /tools/flask/libflask
parent921bb910be7c299112b857aeef08fd280a27dd40 (diff)
downloadxen-79eae2548ba9e6a250baf15b379fb9cb252d90f2.tar.gz
xen-79eae2548ba9e6a250baf15b379fb9cb252d90f2.tar.bz2
xen-79eae2548ba9e6a250baf15b379fb9cb252d90f2.zip
x86: Fix cpu offline bug: cancel SYSIO method when play dead
Play dead is a fragile and tricky point of cpu offline logic. For how to play cpu dead, linux kernel changed several times: Very old kernel support 3 ways to play cpu dead: mwait, SYSIO, and halt, just like what cpuidle did when enter C3; Later, it cancel mwait and SYSIO support, only use halt to play dead; Latest linux 2.6.38 add mwait support when cpu dead. This patch cancel SYSIO method when cpu dead, keep same with latest kernel. SYSIO is an obsoleted method to enter deep C, with some tricky hardware behavior, and seldom supported in new platform. Xen experiment indicate that when cpu dead, SYSIO method would trigger unknown issue which would bring strange error. We now cancel SYSIO method when cpu dead, after all, correctness is more important than power save, and btw new platform use mwait. Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Diffstat (limited to 'tools/flask/libflask')
0 files changed, 0 insertions, 0 deletions