From: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
To: xen-devel@lists.xen.org
Cc: Jan Beulich <JBeulich@suse.com>
Subject: Re: [PATCH] oprofile: Add X7542 and E7-8837 to the list of supported cpus
Date: Tue, 27 Nov 2012 15:13:17 +0100 [thread overview]
Message-ID: <1568155.vSrY4pmdPT@amur> (raw)
In-Reply-To: <50B4C87402000078000ABA9F@nat28.tlf.novell.com>
Am Dienstag 27 November 2012, 13:04:36 schrieb Jan Beulich:
> >>> On 26.11.12 at 13:52, Dietmar Hahn <dietmar.hahn@ts.fujitsu.com> wrote:
> > Add intel cpus X7542 and E7-8837 to the list of supported cpus.
> >
> > Thanks.
> > Dietmar.
> >
> > Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
> >
> > 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
prev parent reply other threads:[~2012-11-27 14:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 12:52 [PATCH] oprofile: Add X7542 and E7-8837 to the list of supported cpus Dietmar Hahn
2012-11-26 13:39 ` Jan Beulich
2012-11-26 14:21 ` Dietmar Hahn
2012-11-27 13:04 ` Jan Beulich
2012-11-27 13:19 ` Jan Beulich
2012-11-27 14:21 ` Dietmar Hahn
2012-11-27 15:46 ` Jan Beulich
2012-12-04 14:36 ` Dietmar Hahn
2012-11-27 14:13 ` Dietmar Hahn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1568155.vSrY4pmdPT@amur \
--to=dietmar.hahn@ts.fujitsu.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.