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] xenoprofile: Disable IBS on x86_32

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenoprofile: Disable IBS on x86_32
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Aug 2010 13:55:24 -0700
Delivery-date: Wed, 11 Aug 2010 13:55:54 -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 1281105769 -3600
# Node ID 63c8222ea2c9840942f29ba35bde9c578679091b
# Parent  a904221a56c2787b79c303812135fa7fc9e146d5
xenoprofile: Disable IBS on x86_32

Extended PCI configuration space is not accessible on 32 bit
systems. This patch disables IBS feature on 32 bit to avoid
IBSCTL(0x1cc) accesses.

Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>
---
 xen/arch/x86/oprofile/op_model_athlon.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r a904221a56c2 -r 63c8222ea2c9 xen/arch/x86/oprofile/op_model_athlon.c
--- a/xen/arch/x86/oprofile/op_model_athlon.c   Fri Aug 06 15:41:59 2010 +0100
+++ b/xen/arch/x86/oprofile/op_model_athlon.c   Fri Aug 06 15:42:49 2010 +0100
@@ -475,6 +475,9 @@ static int init_ibs_nmi(void)
 
 static u32 get_ibs_caps(void)
 {
+#ifdef CONFIG_X86_32
+       return 0;
+#else
        unsigned int max_level;
 
        if (!boot_cpu_has(X86_FEATURE_IBS))
@@ -491,6 +494,7 @@ static u32 get_ibs_caps(void)
                return IBS_CAPS_AVAIL;
 
        return ibs_caps;
+#endif
 }
 
 u32 ibs_init(void)

_______________________________________________
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] xenoprofile: Disable IBS on x86_32, Xen patchbot-unstable <=