From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 01:07:06 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 E9035CB3; Thu, 18 Oct 2012 01:07:06 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9668FC0A; Thu, 18 Oct 2012 01:07:06 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so3730735bkc.13 for ; Wed, 17 Oct 2012 18:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iK9WbHr11BkvtsWbutb+wYgEXC96mZC9TrmeFciO078=; b=dJ1ptCUCWihCIGxpaD+5gbmygo//Q3763EDWUQW6SB4IDW8+fePjK1p1Dt8WOGlF7S XcfO9FH+Zr0H3pd4WbKN3gHvrpkNbkQZCbMU8z8EvIkELYieu4suuEi+75ZdGUyBSgu1 8pOV5E1vLO0EJBKiQ1yG6s/38s8Gfw+kCmS8Y5CO7paMIgNquhvl2eo+kHAdoeJh9bwY YAO2ZwVMZIqeZJNEtaPwPpgEkwTklYFxxPXOnVgSxgQEXvsHScYLeFTWRzyfrGM9DzBX lo20u3pgPnBxVkATapTRBOx5dZofXAodk1+FPlPb5LzQ3ZNwSXiYaKRDPtHWBz7Az0CW kVQQ== MIME-Version: 1.0 Received: by 10.204.130.152 with SMTP id t24mr5662662bks.138.1350522425226; Wed, 17 Oct 2012 18:07:05 -0700 (PDT) Received: by 10.205.36.136 with HTTP; Wed, 17 Oct 2012 18:07:05 -0700 (PDT) In-Reply-To: References: <1349390777.5234.9.camel@powernoodle.corp.yahoo.com> Date: Wed, 17 Oct 2012 18:07:05 -0700 Message-ID: Subject: Re: [CFT]hwpmc update for sandybridge-e From: hiren panchasara To: Jim Harris Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Davide Italiano , freebsd-current , Fabien Thomas 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 01:07:07 -0000 + Sean - who got dropped from the chain somehow. 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) > \ > > This is a reasonable change, but it should be part of a separate commit. > Sure, I will separate it out. If there are no further comments, can I ask Sean to commit on my behalf? Thanks, Hiren