linux-next: manual merge of the arm-soc tree with the arm tree
Hi all,
Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/Kconfig.debug between commits 0889a9e35bd3 ("ARM: 8142/1:
ks8695: Migrate debug_ll macros to shared directory"), e38c399ca584 ("ARM: 8144/2: netx: Migrate DEBUG_LL macros to shared directory"), 6741cacfa3f1 ("ARM: 8145/1: sa1100: Migrate DEBUG_LL macros to shared directory") and debf843bf7ee ("ARM: 8146/1: Seperate DEBUG_UART_PHYS from DEBUG_LL on EP93XX") from the arm tree and commits d8a00916b303 ("ARM: meson: debug: add debug UART for earlyprintk support"), b125170a39ea ("CNS3xxx: Fix debug UART") and b51312bebfa4 ("ARM:
BCM63XX: add low-level UART debug support") from the arm-soc tree.
I fixed it up (hopefully - see below) and can carry the fix as necessary (no action is required).
You may be able to clean some of this up by using intermediate config symbols that are selected by the low level symbols and depended upon by the higher level config symbols.
Signature · 115 lines
Cheers, Stephen Rothwell sfr at canb.auug.org.au diff --cc arch/arm/Kconfig.debug index 4fcff7737dd1,0d714e10f0a2..000000000000 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@@ -348,13 -365,13 +365,20 @@@ choic Say Y here if you want the debug print routines to direct their output to UART1 serial port on KEYSTONE2 devices. + config DEBUG_KS8695_UART + bool "KS8695 Debug UART" + depends on ARCH_KS8695 + help + Say Y here if you want kernel low-level debugging support + on KS8695. + + config DEBUG_MESON_UARTAO + bool "Kernel low-level debugging via Meson6 UARTAO" + depends on ARCH_MESON + help + Say Y here if you want kernel low-lever debugging support + on Amlogic Meson6 based platforms on the UARTAO. + config DEBUG_MMP_UART2 bool "Kernel low-level debugging message via MMP UART2" depends on ARCH_MMP @@@ -1136,9 -1091,12 +1170,13 @@@ config DEBUG_UART_825 ARCH_IOP33X || ARCH_IXP4XX || \ ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC + # Compatibility options for BCM63xx + config DEBUG_UART_BCM63XX + def_bool ARCH_BCM_63XX + config DEBUG_UART_PHYS hex "Physical base address of debug UART" + default 0x00100a00 if DEBUG_NETX_UART default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0 default 0x01c28000 if DEBUG_SUNXI_UART0 default 0x01c28400 if DEBUG_SUNXI_UART1 @@@ -1174,9 -1133,7 +1213,10 @@@ default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) default 0x7c0003f8 if FOOTBRIDGE + default 0x80010000 if DEBUG_SA1100_UART1 + default 0x80030000 if DEBUG_SA1100_UART2 + default 0x80050000 if DEBUG_SA1100_UART3 + default 0x78000000 if DEBUG_CNS3XXX default 0x80070000 if DEBUG_IMX23_UART default 0x80074000 if DEBUG_IMX28_UART default 0x80230000 if DEBUG_PICOXCELL_UART @@@ -1204,17 -1163,14 +1246,18 @@@ default 0xff690000 if DEBUG_RK32_UART2 default 0xffc02000 if DEBUG_SOCFPGA_UART default 0xffd82340 if ARCH_IOP13XX + default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 + default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 + default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 default 0xfff36000 if DEBUG_HIGHBANK_UART + default 0xfffe8600 if DEBUG_UART_BCM63XX default 0xfffff700 if ARCH_IOP33X depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ DEBUG_LL_UART_EFM32 || \ - DEBUG_UART_8250 || DEBUG_UART_PL01X || \ + DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ - DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ - DEBUG_UART_BCM63XX + DEBUG_MSM_UART || DEBUG_NETX_UART || DEBUG_QCOM_UARTDM || \ + DEBUG_S3C24XX_UART || DEBUG_SA1100_UART || \ - ARCH_EP93XX ++ ARCH_EP93XX || DEBUG_UART_BCM63XX config DEBUG_UART_VIRT hex "Virtual base address of debug UART" @@@ -1241,14 -1196,14 +1284,17 @@@ default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) default 0xf7fc9000 if DEBUG_BERLIN_UART + default 0xf8007000 if DEBUG_HIP04_UART default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 + default 0xf8010000 if DEBUG_SA1100_UART1 + default 0xf8030000 if DEBUG_SA1100_UART2 + default 0xf8050000 if DEBUG_SA1100_UART3 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 default 0xfa71e000 if DEBUG_QCOM_UARTDM + default 0xfb002000 if DEBUG_CNS3XXX default 0xfb009000 if DEBUG_REALVIEW_STD_PORT default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT + default 0xfcfe8600 if DEBUG_UART_BCM63XX default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX default 0xfd000000 if ARCH_SPEAR13XX default 0xfd012000 if ARCH_MV78XX0 @@@ -1288,9 -1241,9 +1335,9 @@@ default 0xff003000 if DEBUG_U300_UART default DEBUG_UART_PHYS if !MMU depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ - DEBUG_UART_8250 || DEBUG_UART_PL01X || \ + DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ - DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ - DEBUG_UART_BCM63XX + DEBUG_MSM_UART || DEBUG_NETX_UART || DEBUG_QCOM_UARTDM || \ - DEBUG_S3C24XX_UART || DEBUG_SA1100_UART ++ DEBUG_S3C24XX_UART || DEBUG_SA1100_UART || DEBUG_UART_BCM63XX config DEBUG_UART_8250_SHIFT int "Register offset shift for the 8250 debug UART" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140926/ab5fce19/attachment.sig>
Quoted 13 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/Kconfig.debugbetween commits0889a9e35bd3("ARM: 8142/1:
ks8695: Migratedebug_llmacros to shared directory"),e38c399ca584("ARM: 8144/2: netx: MigrateDEBUG_LLmacros to shared directory"),6741cacfa3f1("ARM: 8145/1: sa1100: MigrateDEBUG_LLmacros to shared directory") anddebf843bf7ee("ARM: 8146/1: SeperateDEBUG_UART_PHYSfromDEBUG_LLon EP93XX") from the arm tree and commitsd8a00916b303("ARM: meson: debug: add debug UART for earlyprintk support"),b125170a39ea("CNS3xxx: Fix debug UART") andb51312bebfa4("ARM:
BCM63XX: add low-level UART debug support") from the arm-soc tree.
Quoted 6 lines
I fixed it up (hopefully - see below) and can carry the fix as necessary (no action is required).
You may be able to clean some of this up by using intermediate config symbols that are selected by the low level symbols and depended upon by the higher level config symbols.
Actually, I'll drop the patch set I have. I didn't spot this earlier, but people seem to have a hard time sorting stuff numerically:
default 0xffd82340 if ARCH_IOP13XX
+ default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
+ default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
+ default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
default 0xfff36000 if DEBUG_HIGHBANK_UARTIt also looks like the same is true for arm-soc:
Review
Quoted 8 lines
(quoted diff) +1
-0@@@ -1174,9 -1133,7 +1213,10 @@@ default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) default 0x7c0003f8 if FOOTBRIDGE + default 0x80010000 if DEBUG_SA1100_UART1 + default 0x80030000 if DEBUG_SA1100_UART2 + default 0x80050000 if DEBUG_SA1100_UART3 + default 0x78000000 if DEBUG_CNS3XXX
Last time I checked, 0x78000000 comes before 0x7c0003f8.
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net.
Quoted 25 lines · Russell King - ARM Linux
Quoted 13 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/Kconfig.debugbetween commits0889a9e35bd3("ARM: 8142/1:
ks8695: Migratedebug_llmacros to shared directory"),e38c399ca584("ARM: 8144/2: netx: MigrateDEBUG_LLmacros to shared directory"),6741cacfa3f1("ARM: 8145/1: sa1100: MigrateDEBUG_LLmacros to shared directory") anddebf843bf7ee("ARM: 8146/1: SeperateDEBUG_UART_PHYSfromDEBUG_LLon EP93XX") from the arm tree and commitsd8a00916b303("ARM: meson: debug: add debug UART for earlyprintk support"),b125170a39ea("CNS3xxx: Fix debug UART") andb51312bebfa4("ARM:
BCM63XX: add low-level UART debug support") from the arm-soc tree.Quoted 6 lines
I fixed it up (hopefully - see below) and can carry the fix as necessary (no action is required).
You may be able to clean some of this up by using intermediate config symbols that are selected by the low level symbols and depended upon by the higher level config symbols.
Actually, I'll drop the patch set I have. I didn't spot this earlier, but people seem to have a hard time sorting stuff numerically:
default 0xffd82340 if ARCH_IOP13XX
Review
Quoted 4 lines
(quoted diff) +3
-0+ default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 + default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 + default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 default 0xfff36000 if DEBUG_HIGHBANK_UART
Oops. This is disappointing from my point-of-view but there's no one to blame but me.
I have fixed this in my tree and will requeue for 3.19.
Quoted 13 lines
It also looks like the same is true for arm-soc:
Review
Quoted 8 lines
(quoted diff) +1
-0@@@ -1174,9 -1133,7 +1213,10 @@@ default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) default 0x7c0003f8 if FOOTBRIDGE + default 0x80010000 if DEBUG_SA1100_UART1 + default 0x80030000 if DEBUG_SA1100_UART2 + default 0x80050000 if DEBUG_SA1100_UART3 + default 0x78000000 if DEBUG_CNS3XXXLast time I checked,
0x78000000comes before0x7c0003f8.
Quoted 31 lines · Daniel Thompson
Quoted 25 lines · Russell King - ARM Linux
Quoted 13 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/Kconfig.debugbetween commits0889a9e35bd3("ARM: 8142/1:
ks8695: Migratedebug_llmacros to shared directory"),e38c399ca584("ARM: 8144/2: netx: MigrateDEBUG_LLmacros to shared directory"),6741cacfa3f1("ARM: 8145/1: sa1100: MigrateDEBUG_LLmacros to shared directory") anddebf843bf7ee("ARM: 8146/1: SeperateDEBUG_UART_PHYSfromDEBUG_LLon EP93XX") from the arm tree and commitsd8a00916b303("ARM: meson: debug: add debug UART for earlyprintk support"),b125170a39ea("CNS3xxx: Fix debug UART") andb51312bebfa4("ARM:
BCM63XX: add low-level UART debug support") from the arm-soc tree.Quoted 6 lines
I fixed it up (hopefully - see below) and can carry the fix as necessary (no action is required).
You may be able to clean some of this up by using intermediate config symbols that are selected by the low level symbols and depended upon by the higher level config symbols.
Actually, I'll drop the patch set I have. I didn't spot this earlier, but people seem to have a hard time sorting stuff numerically:
default 0xffd82340 if ARCH_IOP13XXReview
Quoted 4 lines
(quoted diff) +3
-0+ default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 + default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 + default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 default 0xfff36000 if DEBUG_HIGHBANK_UART
Quoted 4 lines
Oops. This is disappointing from my point-of-view but there's no one to blame but me.
I have fixed this in my tree and will requeue for 3.19.
Okay, I've dropped 8141/1 onwards, so the only patches I have from your series are:
ep93xx: Enable DEBUG_LL_UART_PL01X
versatile: Enable DEBUG_LL_UART_PL01X
Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net.
Quoted 119 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/Kconfig.debugbetween commits0889a9e35bd3("ARM: 8142/1:
ks8695: Migratedebug_llmacros to shared directory"),e38c399ca584("ARM: 8144/2: netx: MigrateDEBUG_LLmacros to shared directory"),6741cacfa3f1("ARM: 8145/1: sa1100: MigrateDEBUG_LLmacros to shared directory") anddebf843bf7ee("ARM: 8146/1: SeperateDEBUG_UART_PHYSfromDEBUG_LLon EP93XX") from the arm tree and commitsd8a00916b303("ARM: meson: debug: add debug UART for earlyprintk support"),b125170a39ea("CNS3xxx: Fix debug UART") andb51312bebfa4("ARM:
BCM63XX: add low-level UART debug support") from the arm-soc tree.I fixed it up (hopefully - see below) and can carry the fix as necessary (no action is required).
You may be able to clean some of this up by using intermediate config symbols that are selected by the low level symbols and depended upon by the higher level config symbols.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.auarch/arm/Kconfig.debug +18
-2@@@ -348,13 -365,13 +365,20 @@@ choic Say Y here if you want the debug print routines to direct their output to UART1 serial port on KEYSTONE2 devices. + config DEBUG_KS8695_UART + bool "KS8695 Debug UART" + depends on ARCH_KS8695 + help + Say Y here if you want kernel low-level debugging support + on KS8695. + + config DEBUG_MESON_UARTAO + bool "Kernel low-level debugging via Meson6 UARTAO" + depends on ARCH_MESON + help + Say Y here if you want kernel low-lever debugging support + on Amlogic Meson6 based platforms on the UARTAO. + config DEBUG_MMP_UART2 bool "Kernel low-level debugging message via MMP UART2" depends on ARCH_MMP@@@ -1136,9 -1091,12 +1170,13 @@@ config DEBUG_UART_825 ARCH_IOP33X || ARCH_IXP4XX || \ ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC + # Compatibility options for BCM63xx + config DEBUG_UART_BCM63XX + def_bool ARCH_BCM_63XX + config DEBUG_UART_PHYS hex "Physical base address of debug UART" + default 0x00100a00 if DEBUG_NETX_UART default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0 default 0x01c28000 if DEBUG_SUNXI_UART0 default 0x01c28400 if DEBUG_SUNXI_UART1@@@ -1174,9 -1133,7 +1213,10 @@@ default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) default 0x7c0003f8 if FOOTBRIDGE + default 0x80010000 if DEBUG_SA1100_UART1 + default 0x80030000 if DEBUG_SA1100_UART2 + default 0x80050000 if DEBUG_SA1100_UART3 + default 0x78000000 if DEBUG_CNS3XXX default 0x80070000 if DEBUG_IMX23_UART default 0x80074000 if DEBUG_IMX28_UART default 0x80230000 if DEBUG_PICOXCELL_UART@@@ -1204,17 -1163,14 +1246,18 @@@ default 0xff690000 if DEBUG_RK32_UART2 default 0xffc02000 if DEBUG_SOCFPGA_UART default 0xffd82340 if ARCH_IOP13XX + default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 + default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 + default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 default 0xfff36000 if DEBUG_HIGHBANK_UART + default 0xfffe8600 if DEBUG_UART_BCM63XX default 0xfffff700 if ARCH_IOP33X depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ DEBUG_LL_UART_EFM32 || \ - DEBUG_UART_8250 || DEBUG_UART_PL01X || \ + DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ - DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ - DEBUG_UART_BCM63XX + DEBUG_MSM_UART || DEBUG_NETX_UART || DEBUG_QCOM_UARTDM || \ + DEBUG_S3C24XX_UART || DEBUG_SA1100_UART || \ - ARCH_EP93XX ++ ARCH_EP93XX || DEBUG_UART_BCM63XX config DEBUG_UART_VIRT hex "Virtual base address of debug UART"@@@ -1241,14 -1196,14 +1284,17 @@@ default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ DEBUG_S3C2410_UART2) default 0xf7fc9000 if DEBUG_BERLIN_UART + default 0xf8007000 if DEBUG_HIP04_UART default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 + default 0xf8010000 if DEBUG_SA1100_UART1 + default 0xf8030000 if DEBUG_SA1100_UART2 + default 0xf8050000 if DEBUG_SA1100_UART3 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 default 0xfa71e000 if DEBUG_QCOM_UARTDM + default 0xfb002000 if DEBUG_CNS3XXX default 0xfb009000 if DEBUG_REALVIEW_STD_PORT default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT + default 0xfcfe8600 if DEBUG_UART_BCM63XX default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX default 0xfd000000 if ARCH_SPEAR13XX default 0xfd012000 if ARCH_MV78XX0@@@ -1288,9 -1241,9 +1335,9 @@@ default 0xff003000 if DEBUG_U300_UART default DEBUG_UART_PHYS if !MMU depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
arch/arm/Kconfig.debug
Quoted 10 lines
arch/arm/Kconfig.debug +2
-2- DEBUG_UART_8250 || DEBUG_UART_PL01X || \ + DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ - DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ - DEBUG_UART_BCM63XX + DEBUG_MSM_UART || DEBUG_NETX_UART || DEBUG_QCOM_UARTDM || \ - DEBUG_S3C24XX_UART || DEBUG_SA1100_UART ++ DEBUG_S3C24XX_UART || DEBUG_SA1100_UART || DEBUG_UART_BCM63XX config DEBUG_UART_8250_SHIFT int "Register offset shift for the 8250 debug UART"
Hi Stephen,
Am I going blind or these two lines are missing from d8a00916b303
+ default 0xc81004c0 if DEBUG_MESON_UARTAO
...
+ default 0xf31004c0 if DEBUG_MESON_UARTAO
Thanks,
Signature · 1 line
Carlo Caione
Hi Carlo,
Review
Quoted 6 lines · On Fri, 26 Sep 2014 10:19:43 +0200 Carlo Caione <[email protected]> wrote:
Am I going blind or these two lines are missing from
d8a00916b303(quoted diff) +2
-0+ default 0xc81004c0 if DEBUG_MESON_UARTAO + default 0xf31004c0 if DEBUG_MESON_UARTAO
They are in the final version of arch/arm/Kconfig.debug, just not shown in the conflict resolution above.
Signature · 9 lines
Cheers, Stephen Rothwell sfr at canb.auug.org.au -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140926/0fd803aa/attachment.sig>