linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the scmi tree with the arm-soc tree
@ 2023-08-15  0:37 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2023-08-15  0:37 UTC (permalink / raw)
  To: Sudeep Holla, Olof Johansson, Arnd Bergmann
  Cc: ARM, Cristian Marussi, Linux Kernel Mailing List,
	Linux Next Mailing List, Sibi Sankar

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

Hi all,

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

  drivers/firmware/arm_scmi/perf.c

between commit:

  31c7c1397a33 ("firmware: arm_scmi: Add v3.2 perf level indexing mode support")

from the arm-soc tree and commit:

  3453de1ec6e4 ("firmware: arm_scmi: Fixup perf power-cost/microwatt support")

from the scmi 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/firmware/arm_scmi/perf.c
index c0cd556fbaae,b887d57aa446..000000000000
--- a/drivers/firmware/arm_scmi/perf.c
+++ b/drivers/firmware/arm_scmi/perf.c
@@@ -1092,20 -833,13 +1094,18 @@@ static int scmi_perf_protocol_init(cons
  	for (domain = 0; domain < pinfo->num_domains; domain++) {
  		struct perf_dom_info *dom = pinfo->dom_info + domain;
  
 -		scmi_perf_domain_attributes_get(ph, domain, dom, version);
 -		scmi_perf_describe_levels_get(ph, domain, dom);
 +		dom->id = domain;
 +		scmi_perf_domain_attributes_get(ph, dom, version);
 +		scmi_perf_describe_levels_get(ph, dom, version);
  
  		if (dom->perf_fastchannels)
 -			scmi_perf_domain_init_fc(ph, domain, &dom->fc_info);
 +			scmi_perf_domain_init_fc(ph, dom->id, &dom->fc_info);
  	}
  
 +	ret = devm_add_action_or_reset(ph->dev, scmi_perf_xa_destroy, pinfo);
 +	if (ret)
 +		return ret;
 +
- 	pinfo->version = version;
- 
  	return ph->set_priv(ph, pinfo);
  }
  

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-15  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15  0:37 linux-next: manual merge of the scmi tree with the arm-soc tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).