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-unstable] x86 amd: Fix after MSR cleanup

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86 amd: Fix after MSR cleanup
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Jun 2010 00:15:10 -0700
Delivery-date: Wed, 16 Jun 2010 00:15:23 -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 1276271962 -3600
# Node ID 7706fb5cd87c0ff949c03e172f6aebf5a2a3fbb5
# Parent  9f49e979459661bbefadfd466192fe344b71f133
x86 amd: Fix after MSR cleanup

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 xen/arch/x86/cpu/amd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 9f49e9794596 -r 7706fb5cd87c xen/arch/x86/cpu/amd.c
--- a/xen/arch/x86/cpu/amd.c    Fri Jun 11 15:22:12 2010 +0100
+++ b/xen/arch/x86/cpu/amd.c    Fri Jun 11 16:59:22 2010 +0100
@@ -243,8 +243,8 @@ static void disable_c1e(void *unused)
         * but we safely catch the #GP in that case.
         */
        if ((rdmsr_safe(MSR_K8_ENABLE_C1E, msr_content) == 0) &&
-           (msr_content & (3u << 27)) &&
-           (wrmsr_safe(MSR_K8_ENABLE_C1E, msr_content & ~(3u << 27)) != 0))
+           (msr_content & (3ULL << 27)) &&
+           (wrmsr_safe(MSR_K8_ENABLE_C1E, msr_content & ~(3ULL << 27)) != 0))
                printk(KERN_ERR "Failed to disable C1E on CPU#%u 
(%16"PRIx64")\n",
                       smp_processor_id(), msr_content);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86 amd: Fix after MSR cleanup, Xen patchbot-unstable <=