public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-kernel@vger.kernel.org, eranian@google.com,
	Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH] perf, x86: Use extended offcore mask on Haswell
Date: Tue, 12 Aug 2014 07:56:26 +0200	[thread overview]
Message-ID: <20140812055626.GJ9918@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1407802290-619-1-git-send-email-andi@firstfloor.org>

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

On Mon, Aug 11, 2014 at 05:11:30PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
> 
> HSW-EP has a larger offcore mask than the client Haswell CPUs.
> It is the same mask as on Sandy/IvyBridge-EP. All of
> Haswell was using the client mask, so some bits were missing.
> 
> On the client parts some bits were also missing compared
> to Sandy/IvyBridge, in particular the bits to match on a L4
> cache hit.
> 
> The Haswell core in both client and server incarnations
> accepts the same bits (but some are nops), so we can use
> the same mask.
> 
> So use the snbep extended mask, which is a superset of the
> client and the server, for all of Haswell.
> 
> This allows specifying a number of extra offcore events, like
> for example for HSW-EP.
> 
> % perf stat -e cpu/event=0xb7,umask=0x1,offcore_rsp=0x3fffc00100,name=offcore_response_pf_l3_rfo_l3_miss_any_response/ true
> 
> which were <not supported> before.
> 
> v2: Post correct patch.
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

I seem to have this patch; so that means this is a repost right?


[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2014-08-12  5:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12  0:11 [PATCH] perf, x86: Use extended offcore mask on Haswell Andi Kleen
2014-08-12  5:45 ` Stephane Eranian
2014-08-12  5:56 ` Peter Zijlstra [this message]
2014-08-12  6:03   ` Stephane Eranian
  -- strict thread matches above, loose matches on Subject: below --
2014-07-31 21:05 Andi Kleen

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=20140812055626.GJ9918@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=ak@linux.intel.com \
    --cc=andi@firstfloor.org \
    --cc=eranian@google.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox