public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the kvm-arm tree with the arm-perf tree
@ 2025-03-12  9:18 Stephen Rothwell
  2025-03-12 12:45 ` Will Deacon
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2025-03-12  9:18 UTC (permalink / raw)
  To: Christoffer Dall, Marc Zyngier, Will Deacon
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, Oliver Upton,
	Rob Herring (Arm)

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

Hi all,

Today's linux-next merge of the kvm-arm tree got a conflict in:

  drivers/perf/apple_m1_cpu_pmu.c

between commit:

  c2e793da59fc ("perf: apple_m1: Don't disable counter in m1_pmu_enable_event()")

from the arm-perf tree and commit:

  75ecffc361bb ("drivers/perf: apple_m1: Refactor event select/filter configuration")

from the kvm-arm tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/perf/apple_m1_cpu_pmu.c
index 39349ecec3c1,6be703619a97..000000000000
--- a/drivers/perf/apple_m1_cpu_pmu.c
+++ b/drivers/perf/apple_m1_cpu_pmu.c
@@@ -396,7 -428,11 +428,7 @@@ static void m1_pmu_enable_event(struct 
  	user = event->hw.config_base & M1_PMU_CFG_COUNT_USER;
  	kernel = event->hw.config_base & M1_PMU_CFG_COUNT_KERNEL;
  
- 	m1_pmu_configure_counter(event->hw.idx, evt, user, kernel);
 -	m1_pmu_disable_counter_interrupt(event->hw.idx);
 -	m1_pmu_disable_counter(event->hw.idx);
 -	isb();
 -
+ 	m1_pmu_configure_counter(event->hw.idx, event->hw.config_base);
  	m1_pmu_enable_counter(event->hw.idx);
  	m1_pmu_enable_counter_interrupt(event->hw.idx);
  	isb();

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2025-03-13 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12  9:18 linux-next: manual merge of the kvm-arm tree with the arm-perf tree Stephen Rothwell
2025-03-12 12:45 ` Will Deacon
2025-03-12 17:07   ` Oliver Upton
2025-03-13 21:17     ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox