From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dietmar Hahn Subject: Re: [PATCH] oprofile: Add X7542 and E7-8837 to the list of supported cpus Date: Tue, 27 Nov 2012 15:13:17 +0100 Message-ID: <1568155.vSrY4pmdPT@amur> References: <1449364.BXBucXMpuY@amur> <50B4C87402000078000ABA9F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50B4C87402000078000ABA9F@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org Am Dienstag 27 November 2012, 13:04:36 schrieb Jan Beulich: > >>> On 26.11.12 at 13:52, Dietmar Hahn wrote: > > Add intel cpus X7542 and E7-8837 to the list of supported cpus. > > > > Thanks. > > Dietmar. > > > > Signed-off-by: Dietmar Hahn > > > > diff -r 0049de3827bc -r 6fb0129600cd xen/arch/x86/oprofile/nmi_int.c > > --- a/xen/arch/x86/oprofile/nmi_int.c Fri Nov 23 11:06:15 2012 +0000 > > +++ b/xen/arch/x86/oprofile/nmi_int.c Mon Nov 26 13:36:00 2012 +0100 > > @@ -366,6 +366,8 @@ static int __init ppro_init(char ** cpu_ > > ppro_has_global_ctrl = 1; > > break; > > case 26: > > + case 46: > > + case 47: > > arch_perfmon_setup_counters(); > > *cpu_type = "i386/core_i7"; > > ppro_has_global_ctrl = 1; > > Actually, and apart from the patch being white space damaged, > after a closer look I think this is wrong - these newer CPUs > shouldn't get be handled here, but instead should be covered by > arch_perfmon_init(). Are you observing X86_FEATURE_ARCH_PERFMON > not getting set on these CPUs by init_intel()? Yes you are right. I wasn't aware of this! Dietmar. > > Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > -- Company details: http://ts.fujitsu.com/imprint.html