linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the tty tree with the arm-soc tree
@ 2018-03-15  6:28 Stephen Rothwell
  2018-03-15 17:34 ` Greg KH
  2018-04-06  0:38 ` Stephen Rothwell
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2018-03-15  6:28 UTC (permalink / raw)
  To: Greg KH, Olof Johansson, Arnd Bergmann, ARM
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Patrice Chotard, Rob Herring

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

Hi Greg,

Today's linux-next merge of the tty tree got conflicts in:

  arch/arm/boot/dts/stih407-b2120.dts
  arch/arm/boot/dts/stih410-b2120.dts
  arch/arm/boot/dts/stih410-b2260.dts
  arch/arm/boot/dts/stih418-b2199.dts

between commit:

  db5430663017 ("arm: dts: replace 'linux,stdout-path' with 'stdout-path'")

from the arm-soc tree and commit:

  dbb3fb45edff ("ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards")

from the tty 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 arch/arm/boot/dts/stih407-b2120.dts
index de3c8bf129b5,a7a0f76e9cbc..000000000000
--- a/arch/arm/boot/dts/stih407-b2120.dts
+++ b/arch/arm/boot/dts/stih407-b2120.dts
@@@ -14,11 -14,11 +14,11 @@@
  	compatible = "st,stih407-b2120", "st,stih407";
  
  	chosen {
- 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
+ 		bootargs = "clk_ignore_unused";
 -		linux,stdout-path = &sbc_serial0;
 +		stdout-path = &sbc_serial0;
  	};
  
 -	memory {
 +	memory@40000000 {
  		device_type = "memory";
  		reg = <0x40000000 0x80000000>;
  	};
diff --cc arch/arm/boot/dts/stih410-b2120.dts
index 0a59b7b0f4b2,6c6b4cc37e97..000000000000
--- a/arch/arm/boot/dts/stih410-b2120.dts
+++ b/arch/arm/boot/dts/stih410-b2120.dts
@@@ -14,11 -14,11 +14,11 @@@
  	compatible = "st,stih410-b2120", "st,stih410";
  
  	chosen {
- 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
+ 		bootargs = "clk_ignore_unused";
 -		linux,stdout-path = &sbc_serial0;
 +		stdout-path = &sbc_serial0;
  	};
  
 -	memory {
 +	memory@40000000 {
  		device_type = "memory";
  		reg = <0x40000000 0x80000000>;
  	};
diff --cc arch/arm/boot/dts/stih410-b2260.dts
index feb8834478fa,50d36758391c..000000000000
--- a/arch/arm/boot/dts/stih410-b2260.dts
+++ b/arch/arm/boot/dts/stih410-b2260.dts
@@@ -15,11 -15,11 +15,11 @@@
  	compatible = "st,stih410-b2260", "st,stih410";
  
  	chosen {
- 		bootargs = "console=ttyAS1,115200 clk_ignore_unused";
+ 		bootargs = "clk_ignore_unused";
 -		linux,stdout-path = &uart1;
 +		stdout-path = &uart1;
  	};
  
 -	memory {
 +	memory@40000000 {
  		device_type = "memory";
  		reg = <0x40000000 0x40000000>;
  	};
diff --cc arch/arm/boot/dts/stih418-b2199.dts
index 39b4db2e3507,7f5f3252bfc7..000000000000
--- a/arch/arm/boot/dts/stih418-b2199.dts
+++ b/arch/arm/boot/dts/stih418-b2199.dts
@@@ -14,11 -14,11 +14,11 @@@
  	compatible = "st,stih418-b2199", "st,stih418";
  
  	chosen {
- 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
+ 		bootargs = "clk_ignore_unused";
 -		linux,stdout-path = &sbc_serial0;
 +		stdout-path = &sbc_serial0;
  	};
  
 -	memory {
 +	memory@40000000 {
  		device_type = "memory";
  		reg = <0x40000000 0xc0000000>;
  	};

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

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

* Re: linux-next: manual merge of the tty tree with the arm-soc tree
  2018-03-15  6:28 linux-next: manual merge of the tty tree with the arm-soc tree Stephen Rothwell
@ 2018-03-15 17:34 ` Greg KH
  2018-04-06  0:38 ` Stephen Rothwell
  1 sibling, 0 replies; 5+ messages in thread
From: Greg KH @ 2018-03-15 17:34 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Olof Johansson, Arnd Bergmann, ARM, Linux-Next Mailing List,
	Linux Kernel Mailing List, Patrice Chotard, Rob Herring

On Thu, Mar 15, 2018 at 05:28:58PM +1100, Stephen Rothwell wrote:
> Hi Greg,
> 
> Today's linux-next merge of the tty tree got conflicts in:
> 
>   arch/arm/boot/dts/stih407-b2120.dts
>   arch/arm/boot/dts/stih410-b2120.dts
>   arch/arm/boot/dts/stih410-b2260.dts
>   arch/arm/boot/dts/stih418-b2199.dts
> 
> between commit:
> 
>   db5430663017 ("arm: dts: replace 'linux,stdout-path' with 'stdout-path'")
> 
> from the arm-soc tree and commit:
> 
>   dbb3fb45edff ("ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards")
> 
> from the tty 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 arch/arm/boot/dts/stih407-b2120.dts
> index de3c8bf129b5,a7a0f76e9cbc..000000000000
> --- a/arch/arm/boot/dts/stih407-b2120.dts
> +++ b/arch/arm/boot/dts/stih407-b2120.dts
> @@@ -14,11 -14,11 +14,11 @@@
>   	compatible = "st,stih407-b2120", "st,stih407";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &sbc_serial0;
>  +		stdout-path = &sbc_serial0;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0x80000000>;
>   	};
> diff --cc arch/arm/boot/dts/stih410-b2120.dts
> index 0a59b7b0f4b2,6c6b4cc37e97..000000000000
> --- a/arch/arm/boot/dts/stih410-b2120.dts
> +++ b/arch/arm/boot/dts/stih410-b2120.dts
> @@@ -14,11 -14,11 +14,11 @@@
>   	compatible = "st,stih410-b2120", "st,stih410";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &sbc_serial0;
>  +		stdout-path = &sbc_serial0;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0x80000000>;
>   	};
> diff --cc arch/arm/boot/dts/stih410-b2260.dts
> index feb8834478fa,50d36758391c..000000000000
> --- a/arch/arm/boot/dts/stih410-b2260.dts
> +++ b/arch/arm/boot/dts/stih410-b2260.dts
> @@@ -15,11 -15,11 +15,11 @@@
>   	compatible = "st,stih410-b2260", "st,stih410";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS1,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &uart1;
>  +		stdout-path = &uart1;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0x40000000>;
>   	};
> diff --cc arch/arm/boot/dts/stih418-b2199.dts
> index 39b4db2e3507,7f5f3252bfc7..000000000000
> --- a/arch/arm/boot/dts/stih418-b2199.dts
> +++ b/arch/arm/boot/dts/stih418-b2199.dts
> @@@ -14,11 -14,11 +14,11 @@@
>   	compatible = "st,stih418-b2199", "st,stih418";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &sbc_serial0;
>  +		stdout-path = &sbc_serial0;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0xc0000000>;
>   	};


Ugh, messy, thanks for the merge fixup.

greg k-h

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

* Re: linux-next: manual merge of the tty tree with the arm-soc tree
  2018-03-15  6:28 linux-next: manual merge of the tty tree with the arm-soc tree Stephen Rothwell
  2018-03-15 17:34 ` Greg KH
@ 2018-04-06  0:38 ` Stephen Rothwell
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2018-04-06  0:38 UTC (permalink / raw)
  To: Olof Johansson, Arnd Bergmann, ARM
  Cc: Greg KH, Linux-Next Mailing List, Linux Kernel Mailing List,
	Patrice Chotard, Rob Herring

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

Hi All,

On Thu, 15 Mar 2018 17:28:58 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the tty tree got conflicts in:
> 
>   arch/arm/boot/dts/stih407-b2120.dts
>   arch/arm/boot/dts/stih410-b2120.dts
>   arch/arm/boot/dts/stih410-b2260.dts
>   arch/arm/boot/dts/stih418-b2199.dts
> 
> between commit:
> 
>   db5430663017 ("arm: dts: replace 'linux,stdout-path' with 'stdout-path'")
> 
> from the arm-soc tree and commit:
> 
>   dbb3fb45edff ("ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards")
> 
> from the tty 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 arch/arm/boot/dts/stih407-b2120.dts
> index de3c8bf129b5,a7a0f76e9cbc..000000000000
> --- a/arch/arm/boot/dts/stih407-b2120.dts
> +++ b/arch/arm/boot/dts/stih407-b2120.dts
> @@@ -14,11 -14,11 +14,11 @@@
>   	compatible = "st,stih407-b2120", "st,stih407";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &sbc_serial0;
>  +		stdout-path = &sbc_serial0;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0x80000000>;
>   	};
> diff --cc arch/arm/boot/dts/stih410-b2120.dts
> index 0a59b7b0f4b2,6c6b4cc37e97..000000000000
> --- a/arch/arm/boot/dts/stih410-b2120.dts
> +++ b/arch/arm/boot/dts/stih410-b2120.dts
> @@@ -14,11 -14,11 +14,11 @@@
>   	compatible = "st,stih410-b2120", "st,stih410";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &sbc_serial0;
>  +		stdout-path = &sbc_serial0;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0x80000000>;
>   	};
> diff --cc arch/arm/boot/dts/stih410-b2260.dts
> index feb8834478fa,50d36758391c..000000000000
> --- a/arch/arm/boot/dts/stih410-b2260.dts
> +++ b/arch/arm/boot/dts/stih410-b2260.dts
> @@@ -15,11 -15,11 +15,11 @@@
>   	compatible = "st,stih410-b2260", "st,stih410";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS1,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &uart1;
>  +		stdout-path = &uart1;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0x40000000>;
>   	};
> diff --cc arch/arm/boot/dts/stih418-b2199.dts
> index 39b4db2e3507,7f5f3252bfc7..000000000000
> --- a/arch/arm/boot/dts/stih418-b2199.dts
> +++ b/arch/arm/boot/dts/stih418-b2199.dts
> @@@ -14,11 -14,11 +14,11 @@@
>   	compatible = "st,stih418-b2199", "st,stih418";
>   
>   	chosen {
> - 		bootargs = "console=ttyAS0,115200 clk_ignore_unused";
> + 		bootargs = "clk_ignore_unused";
>  -		linux,stdout-path = &sbc_serial0;
>  +		stdout-path = &sbc_serial0;
>   	};
>   
>  -	memory {
>  +	memory@40000000 {
>   		device_type = "memory";
>   		reg = <0x40000000 0xc0000000>;
>   	};

These are now conflicts between the arm-soc tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: manual merge of the tty tree with the arm-soc tree
  2017-06-20  3:52 Stephen Rothwell
@ 2017-07-03  1:30 ` Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2017-07-03  1:30 UTC (permalink / raw)
  To: Greg KH, Olof Johansson, Arnd Bergmann, ARM
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Alexandre Belloni

Hi all,

With the merge window opening, just a reminder that this conflict still
exists.

On Tue, 20 Jun 2017 13:52:42 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the tty tree got a conflict in:
> 
>   include/linux/platform_data/atmel.h
> 
> between commit:
> 
>   8a3d809373c6 ("ARM: at91: remove atmel_nand_data")
> 
> from the arm-soc tree and commit:
> 
>   92c8f7c0e109 ("tty/serial: atmel: make the driver DT only")
> 
> from the tty 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/platform_data/atmel.h
> index 70c5c766628e,d36bc8d17e97..000000000000
> --- a/include/linux/platform_data/atmel.h
> +++ b/include/linux/platform_data/atmel.h
> @@@ -7,8 -7,9 +7,6 @@@
>   #ifndef __ATMEL_H__
>   #define __ATMEL_H__
>   
> - #include <linux/serial.h>
>  -#include <linux/mtd/nand.h>
>  -#include <linux/mtd/partitions.h>
> --
>    /* Compact Flash */
>   struct at91_cf_data {
>   	int	irq_pin;		/* I/O IRQ */
> @@@ -21,23 -22,26 +19,14 @@@
>   #define AT91_IDE_SWAP_A0_A2	0x02
>   };
>   
> -  /* Serial */
> - struct atmel_uart_data {
> - 	int			num;		/* port num */
> - 	short			use_dma_tx;	/* use transmit DMA? */
> - 	short			use_dma_rx;	/* use receive DMA? */
> - 	void __iomem		*regs;		/* virt. base address, if any */
> - 	struct serial_rs485	rs485;		/* rs485 settings */
>  - /* NAND / SmartMedia */
>  -struct atmel_nand_data {
>  -	int		enable_pin;		/* chip enable */
>  -	int		det_pin;		/* card detect */
>  -	int		rdy_pin;		/* ready/busy */
>  -	u8		rdy_pin_active_low;	/* rdy_pin value is inverted */
>  -	u8		ale;			/* address line number connected to ALE */
>  -	u8		cle;			/* address line number connected to CLE */
>  -	u8		bus_width_16;		/* buswidth is 16 bit */
>  -	u8		ecc_mode;		/* ecc mode */
>  -	u8		on_flash_bbt;		/* bbt on flash */
>  -	struct mtd_partition *parts;
>  -	unsigned int	num_parts;
>  -	bool		has_dma;		/* support dma transfer */
>  -
>  -	/* default is false, only for at32ap7000 chip is true */
>  -	bool		need_reset_workaround;
> --};
> --
>   /* FIXME: this needs a better location, but gets stuff building again */
>  +#ifdef CONFIG_ATMEL_PM
>   extern int at91_suspend_entering_slow_clock(void);
>  +#else
>  +static inline int at91_suspend_entering_slow_clock(void)
>  +{
>  +	return 0;
>  +}
>  +#endif
>   
>   #endif /* __ATMEL_H__ */

-- 
Cheers,
Stephen Rothwell

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

* linux-next: manual merge of the tty tree with the arm-soc tree
@ 2017-06-20  3:52 Stephen Rothwell
  2017-07-03  1:30 ` Stephen Rothwell
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2017-06-20  3:52 UTC (permalink / raw)
  To: Greg KH, Olof Johansson, Arnd Bergmann, ARM
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Alexandre Belloni

Hi Greg,

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

  include/linux/platform_data/atmel.h

between commit:

  8a3d809373c6 ("ARM: at91: remove atmel_nand_data")

from the arm-soc tree and commit:

  92c8f7c0e109 ("tty/serial: atmel: make the driver DT only")

from the tty 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/platform_data/atmel.h
index 70c5c766628e,d36bc8d17e97..000000000000
--- a/include/linux/platform_data/atmel.h
+++ b/include/linux/platform_data/atmel.h
@@@ -7,8 -7,9 +7,6 @@@
  #ifndef __ATMEL_H__
  #define __ATMEL_H__
  
- #include <linux/serial.h>
 -#include <linux/mtd/nand.h>
 -#include <linux/mtd/partitions.h>
--
   /* Compact Flash */
  struct at91_cf_data {
  	int	irq_pin;		/* I/O IRQ */
@@@ -21,23 -22,26 +19,14 @@@
  #define AT91_IDE_SWAP_A0_A2	0x02
  };
  
-  /* Serial */
- struct atmel_uart_data {
- 	int			num;		/* port num */
- 	short			use_dma_tx;	/* use transmit DMA? */
- 	short			use_dma_rx;	/* use receive DMA? */
- 	void __iomem		*regs;		/* virt. base address, if any */
- 	struct serial_rs485	rs485;		/* rs485 settings */
 - /* NAND / SmartMedia */
 -struct atmel_nand_data {
 -	int		enable_pin;		/* chip enable */
 -	int		det_pin;		/* card detect */
 -	int		rdy_pin;		/* ready/busy */
 -	u8		rdy_pin_active_low;	/* rdy_pin value is inverted */
 -	u8		ale;			/* address line number connected to ALE */
 -	u8		cle;			/* address line number connected to CLE */
 -	u8		bus_width_16;		/* buswidth is 16 bit */
 -	u8		ecc_mode;		/* ecc mode */
 -	u8		on_flash_bbt;		/* bbt on flash */
 -	struct mtd_partition *parts;
 -	unsigned int	num_parts;
 -	bool		has_dma;		/* support dma transfer */
 -
 -	/* default is false, only for at32ap7000 chip is true */
 -	bool		need_reset_workaround;
--};
--
  /* FIXME: this needs a better location, but gets stuff building again */
 +#ifdef CONFIG_ATMEL_PM
  extern int at91_suspend_entering_slow_clock(void);
 +#else
 +static inline int at91_suspend_entering_slow_clock(void)
 +{
 +	return 0;
 +}
 +#endif
  
  #endif /* __ATMEL_H__ */

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

end of thread, other threads:[~2018-04-06  0:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15  6:28 linux-next: manual merge of the tty tree with the arm-soc tree Stephen Rothwell
2018-03-15 17:34 ` Greg KH
2018-04-06  0:38 ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2017-06-20  3:52 Stephen Rothwell
2017-07-03  1:30 ` 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).