From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 09:17:34 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F027D28A; Thu, 18 Oct 2012 09:17:34 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from work.netasq.com (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id 79BE38FC17; Thu, 18 Oct 2012 09:17:33 +0000 (UTC) Received: from [10.2.1.1] (unknown [10.2.1.1]) by work.netasq.com (Postfix) with ESMTPSA id 7F4DD2705545; Thu, 18 Oct 2012 11:17:27 +0200 (CEST) Subject: Re: [CFT]hwpmc update for sandybridge-e Mime-Version: 1.0 (Apple Message framework v1283) From: Fabien Thomas In-Reply-To: Date: Thu, 18 Oct 2012 11:17:27 +0200 Message-Id: <1894C6A5-2479-4D1B-9A68-1DC6818759F0@netasq.com> References: <1349390777.5234.9.camel@powernoodle.corp.yahoo.com> To: hiren panchasara X-Mailer: Apple Mail (2.1283) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Davide Italiano , freebsd-current , Jim Harris X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 09:17:35 -0000 Le 18 oct. 2012 =E0 03:07, hiren panchasara a =E9crit : > + Sean - who got dropped from the chain somehow.=20 >=20 > On Wed, Oct 17, 2012 at 6:01 PM, Jim Harris = wrote: > On Wed, Oct 17, 2012 at 5:55 PM, hiren panchasara > wrote: > > > > > > On Wed, Oct 17, 2012 at 5:12 PM, hiren panchasara > > wrote: > >> > >> > >> > >> On Wed, Oct 17, 2012 at 5:00 PM, Jim Harris = wrote: > >>> > >>> On Wed, Oct 17, 2012 at 3:57 PM, hiren panchasara > >>> wrote: > >>> > > >>> > >>> > > >>> > > >>> > Thanks for the pointers Jim! > >>> > > >>> > It seems that everything works now with: > >>> > > >>> > http://www.strugglingcoder.info/patches/hwpmc_sbx_3.txt > > > > > > I've also made following change in existing sandybridge (not xeon = :-) ) > > mappings. > > Let me know if that looks reasonable. > > > > > > @@ -2772,7 +2777,7 @@ > > __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_NONE", > > IAP_EVENT_D2H_08H) \ > > __PMC_EV_ALIAS("MEM_LOAD_UOPS_LLC_HIT_RETIRED.LLC_MISS", > > IAP_EVENT_D4H_02H) \ > > __PMC_EV_ALIAS("L2_TRANS.DEMAND_DATA_RD", IAP_EVENT_F0H_01H) = \ > > -__PMC_EV_ALIAS("L2_TRANS.RF0", IAP_EVENT_F0H_02H) = \ > > +__PMC_EV_ALIAS("L2_TRANS.RFO", IAP_EVENT_F0H_02H) = \ > > __PMC_EV_ALIAS("L2_TRANS.CODE_RD", IAP_EVENT_F0H_04H) = \ > > __PMC_EV_ALIAS("L2_TRANS.ALL_PF", IAP_EVENT_F0H_08H) = \ > > __PMC_EV_ALIAS("L2_TRANS.L1D_WB", IAP_EVENT_F0H_10H) = \ >=20 > This is a reasonable change, but it should be part of a separate = commit. >=20 > Sure, I will separate it out. >=20 > If there are no further comments, can I ask Sean to commit on my = behalf? Can you do the man page to include both in the commit? Except that point seems good to me. Thanks! Fabien >=20 > Thanks, > Hiren=20