linux-next: manual merge of the tip tree with the arm64 tree

From: Stephen Rothwell
Date: Mon Mar 09 2020 - 21:49:49 EST


Hi all,

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

include/linux/arch_topology.h

between commit:

cd0ed03a8903 ("arm64: use activity monitors for frequency invariance")

from the arm64 tree and commit:

ad58cc5cc50c ("drivers/base/arch_topology: Add infrastructure to store and update instantaneous thermal pressure")

from the tip 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 include/linux/arch_topology.h
index 1ccdddb541a7,88a115e81f27..000000000000
--- a/include/linux/arch_topology.h
+++ b/include/linux/arch_topology.h
@@@ -33,8 -33,16 +33,18 @@@ unsigned long topology_get_freq_scale(i
return per_cpu(freq_scale, cpu);
}

+bool arch_freq_counters_available(struct cpumask *cpus);
+
+ DECLARE_PER_CPU(unsigned long, thermal_pressure);
+
+ static inline unsigned long topology_get_thermal_pressure(int cpu)
+ {
+ return per_cpu(thermal_pressure, cpu);
+ }
+
+ void arch_set_thermal_pressure(struct cpumask *cpus,
+ unsigned long th_pressure);
+
struct cpu_topology {
int thread_id;
int core_id;

Attachment: pgpDZyAeGTWwk.pgp
Description: OpenPGP digital signature