Xenoprofile: Disable IBS on 32 bit
PATCH 1/1 Xenoprofile: Disable IBS on 32 bit
Hi,
Extended PCI configuration space is not accessible on 32 bit systems. This patch disables IBS feature on 32 bit to avoid IBSCTL(0x1cc) accesses. Thanks,
Wei
Signed-off-by Wei Wang <[email protected]>
Signature · 11 lines
AMD GmbH, Germany Operating System Research Center Legal Information: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34 85609 Dornach b. München Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis München Registergericht München, HRB Nr. 43632
xen/arch/x86/oprofile/op_model_athlon.c +4 -0
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel