Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1276010 > unrolled thread

[PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not constrained on haswell

Started byYuanfang Chen <cyfmxc@gmail.com>
First post2015-11-24 02:50 +0100
Last post2015-11-24 11:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not  constrained on haswell Yuanfang Chen <cyfmxc@gmail.com> - 2015-11-24 02:50 +0100
    Re: [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not  constrained on haswell Peter Zijlstra <peterz@infradead.org> - 2015-11-24 11:10 +0100

#1276010 — [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not constrained on haswell

FromYuanfang Chen <cyfmxc@gmail.com>
Date2015-11-24 02:50 +0100
Subject[PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not constrained on haswell
Message-ID<qyaU1-1pk-5@gated-at.bofh.it>
From 47d52ccfae56a8eb702fee6ccf327780265df2cf Mon Sep 17 00:00:00 2001
From: Yuanfang Chen <cheny@udel.edu>
Date: Mon, 16 Nov 2015 21:53:53 -0500
Subject: [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not
 constrained on haswell

Signed-off-by: Yuanfang Chen <cheny@udel.edu>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
---
 arch/x86/kernel/cpu/perf_event_intel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel.c
b/arch/x86/kernel/cpu/perf_event_intel.c
index f63360b..e2a4300 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -232,7 +232,7 @@ static struct event_constraint
intel_hsw_event_constraints[] = {
  FIXED_EVENT_CONSTRAINT(0x00c0, 0), /* INST_RETIRED.ANY */
  FIXED_EVENT_CONSTRAINT(0x003c, 1), /* CPU_CLK_UNHALTED.CORE */
  FIXED_EVENT_CONSTRAINT(0x0300, 2), /* CPU_CLK_UNHALTED.REF */
- INTEL_EVENT_CONSTRAINT(0x48, 0x4), /* L1D_PEND_MISS.* */
+ INTEL_UEVENT_CONSTRAINT(0x148, 0x4),  /* L1D_PEND_MISS.PENDING */
  INTEL_UEVENT_CONSTRAINT(0x01c0, 0x2), /* INST_RETIRED.PREC_DIST */
  INTEL_EVENT_CONSTRAINT(0xcd, 0x8), /* MEM_TRANS_RETIRED.LOAD_LATENCY */
  /* CYCLE_ACTIVITY.CYCLES_L1D_PENDING */
--
1.9.1
--
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/

[toc] | [next] | [standalone]


#1276259

FromPeter Zijlstra <peterz@infradead.org>
Date2015-11-24 11:10 +0100
Message-ID<qyiHT-6J0-7@gated-at.bofh.it>
In reply to#1276010
On Mon, Nov 23, 2015 at 08:42:08PM -0500, Yuanfang Chen wrote:
> From 47d52ccfae56a8eb702fee6ccf327780265df2cf Mon Sep 17 00:00:00 2001
> From: Yuanfang Chen <cheny@udel.edu>
> Date: Mon, 16 Nov 2015 21:53:53 -0500
> Subject: [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not
>  constrained on haswell
> 
> Signed-off-by: Yuanfang Chen <cheny@udel.edu>
> Reviewed-by: Andi Kleen <ak@linux.intel.com>
> ---
>  arch/x86/kernel/cpu/perf_event_intel.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/cpu/perf_event_intel.c
> b/arch/x86/kernel/cpu/perf_event_intel.c
> index f63360b..e2a4300 100644
> --- a/arch/x86/kernel/cpu/perf_event_intel.c
> +++ b/arch/x86/kernel/cpu/perf_event_intel.c
> @@ -232,7 +232,7 @@ static struct event_constraint
> intel_hsw_event_constraints[] = {

Your patch is line-wrapped, please read Documentation/email-clients.txt
on hints on how to configure your MUA. Then try again.
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web