WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] mcheck: Small fix for CMCI Threshold s

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] mcheck: Small fix for CMCI Threshold set problem.
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 05:45:42 -0700
Delivery-date: Tue, 30 Mar 2010 05:46:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=