All of lore.kernel.org
 help / color / mirror / Atom feed
* Broadwell perf support
@ 2014-08-25 22:43 Andi Kleen
  2014-08-25 22:43 ` [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Andi Kleen @ 2014-08-25 22:43 UTC (permalink / raw)
  To: peterz; +Cc: linux-kernel, mingo, eranian

Updated version of the perf Broadwell patchkit. This also has some fixes
for Haswell.

This addresses all earlier feedback. Too low user specified periods
on INST_RETIRED.ALL are now rejected with an error. The Haswell
models are documented. The event matches use the perf macros.

-Andi


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf
@ 2014-09-02 18:44 Andi Kleen
  2014-09-18 22:42 ` Peter Zijlstra
  0 siblings, 1 reply; 22+ messages in thread
From: Andi Kleen @ 2014-09-02 18:44 UTC (permalink / raw)
  To: peterz; +Cc: linux-kernel, mingo, eranian, tglx, Andi Kleen

From: Andi Kleen <ak@linux.intel.com>

71 is a Broadwell, not a Haswell. The model number was added
by mistake earlier.

Remove it for now, until it can be re-added later with
real Broadwell support.

In practice it does not cause a lot of issues because the Broadwell
PMU is very similar to Haswell, but some details were wrong,
and it's better to handle it correctly.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 arch/x86/kernel/cpu/perf_event_intel.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 89bc750..f962e26 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -2544,7 +2544,6 @@ __init int intel_pmu_init(void)
 	case 63:
 	case 69:
 	case 70:
-	case 71:
 		x86_pmu.late_ack = true;
 		memcpy(hw_cache_event_ids, snb_hw_cache_event_ids, sizeof(hw_cache_event_ids));
 		memcpy(hw_cache_extra_regs, snb_hw_cache_extra_regs, sizeof(hw_cache_extra_regs));
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* perf, x86: Updated Broadwell patchkit
@ 2014-08-27 21:03 Andi Kleen
  2014-08-27 21:03 ` [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen
  0 siblings, 1 reply; 22+ messages in thread
From: Andi Kleen @ 2014-08-27 21:03 UTC (permalink / raw)
  To: peterz; +Cc: linux-kernel, mingo, eranian, tglx

Only minor changes to the last version. The Broadwell model number
patch now has a more expansive change log and does not 
reorder case statements anymore.

Some minor updates to commit logs.


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Updated Broadwell perf patchkit
@ 2014-08-14  1:17 Andi Kleen
  2014-08-14  1:17 ` [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen
  0 siblings, 1 reply; 22+ messages in thread
From: Andi Kleen @ 2014-08-14  1:17 UTC (permalink / raw)
  To: peterz; +Cc: linux-kernel, mingo, eranian

Addressed the earlier review feedback. Also changed Haswell to use
the Broadwell cache event list, which is far more correct for it
than Sandy Bridge's.

-Andi


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-11-04 13:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-25 22:43 Broadwell perf support Andi Kleen
2014-08-25 22:43 ` [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen
2014-08-26 21:27   ` Thomas Gleixner
2014-08-26 21:29     ` Andi Kleen
2014-08-26 22:29       ` Thomas Gleixner
2014-08-27  9:53         ` Thomas Gleixner
2014-08-27 16:37           ` Andi Kleen
2014-08-27 18:50             ` Thomas Gleixner
2014-08-25 22:43 ` [PATCH 2/5] perf, x86: Document all Haswell models Andi Kleen
2014-09-01 13:50   ` Peter Zijlstra
2014-08-25 22:43 ` [PATCH 3/5] perf, x86: Add Broadwell core support Andi Kleen
2014-09-01 13:51   ` Peter Zijlstra
2014-11-04 13:14     ` Stephane Eranian
2014-11-04 13:20       ` Peter Zijlstra
2014-08-25 22:43 ` [PATCH 4/5] perf, x86: Add INST_RETIRED.ALL workarounds Andi Kleen
2014-09-01 13:41   ` Peter Zijlstra
2014-08-25 22:43 ` [PATCH 5/5] perf, x86: Use Broadwell cache event list for Haswell Andi Kleen
2014-09-01 13:52   ` Peter Zijlstra
  -- strict thread matches above, loose matches on Subject: below --
2014-09-02 18:44 [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen
2014-09-18 22:42 ` Peter Zijlstra
2014-08-27 21:03 perf, x86: Updated Broadwell patchkit Andi Kleen
2014-08-27 21:03 ` [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen
2014-08-14  1:17 Updated Broadwell perf patchkit Andi Kleen
2014-08-14  1:17 ` [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.