|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.4-testing] mcheck: Small fix for CMCI Threshold s
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269952793 -3600
# Node ID 856fbb601c9cc1729c3edc04d3fabae97a1d71e1
# Parent 1e746b96c73368fda829f498c873df6c1d8f65ec
mcheck: Small fix for CMCI Threshold set problem.
When generating new threshold value, we must firstly clean old value
before or the new set value since the new value might be different
with the old (BIOS might pre-set some threshold).
Signed-off-by: Liping Ke <liping.ke@xxxxxxxxx>
Signed-off-by: Ying Huang <ying.huang@xxxxxxxxx>
xen-unstable changeset: 21081:af86222ddaeb
xen-unstable date: Tue Mar 30 08:32:34 2010 +0100
---
xen/arch/x86/cpu/mcheck/mce_intel.c | 2 ++
1 files changed, 2 insertions(+)
diff -r 1e746b96c733 -r 856fbb601c9c xen/arch/x86/cpu/mcheck/mce_intel.c
--- a/xen/arch/x86/cpu/mcheck/mce_intel.c Tue Mar 30 13:39:14 2010 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce_intel.c Tue Mar 30 13:39:53 2010 +0100
@@ -548,6 +548,8 @@ static int do_cmci_discover(int i)
clear_bit(i, __get_cpu_var(mce_banks_owned));
goto out;
}
+
+ val &= ~CMCI_THRESHOLD_MASK;
wrmsrl(msr, val | CMCI_EN | CMCI_THRESHOLD);
rdmsrl(msr, val);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.4-testing] mcheck: Small fix for CMCI Threshold set problem.,
Xen patchbot-3.4-testing <=
|
|
|
|
|