From: Robert R. <rob...@am...> - 2010-09-21 08:21:13
|
On 21.09.10 03:26:35, Jiri Olsa wrote: > This patch adds CPU type detection for dunnington processor (Family 6 / Model 29) > to be identified as core 2 family cpu type (wikipedia source). > > I tested oprofile on Intel(R) Xeon(R) CPU E7440 reporting itself as model 29, > and it runs without an issue. > > wbr, > jirka > > > Signed-off-by: Jiri Olsa <jo...@re...> Andi, found this spec: http://www.intel.com/Assets/en_US/PDF/specupdate/320336.pdf Please ack. Thanks, -Robert > --- > arch/x86/oprofile/nmi_int.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c > index 009b819..f1575c9 100644 > --- a/arch/x86/oprofile/nmi_int.c > +++ b/arch/x86/oprofile/nmi_int.c > @@ -674,6 +674,7 @@ static int __init ppro_init(char **cpu_type) > case 0x0f: > case 0x16: > case 0x17: > + case 0x1d: > *cpu_type = "i386/core_2"; > break; > case 0x1a: > -- > 1.7.1 > > -- Advanced Micro Devices, Inc. Operating System Research Center |
From: Robert R. <rob...@am...> - 2010-09-21 10:34:43
|
On 21.09.10 03:26:35, Jiri Olsa wrote: > This patch adds CPU type detection for dunnington processor (Family 6 / Model 29) > to be identified as core 2 family cpu type (wikipedia source). > > I tested oprofile on Intel(R) Xeon(R) CPU E7440 reporting itself as model 29, > and it runs without an issue. > > wbr, > jirka > > > Signed-off-by: Jiri Olsa <jo...@re...> Applied to oprofile/urgent. Thanks Jiri. Ingo, please pull for tip/perf/urgent: git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent This should be ff-only, pull request see below. Thanks, -Robert > --- > arch/x86/oprofile/nmi_int.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c > index 009b819..f1575c9 100644 > --- a/arch/x86/oprofile/nmi_int.c > +++ b/arch/x86/oprofile/nmi_int.c > @@ -674,6 +674,7 @@ static int __init ppro_init(char **cpu_type) > case 0x0f: > case 0x16: > case 0x17: > + case 0x1d: > *cpu_type = "i386/core_2"; > break; > case 0x1a: > -- > 1.7.1 > > The following changes since commit 068e35eee9ef98eb4cab55181977e24995d273be: hw breakpoints: Fix pid namespace bug (2010-09-17 04:42:59 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent Jiri Olsa (1): oprofile: Add Support for Intel CPU Family 6 / Model 29 arch/x86/oprofile/nmi_int.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Advanced Micro Devices, Inc. Operating System Research Center |
From: Arnd B. <ar...@ar...> - 2010-09-21 11:21:17
|
On Tuesday 21 September 2010, Jiri Olsa wrote: > --- a/arch/x86/oprofile/nmi_int.c > +++ b/arch/x86/oprofile/nmi_int.c > @@ -674,6 +674,7 @@ static int __init ppro_init(char **cpu_type) > case 0x0f: > case 0x16: > case 0x17: > + case 0x1d: > *cpu_type = "i386/core_2"; > break; > case 0x1a: Just curious about the other missing IDs: this now supports all Core microarchitecture CPUs, but only some Nehalem/Westmere ones. There is support for 0x1a (Bloomfield/Gainestown) and 0x2e (Beckton), but not for the much more common 0x1e (Lynnfield/Clarksfield/Jasper Forest), 0x25 (Clarkdale/Arrandale) and 0x26 (Gulftown/Westmere-EP). Shouldn't those be added as well? When you're there, it probably also wouldn't hurt to fill in the blanks of some of the older CPUs like Tolopai (0x15) and newer Atoms (0x1c). Arnd |
From: Robert R. <rob...@am...> - 2010-09-21 14:16:57
|
On 21.09.10 07:21:05, Arnd Bergmann wrote: > Just curious about the other missing IDs: this now supports all Core > microarchitecture CPUs, but only some Nehalem/Westmere ones. > > There is support for 0x1a (Bloomfield/Gainestown) and 0x2e (Beckton), but > not for the much more common 0x1e (Lynnfield/Clarksfield/Jasper Forest), > 0x25 (Clarkdale/Arrandale) and 0x26 (Gulftown/Westmere-EP). > > Shouldn't those be added as well? > > When you're there, it probably also wouldn't hurt to fill in the blanks > of some of the older CPUs like Tolopai (0x15) and newer Atoms (0x1c). Yes, would be nice to have also an update for the remaining unsupported models. Andi? Thanks, -Robert -- Advanced Micro Devices, Inc. Operating System Research Center |
From: Andi K. <an...@fi...> - 2010-09-21 14:38:17
|
> On 21.09.10 07:21:05, Arnd Bergmann wrote: >> Just curious about the other missing IDs: this now supports all Core >> microarchitecture CPUs, but only some Nehalem/Westmere ones. >> >> There is support for 0x1a (Bloomfield/Gainestown) and 0x2e (Beckton), >> but >> not for the much more common 0x1e (Lynnfield/Clarksfield/Jasper Forest), >> 0x25 (Clarkdale/Arrandale) and 0x26 (Gulftown/Westmere-EP). >> >> Shouldn't those be added as well? Westmere I still hold off because the oprofile user land doesn't have the correct event list yet. BTW I was thinking in this case to only add the model numbers to the user code and just let it handle arch_perfmon from the kernel. This should work currently fine and avoid the problem that you need to update user land and kernel in parallel for a new cpu type. >> >> When you're there, it probably also wouldn't hurt to fill in the blanks >> of some of the older CPUs like Tolopai (0x15) and newer Atoms (0x1c). > > Yes, would be nice to have also an update for the remaining > unsupported models. Andi? Yes would make sense. I'll ask around if there is a consolidated list somewhere that could be used as a base. -Andi |
From: Robert R. <rob...@am...> - 2010-09-22 07:29:57
|
On 21.09.10 10:38:04, Andi Kleen wrote: > > On 21.09.10 07:21:05, Arnd Bergmann wrote: > >> Just curious about the other missing IDs: this now supports all Core > >> microarchitecture CPUs, but only some Nehalem/Westmere ones. > >> > >> There is support for 0x1a (Bloomfield/Gainestown) and 0x2e (Beckton), > >> but > >> not for the much more common 0x1e (Lynnfield/Clarksfield/Jasper Forest), > >> 0x25 (Clarkdale/Arrandale) and 0x26 (Gulftown/Westmere-EP). I also found reports for 0x2c (Gulftown/Westmere-EP?): vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz -Robert > >> > >> Shouldn't those be added as well? > > Westmere I still hold off because the oprofile user land > doesn't have the correct event list yet. > > BTW I was thinking in this case to only add the model > numbers to the user code and just let it handle arch_perfmon > from the kernel. > > This should work currently fine and avoid the problem > that you need to update user land and kernel in parallel > for a new cpu type. > > >> > >> When you're there, it probably also wouldn't hurt to fill in the blanks > >> of some of the older CPUs like Tolopai (0x15) and newer Atoms (0x1c). > > > > Yes, would be nice to have also an update for the remaining > > unsupported models. Andi? > > Yes would make sense. I'll ask around if there is a consolidated > list somewhere that could be used as a base. > > -Andi > > -- Advanced Micro Devices, Inc. Operating System Research Center |
From: Arnd B. <ar...@ar...> - 2010-09-22 08:18:00
|
On Wednesday 22 September 2010, Robert Richter wrote: > On 21.09.10 10:38:04, Andi Kleen wrote: > > > On 21.09.10 07:21:05, Arnd Bergmann wrote: > > >> Just curious about the other missing IDs: this now supports all Core > > >> microarchitecture CPUs, but only some Nehalem/Westmere ones. > > >> > > >> There is support for 0x1a (Bloomfield/Gainestown) and 0x2e (Beckton), > > >> but > > >> not for the much more common 0x1e (Lynnfield/Clarksfield/Jasper Forest), > > >> 0x25 (Clarkdale/Arrandale) and 0x26 (Gulftown/Westmere-EP). > > I also found reports for 0x2c (Gulftown/Westmere-EP?): > > vendor_id : GenuineIntel > cpu family : 6 > model : 44 > model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz > Right, that seems to be the correct one, I must have been looking in the wrong place. Arnd |
From: Robert R. <rob...@am...> - 2010-09-27 07:40:13
|
Ingo, please pull for tip/perf/urgent: git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent Thanks, -Robert The following changes since commit 068e35eee9ef98eb4cab55181977e24995d273be: hw breakpoints: Fix pid namespace bug (2010-09-17 04:42:59 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent Jiri Olsa (1): oprofile: Add Support for Intel CPU Family 6 / Model 29 arch/x86/oprofile/nmi_int.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Advanced Micro Devices, Inc. Operating System Research Center |
From: Ingo M. <mi...@el...> - 2010-09-27 07:50:20
|
* Robert Richter <rob...@am...> wrote: > Ingo, > > please pull for tip/perf/urgent: > > git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent > > Thanks, > > -Robert > > The following changes since commit 068e35eee9ef98eb4cab55181977e24995d273be: > > hw breakpoints: Fix pid namespace bug (2010-09-17 04:42:59 +0200) > > are available in the git repository at: > git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent > > Jiri Olsa (1): > oprofile: Add Support for Intel CPU Family 6 / Model 29 > > arch/x86/oprofile/nmi_int.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Pulled, thanks Robert! Ingo |
From: Andi K. <an...@fi...> - 2010-09-21 10:33:55
|
> On 21.09.10 03:26:35, Jiri Olsa wrote: >> This patch adds CPU type detection for dunnington processor (Family 6 / >> Model 29) >> to be identified as core 2 family cpu type (wikipedia source). >> >> I tested oprofile on Intel(R) Xeon(R) CPU E7440 reporting itself as >> model 29, >> and it runs without an issue. >> >> wbr, >> jirka >> >> >> Signed-off-by: Jiri Olsa <jo...@re...> > > Andi, > > found this spec: > > http://www.intel.com/Assets/en_US/PDF/specupdate/320336.pdf > > Please ack. Acked-by: Andi Kleen <ak...@li...> Thanks, -Andi |