aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/sys_string.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-04-02 10:47:26 +0200
committerJan Beulich <jbeulich@suse.com>2013-04-02 10:47:26 +0200
commit2daa977e4e08b94459b6bfe62cf2c8a381df0903 (patch)
tree5d1000638563e96ef93a2a3c9287f29b2bdcbb9f /tools/lib/sys_string.h
parent5c2eb456b376a4a3a6bf9477a5d6577628b68300 (diff)
downloadxen-2daa977e4e08b94459b6bfe62cf2c8a381df0903.tar.gz
xen-2daa977e4e08b94459b6bfe62cf2c8a381df0903.tar.bz2
xen-2daa977e4e08b94459b6bfe62cf2c8a381df0903.zip
x86/MCA: suppress bank clearing for certain injected events
As the bits indicating validity of the ADDR and MISC bank MSRs may be injected in a way that isn't consistent with what the underlying hardware implements (while the bank must be valid for injection to work, the auxiliary MSRs may not be implemented - and hence cause #GP upon access - if the hardware never sets the corresponding valid bits. Consequently we need to do the clearing writes only if no value was interposed for the respective MSR (which also makes sense the other way around: there's no point in clearing a hardware register when all data read came from software). Of course this all requires the injection tool to do things in a consistent way (but that had been a requirement before already). Signed-off-by: Jan Beulich <jbeulich@suse.com> Tested-by: Ren Yongjie <yongjie.ren@intel.com> Acked-by: Liu Jinsong <jinsong.liu@intel.com> master changeset: b0583c0e64cc8bb6229c95c3304fdac2051f79b3 master date: 2013-03-12 15:53:30 +0100
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions