login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
15
Re: [PATCH 2.6.23] oProfile: op_model_athalon.c support for AMD Family10h (Barcelona) Performance Counters
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Robert Richter <robert.richter@...>
To: Barry Kasindorf <barry.kasindorf@...>
Cc: <linux-kernel@...>
Subject:
Re: [PATCH 2.6.23] oProfile: op_model_athalon.c support for AMD Family10h (Barcelona) Performance Counters
Date: Monday, October 15, 2007 - 1:48 pm
On 15.10.07 13:00:27, Barry Kasindorf wrote:
quoted text
> > oProfile Driver Module Patch for AMD Family10h Kernel 2.6.23 > This patch is for controlling the upper 32bits of the event ctrl msrs. > This includes the upper 4 bits of the event select and the Guest Only > and Host Only bits > This patch is necessary to make Event Based Profiling work reliably on a > Family10h processor > > --- > op_model_athlon.c | 22 ++++++++++++++++------ > 1 file changed, 16 insertions(+), 6 deletions(-) > --- > > Signed-off-by: Barry Kasindorf <barry.kasindorf@amd.com> > Signed-off-by: Robert Richter <robert.richter@amd.com> > > diff -Naur linux-2.6.23.orig/arch/i386/oprofile/op_model_athlon.c > linux-2.6.23.pmc/arch/i386/oprofile/op_model_athlon.c > --- linux-2.6.23.orig/arch/i386/oprofile/op_model_athlon.c 2007-10-09 > 16:31:38.000000000 -0400 > +++ linux-2.6.23.pmc/arch/i386/oprofile/op_model_athlon.c 2007-10-15 > 11:02:39.000000000 -0400
[]
quoted text
> @@ -70,7 +74,8 @@ > if (unlikely(!CTRL_IS_RESERVED(msrs,i))) > continue; > CTRL_READ(low, high, msrs, i); > - CTRL_CLEAR(low); > + CTRL_CLEAR_LO(low); > + CTRL_CLEAR_HI(low);
Should be probably this: CTRL_CLEAR_HI(high);
quoted text
> CTRL_WRITE(low, high, msrs, i); > } >
[] -- Advanced Micro Devices, Inc. Operating System Research Center email:
robert.richter@amd.com
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 2.6.23] oProfile: op_model_athalon.c support for AMD ...
, Barry Kasindorf
, (Mon Oct 15, 1:00 pm)
Re: [PATCH 2.6.23] oProfile: op_model_athalon.c support for ...
, Robert Richter
, (Mon Oct 15, 1:48 pm)
Re: [PATCH 2.6.23] oProfile: op_model_athalon.c support for ...
, Barry Kasindorf
, (Mon Oct 15, 2:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
David Woodhouse
[PATCH 1/3] firmware: allow firmware files to be built into kernel image
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Josip Rodin
bnx2_poll panicking kernel
Patrick McHardy
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
688 guests
online.
Syndicate