2022-11-28 03:04:31

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: manual merge of the rpmsg tree with the spi tree

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.

--
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,


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-12-05 17:31:40

by Mathieu Poirier

[permalink] [raw]
Subject: Re: linux-next: manual merge of the rpmsg tree with the spi tree

Hi Stephen - thanks for the legwork on this.


On Sun, 27 Nov 2022 at 19:41, Stephen Rothwell <[email protected]> wrote:
>
> 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

> 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
>
> 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,

2022-12-05 20:50:15

by Mark Brown

[permalink] [raw]
Subject: Re: linux-next: manual merge of the rpmsg tree with the spi tree

On Mon, Dec 05, 2022 at 10:24:48AM -0700, Mathieu Poirier wrote:
> On Sun, 27 Nov 2022 at 19:41, Stephen Rothwell <[email protected]> wrote:

> > 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...


Attachments:
(No filename) (455.00 B)
signature.asc (499.00 B)
Download all attachments

2022-12-05 21:53:31

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: manual merge of the rpmsg tree with the spi tree

Hi Mark,

On Mon, 5 Dec 2022 19:55:19 +0000 Mark Brown <[email protected]> wrote:
>
> On Mon, Dec 05, 2022 at 10:24:48AM -0700, Mathieu Poirier wrote:
> > On Sun, 27 Nov 2022 at 19:41, Stephen Rothwell <[email protected]> wrote:
>
> > > 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.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature