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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] mcheck: Small fix for CMCI Threshold set

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] mcheck: Small fix for CMCI Threshold set problem.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 03:20:20 -0700
Delivery-date: Tue, 30 Mar 2010 03:20:36 -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 1269934354 -3600
# Node ID af86222ddaeb157c4149afcb228078ec9908d963
# Parent  4715e8e7eca6a741d171bf26d880d72c3a0878e8
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/arch/x86/cpu/mcheck/mce_intel.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 4715e8e7eca6 -r af86222ddaeb xen/arch/x86/cpu/mcheck/mce_intel.c
--- a/xen/arch/x86/cpu/mcheck/mce_intel.c       Tue Mar 30 08:31:52 2010 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce_intel.c       Tue Mar 30 08:32:34 2010 +0100
@@ -824,6 +824,8 @@ static int do_cmci_discover(int i)
         clear_bit(i, __get_cpu_var(mce_banks_owned));
         goto out;
     wrmsrl(msr, val | CMCI_EN | CMCI_THRESHOLD);
     rdmsrl(msr, val);

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] mcheck: Small fix for CMCI Threshold set problem., Xen patchbot-unstable <=