Commit e4c995f9 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge tag 'perf_urgent_for_v6.13_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 perf fixes from Borislav Petkov:

 - Make sure the PEBS buffer is drained before reconfiguring the
   hardware

 - Add Arrow Lake U support

* tag 'perf_urgent_for_v6.13_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFG
  perf/x86/intel: Add Arrow Lake U support
parents df9e2102 9f3de72a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7135,6 +7135,7 @@ __init int intel_pmu_init(void)

	case INTEL_METEORLAKE:
	case INTEL_METEORLAKE_L:
	case INTEL_ARROWLAKE_U:
		intel_pmu_init_hybrid(hybrid_big_small);

		x86_pmu.pebs_latency_data = cmt_latency_data;
+1 −1
Original line number Diff line number Diff line
@@ -1489,7 +1489,7 @@ void intel_pmu_pebs_enable(struct perf_event *event)
			 * hence we need to drain when changing said
			 * size.
			 */
			intel_pmu_drain_large_pebs(cpuc);
			intel_pmu_drain_pebs_buffer();
			adaptive_pebs_record_size_update();
			wrmsrl(MSR_PEBS_DATA_CFG, pebs_data_cfg);
			cpuc->active_pebs_data_cfg = pebs_data_cfg;