Skip to contentSkip to conversation

linux-next: manual merge of the rpmsg tree with the spi tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Nov 28, 2022 – Dec 5, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

include/linux/firmware/xlnx-zynqmp.h

between commit:

1e400cb9cff2 ("firmware: xilinx: Add qspi firmware interface")

from the spi tree and commit:

b2bd0a8c3ab1 ("firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.")

from the rpmsg 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.

Signature · 19 lines
Cheers,
Stephen Rothwell

diff --cc include/linux/firmware/xlnx-zynqmp.h
index fac37680ffe7,cf92e739fa3b..000000000000
--- a/include/linux/firmware/xlnx-zynqmp.h
+++ b/include/linux/firmware/xlnx-zynqmp.h
@@@ -135,7 -138,10 +138,11 @@@ enum pm_ret_status 
  };
  
  enum pm_ioctl_id {
+ 	IOCTL_GET_RPU_OPER_MODE = 0,
+ 	IOCTL_SET_RPU_OPER_MODE = 1,
+ 	IOCTL_RPU_BOOT_ADDR_CONFIG = 2,
+ 	IOCTL_TCM_COMB_CONFIG = 3,
 +	IOCTL_SET_TAPDELAY_BYPASS = 4,
  	IOCTL_SD_DLL_RESET = 6,
  	IOCTL_SET_SD_TAPDELAY = 7,
  	IOCTL_SET_PLL_FRAC_MODE = 8,
#1 lore raw

Hi Stephen - thanks for the legwork on this.

Quoted 11 lines · Stephen Rothwell

Hi all,

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

include/linux/firmware/xlnx-zynqmp.h

between commit:

1e400cb9cff2 ("firmware: xilinx: Add qspi firmware interface")

Mark - since this is in the SPI tree, can you send me a pull request for this commit? I will do the refactoring on my side.

Thanks,
Mathieu

Quoted 33 lines

from the spi tree and commit:

b2bd0a8c3ab1 ("firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.")

from the rpmsg 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

include/linux/firmware/xlnx-zynqmp.h +4 -0
diff --cc include/linux/firmware/xlnx-zynqmp.h
index fac37680ffe7,cf92e739fa3b..000000000000
@@@ -135,7 -138,10 +138,11 @@@ enum pm_ret_status
  };
 
  enum pm_ioctl_id {
+       IOCTL_GET_RPU_OPER_MODE = 0,
+       IOCTL_SET_RPU_OPER_MODE = 1,
+       IOCTL_RPU_BOOT_ADDR_CONFIG = 2,
+       IOCTL_TCM_COMB_CONFIG = 3,
 +      IOCTL_SET_TAPDELAY_BYPASS = 4,
        IOCTL_SD_DLL_RESET = 6,
        IOCTL_SET_SD_TAPDELAY = 7,
        IOCTL_SET_PLL_FRAC_MODE = 8,
maintainer
#2 lore raw
Quoted 6 lines · Mathieu Poirier
Quoted 1 line · Stephen Rothwell

1e400cb9cff2 ("firmware: xilinx: Add qspi firmware interface")

Mark - since this is in the SPI tree, can you send me a pull request for this commit? I will do the refactoring on my side.

That would basically be the entire SPI tree up to that point since it's all mostly on one branch...

#3 lore raw

Hi Mark,

Quoted 11 lines · On Mon, 5 Dec 2022 19:55:19 +0000 Mark Brown <[email protected]> wrote:
Quoted 6 lines · Mathieu Poirier
Quoted 1 line · Stephen Rothwell

1e400cb9cff2 ("firmware: xilinx: Add qspi firmware interface")

Mark - since this is in the SPI tree, can you send me a pull request for this commit? I will do the refactoring on my side.

That would basically be the entire SPI tree up to that point since it's all mostly on one branch...

Both sides just need to mention it to Linus when you send your pull requests - it is not a problematic conflict.

Signature · 2 lines
Cheers,
Stephen Rothwell