All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
       [not found] <62793d83.1c69fb81.71b96.033e@mx.google.com>
  2022-05-09 16:27   ` Mark Brown
@ 2022-05-09 16:27   ` Mark Brown
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2022-05-09 16:27 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

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

On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:

The KernelCI bisection bot found a boot regression on mt8173-elm-hana
which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
the right FEATURE_SEL").  With the patch the output terminates at:

<6>[    0.763969] EINJ: ACPI disabled.
<6>[    0.789312] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
<6>[    0.798321] printk: console [ttyS0] disabled
<6>[    0.823022] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 251, base_baud = 1625000) is a 16550A

with a stream of ^@s following.

I've included the full bisection report, including links to more info
like full logs and a Reported-by tag from the bot below:

> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This automated bisection report was sent to you on the basis  *
> * that you may be involved with the breaking commit it has      *
> * found.  No manual investigation has been done to verify it,   *
> * and the root cause of the problem may be somewhere else.      *
> *                                                               *
> * If you do send a fix, please include this trailer:            *
> *   Reported-by: "kernelci.org bot" <bot@kernelci.org>          *
> *                                                               *
> * Hope this helps!                                              *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

> next/pending-fixes bisection: baseline.login on mt8173-elm-hana
> 
> Summary:
>   Start:      a42b168a3ce2c Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc
>   Plain log:  https://storage.kernelci.org/next/pending-fixes/v5.18-rc6-166-ga42b168a3ce2/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-mt8173-elm-hana.txt
>   HTML log:   https://storage.kernelci.org/next/pending-fixes/v5.18-rc6-166-ga42b168a3ce2/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-mt8173-elm-hana.html
>   Result:     6f81fdded0d02 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> 
> Checks:
>   revert:     PASS
>   verify:     PASS
> 
> Parameters:
>   Tree:       next
>   URL:        https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>   Branch:     pending-fixes
>   Target:     mt8173-elm-hana
>   CPU arch:   arm64
>   Lab:        lab-collabora
>   Compiler:   gcc-10
>   Config:     defconfig+arm64-chromebook
>   Test case:  baseline.login
> 
> Breaking commit found:
> 
> -------------------------------------------------------------------------------
> commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Date:   Wed Apr 27 15:23:27 2022 +0200
> 
>     serial: 8250_mtk: Make sure to select the right FEATURE_SEL
>     
>     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
>     this guarantees that when the port is configured as AP UART, the
>     right register layout is interpreted by the UART IP.
>     
>     Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>     Cc: stable <stable@vger.kernel.org>
>     Link: https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c
> index cd62a5f340149..28e36459642ce 100644
> --- a/drivers/tty/serial/8250/8250_mtk.c
> +++ b/drivers/tty/serial/8250/8250_mtk.c
> @@ -54,6 +54,9 @@
>  #define MTK_UART_TX_TRIGGER	1
>  #define MTK_UART_RX_TRIGGER	MTK_UART_RX_SIZE
>  
> +#define MTK_UART_FEATURE_SEL	39	/* Feature Selection register */
> +#define MTK_UART_FEAT_NEWRMAP	BIT(0)	/* Use new register map */
> +
>  #ifdef CONFIG_SERIAL_8250_DMA
>  enum dma_rx_status {
>  	DMA_RX_START = 0,
> @@ -569,6 +572,10 @@ static int mtk8250_probe(struct platform_device *pdev)
>  		uart.dma = data->dma;
>  #endif
>  
> +	/* Set AP UART new register map */
> +	writel(MTK_UART_FEAT_NEWRMAP, uart.port.membase +
> +	       (MTK_UART_FEATURE_SEL << uart.port.regshift));
> +
>  	/* Disable Rate Fix function */
>  	writel(0x0, uart.port.membase +
>  			(MTK_UART_RATE_FIX << uart.port.regshift));
> -------------------------------------------------------------------------------
> 
> 
> Git bisection log:
> 
> -------------------------------------------------------------------------------
> git bisect start
> # good: [c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a] Linux 5.18-rc6
> git bisect good c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a
> # bad: [a42b168a3ce2c4923d405814c81ef015aa5e6515] Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc
> git bisect bad a42b168a3ce2c4923d405814c81ef015aa5e6515
> # bad: [d424caf55dd6da1f39787899d223b17b61bff74e] Merge branch 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
> git bisect bad d424caf55dd6da1f39787899d223b17b61bff74e
> # good: [2ecea400e96eddd79295a717ce9a7ef71d9519c0] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
> git bisect good 2ecea400e96eddd79295a717ce9a7ef71d9519c0
> # good: [493e389da29b9df4898136e487b7217b277a0d2f] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
> git bisect good 493e389da29b9df4898136e487b7217b277a0d2f
> # good: [4e02910ec7a8c7d7608dd3d18169f92d04e40eac] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
> git bisect good 4e02910ec7a8c7d7608dd3d18169f92d04e40eac
> # bad: [edd5f60c340086891fab094ad61270d6c80f9ca4] tty: n_gsm: fix mux activation issues in gsm_config()
> git bisect bad edd5f60c340086891fab094ad61270d6c80f9ca4
> # bad: [6f81fdded0d024c7d4084d434764f30bca1cd6b1] serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> git bisect bad 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> # good: [bb0b197aadd928f52ce6f01f0ee977f0a08cf1be] serial: 8250_mtk: Fix UART_EFR register address
> git bisect good bb0b197aadd928f52ce6f01f0ee977f0a08cf1be
> # first bad commit: [6f81fdded0d024c7d4084d434764f30bca1cd6b1] serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> -------------------------------------------------------------------------------
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#26744): https://groups.io/g/kernelci-results/message/26744
> Mute This Topic: https://groups.io/mt/90993243/1131744
> Group Owner: kernelci-results+owner@groups.io
> Unsubscribe: https://groups.io/g/kernelci-results/unsub [broonie@kernel.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
> 

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

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-09 16:27   ` Mark Brown
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2022-05-09 16:27 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial


[-- Attachment #1.1: Type: text/plain, Size: 6850 bytes --]

On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:

The KernelCI bisection bot found a boot regression on mt8173-elm-hana
which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
the right FEATURE_SEL").  With the patch the output terminates at:

<6>[    0.763969] EINJ: ACPI disabled.
<6>[    0.789312] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
<6>[    0.798321] printk: console [ttyS0] disabled
<6>[    0.823022] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 251, base_baud = 1625000) is a 16550A

with a stream of ^@s following.

I've included the full bisection report, including links to more info
like full logs and a Reported-by tag from the bot below:

> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This automated bisection report was sent to you on the basis  *
> * that you may be involved with the breaking commit it has      *
> * found.  No manual investigation has been done to verify it,   *
> * and the root cause of the problem may be somewhere else.      *
> *                                                               *
> * If you do send a fix, please include this trailer:            *
> *   Reported-by: "kernelci.org bot" <bot@kernelci.org>          *
> *                                                               *
> * Hope this helps!                                              *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

> next/pending-fixes bisection: baseline.login on mt8173-elm-hana
> 
> Summary:
>   Start:      a42b168a3ce2c Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc
>   Plain log:  https://storage.kernelci.org/next/pending-fixes/v5.18-rc6-166-ga42b168a3ce2/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-mt8173-elm-hana.txt
>   HTML log:   https://storage.kernelci.org/next/pending-fixes/v5.18-rc6-166-ga42b168a3ce2/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-mt8173-elm-hana.html
>   Result:     6f81fdded0d02 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> 
> Checks:
>   revert:     PASS
>   verify:     PASS
> 
> Parameters:
>   Tree:       next
>   URL:        https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>   Branch:     pending-fixes
>   Target:     mt8173-elm-hana
>   CPU arch:   arm64
>   Lab:        lab-collabora
>   Compiler:   gcc-10
>   Config:     defconfig+arm64-chromebook
>   Test case:  baseline.login
> 
> Breaking commit found:
> 
> -------------------------------------------------------------------------------
> commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Date:   Wed Apr 27 15:23:27 2022 +0200
> 
>     serial: 8250_mtk: Make sure to select the right FEATURE_SEL
>     
>     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
>     this guarantees that when the port is configured as AP UART, the
>     right register layout is interpreted by the UART IP.
>     
>     Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>     Cc: stable <stable@vger.kernel.org>
>     Link: https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c
> index cd62a5f340149..28e36459642ce 100644
> --- a/drivers/tty/serial/8250/8250_mtk.c
> +++ b/drivers/tty/serial/8250/8250_mtk.c
> @@ -54,6 +54,9 @@
>  #define MTK_UART_TX_TRIGGER	1
>  #define MTK_UART_RX_TRIGGER	MTK_UART_RX_SIZE
>  
> +#define MTK_UART_FEATURE_SEL	39	/* Feature Selection register */
> +#define MTK_UART_FEAT_NEWRMAP	BIT(0)	/* Use new register map */
> +
>  #ifdef CONFIG_SERIAL_8250_DMA
>  enum dma_rx_status {
>  	DMA_RX_START = 0,
> @@ -569,6 +572,10 @@ static int mtk8250_probe(struct platform_device *pdev)
>  		uart.dma = data->dma;
>  #endif
>  
> +	/* Set AP UART new register map */
> +	writel(MTK_UART_FEAT_NEWRMAP, uart.port.membase +
> +	       (MTK_UART_FEATURE_SEL << uart.port.regshift));
> +
>  	/* Disable Rate Fix function */
>  	writel(0x0, uart.port.membase +
>  			(MTK_UART_RATE_FIX << uart.port.regshift));
> -------------------------------------------------------------------------------
> 
> 
> Git bisection log:
> 
> -------------------------------------------------------------------------------
> git bisect start
> # good: [c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a] Linux 5.18-rc6
> git bisect good c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a
> # bad: [a42b168a3ce2c4923d405814c81ef015aa5e6515] Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc
> git bisect bad a42b168a3ce2c4923d405814c81ef015aa5e6515
> # bad: [d424caf55dd6da1f39787899d223b17b61bff74e] Merge branch 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
> git bisect bad d424caf55dd6da1f39787899d223b17b61bff74e
> # good: [2ecea400e96eddd79295a717ce9a7ef71d9519c0] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
> git bisect good 2ecea400e96eddd79295a717ce9a7ef71d9519c0
> # good: [493e389da29b9df4898136e487b7217b277a0d2f] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
> git bisect good 493e389da29b9df4898136e487b7217b277a0d2f
> # good: [4e02910ec7a8c7d7608dd3d18169f92d04e40eac] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
> git bisect good 4e02910ec7a8c7d7608dd3d18169f92d04e40eac
> # bad: [edd5f60c340086891fab094ad61270d6c80f9ca4] tty: n_gsm: fix mux activation issues in gsm_config()
> git bisect bad edd5f60c340086891fab094ad61270d6c80f9ca4
> # bad: [6f81fdded0d024c7d4084d434764f30bca1cd6b1] serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> git bisect bad 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> # good: [bb0b197aadd928f52ce6f01f0ee977f0a08cf1be] serial: 8250_mtk: Fix UART_EFR register address
> git bisect good bb0b197aadd928f52ce6f01f0ee977f0a08cf1be
> # first bad commit: [6f81fdded0d024c7d4084d434764f30bca1cd6b1] serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> -------------------------------------------------------------------------------
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#26744): https://groups.io/g/kernelci-results/message/26744
> Mute This Topic: https://groups.io/mt/90993243/1131744
> Group Owner: kernelci-results+owner@groups.io
> Unsubscribe: https://groups.io/g/kernelci-results/unsub [broonie@kernel.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
> 

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-09 16:27   ` Mark Brown
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2022-05-09 16:27 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial


[-- Attachment #1.1: Type: text/plain, Size: 6850 bytes --]

On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:

The KernelCI bisection bot found a boot regression on mt8173-elm-hana
which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
the right FEATURE_SEL").  With the patch the output terminates at:

<6>[    0.763969] EINJ: ACPI disabled.
<6>[    0.789312] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
<6>[    0.798321] printk: console [ttyS0] disabled
<6>[    0.823022] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 251, base_baud = 1625000) is a 16550A

with a stream of ^@s following.

I've included the full bisection report, including links to more info
like full logs and a Reported-by tag from the bot below:

> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This automated bisection report was sent to you on the basis  *
> * that you may be involved with the breaking commit it has      *
> * found.  No manual investigation has been done to verify it,   *
> * and the root cause of the problem may be somewhere else.      *
> *                                                               *
> * If you do send a fix, please include this trailer:            *
> *   Reported-by: "kernelci.org bot" <bot@kernelci.org>          *
> *                                                               *
> * Hope this helps!                                              *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

> next/pending-fixes bisection: baseline.login on mt8173-elm-hana
> 
> Summary:
>   Start:      a42b168a3ce2c Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc
>   Plain log:  https://storage.kernelci.org/next/pending-fixes/v5.18-rc6-166-ga42b168a3ce2/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-mt8173-elm-hana.txt
>   HTML log:   https://storage.kernelci.org/next/pending-fixes/v5.18-rc6-166-ga42b168a3ce2/arm64/defconfig+arm64-chromebook/gcc-10/lab-collabora/baseline-mt8173-elm-hana.html
>   Result:     6f81fdded0d02 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> 
> Checks:
>   revert:     PASS
>   verify:     PASS
> 
> Parameters:
>   Tree:       next
>   URL:        https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>   Branch:     pending-fixes
>   Target:     mt8173-elm-hana
>   CPU arch:   arm64
>   Lab:        lab-collabora
>   Compiler:   gcc-10
>   Config:     defconfig+arm64-chromebook
>   Test case:  baseline.login
> 
> Breaking commit found:
> 
> -------------------------------------------------------------------------------
> commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Date:   Wed Apr 27 15:23:27 2022 +0200
> 
>     serial: 8250_mtk: Make sure to select the right FEATURE_SEL
>     
>     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
>     this guarantees that when the port is configured as AP UART, the
>     right register layout is interpreted by the UART IP.
>     
>     Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>     Cc: stable <stable@vger.kernel.org>
>     Link: https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c
> index cd62a5f340149..28e36459642ce 100644
> --- a/drivers/tty/serial/8250/8250_mtk.c
> +++ b/drivers/tty/serial/8250/8250_mtk.c
> @@ -54,6 +54,9 @@
>  #define MTK_UART_TX_TRIGGER	1
>  #define MTK_UART_RX_TRIGGER	MTK_UART_RX_SIZE
>  
> +#define MTK_UART_FEATURE_SEL	39	/* Feature Selection register */
> +#define MTK_UART_FEAT_NEWRMAP	BIT(0)	/* Use new register map */
> +
>  #ifdef CONFIG_SERIAL_8250_DMA
>  enum dma_rx_status {
>  	DMA_RX_START = 0,
> @@ -569,6 +572,10 @@ static int mtk8250_probe(struct platform_device *pdev)
>  		uart.dma = data->dma;
>  #endif
>  
> +	/* Set AP UART new register map */
> +	writel(MTK_UART_FEAT_NEWRMAP, uart.port.membase +
> +	       (MTK_UART_FEATURE_SEL << uart.port.regshift));
> +
>  	/* Disable Rate Fix function */
>  	writel(0x0, uart.port.membase +
>  			(MTK_UART_RATE_FIX << uart.port.regshift));
> -------------------------------------------------------------------------------
> 
> 
> Git bisection log:
> 
> -------------------------------------------------------------------------------
> git bisect start
> # good: [c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a] Linux 5.18-rc6
> git bisect good c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a
> # bad: [a42b168a3ce2c4923d405814c81ef015aa5e6515] Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc
> git bisect bad a42b168a3ce2c4923d405814c81ef015aa5e6515
> # bad: [d424caf55dd6da1f39787899d223b17b61bff74e] Merge branch 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
> git bisect bad d424caf55dd6da1f39787899d223b17b61bff74e
> # good: [2ecea400e96eddd79295a717ce9a7ef71d9519c0] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
> git bisect good 2ecea400e96eddd79295a717ce9a7ef71d9519c0
> # good: [493e389da29b9df4898136e487b7217b277a0d2f] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
> git bisect good 493e389da29b9df4898136e487b7217b277a0d2f
> # good: [4e02910ec7a8c7d7608dd3d18169f92d04e40eac] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
> git bisect good 4e02910ec7a8c7d7608dd3d18169f92d04e40eac
> # bad: [edd5f60c340086891fab094ad61270d6c80f9ca4] tty: n_gsm: fix mux activation issues in gsm_config()
> git bisect bad edd5f60c340086891fab094ad61270d6c80f9ca4
> # bad: [6f81fdded0d024c7d4084d434764f30bca1cd6b1] serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> git bisect bad 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> # good: [bb0b197aadd928f52ce6f01f0ee977f0a08cf1be] serial: 8250_mtk: Fix UART_EFR register address
> git bisect good bb0b197aadd928f52ce6f01f0ee977f0a08cf1be
> # first bad commit: [6f81fdded0d024c7d4084d434764f30bca1cd6b1] serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> -------------------------------------------------------------------------------
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#26744): https://groups.io/g/kernelci-results/message/26744
> Mute This Topic: https://groups.io/mt/90993243/1131744
> Group Owner: kernelci-results+owner@groups.io
> Unsubscribe: https://groups.io/g/kernelci-results/unsub [broonie@kernel.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
> 

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
  2022-05-09 16:27   ` Mark Brown
  (?)
@ 2022-05-09 18:16     ` Mark Brown
  -1 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2022-05-09 18:16 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

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

On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
> 
> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
> the right FEATURE_SEL").  With the patch the output terminates at:

There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.

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

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-09 18:16     ` Mark Brown
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2022-05-09 18:16 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial


[-- Attachment #1.1: Type: text/plain, Size: 422 bytes --]

On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
> 
> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
> the right FEATURE_SEL").  With the patch the output terminates at:

There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-09 18:16     ` Mark Brown
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2022-05-09 18:16 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial


[-- Attachment #1.1: Type: text/plain, Size: 422 bytes --]

On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
> 
> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
> the right FEATURE_SEL").  With the patch the output terminates at:

There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
  2022-05-09 18:16     ` Mark Brown
  (?)
@ 2022-05-10  8:01       ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 17+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-10  8:01 UTC (permalink / raw)
  To: Mark Brown, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

Il 09/05/22 20:16, Mark Brown ha scritto:
> On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
>> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
>>
>> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
>> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
>> the right FEATURE_SEL").  With the patch the output terminates at:
> 
> There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.


Strange, we tested it on another Kukui device and it didn't produce any issue...

Doubt is if it's just about the FEATURE_SEL register, as that may be protected
and/or not exist on 8173?

I'm investigating that today.

Cheers,
Angelo

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-10  8:01       ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 17+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-10  8:01 UTC (permalink / raw)
  To: Mark Brown, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

Il 09/05/22 20:16, Mark Brown ha scritto:
> On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
>> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
>>
>> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
>> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
>> the right FEATURE_SEL").  With the patch the output terminates at:
> 
> There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.


Strange, we tested it on another Kukui device and it didn't produce any issue...

Doubt is if it's just about the FEATURE_SEL register, as that may be protected
and/or not exist on 8173?

I'm investigating that today.

Cheers,
Angelo

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-10  8:01       ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 17+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-05-10  8:01 UTC (permalink / raw)
  To: Mark Brown, Greg Kroah-Hartman, Matthias Brugger
  Cc: kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

Il 09/05/22 20:16, Mark Brown ha scritto:
> On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
>> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
>>
>> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
>> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
>> the right FEATURE_SEL").  With the patch the output terminates at:
> 
> There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.


Strange, we tested it on another Kukui device and it didn't produce any issue...

Doubt is if it's just about the FEATURE_SEL register, as that may be protected
and/or not exist on 8173?

I'm investigating that today.

Cheers,
Angelo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
  2022-05-10  8:01       ` AngeloGioacchino Del Regno
  (?)
@ 2022-05-10  8:06         ` Chen-Yu Tsai
  -1 siblings, 0 replies; 17+ messages in thread
From: Chen-Yu Tsai @ 2022-05-10  8:06 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Mark Brown, Greg Kroah-Hartman, Matthias Brugger,
	kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

On Tue, May 10, 2022 at 4:01 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 09/05/22 20:16, Mark Brown ha scritto:
> > On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
> >> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
> >>
> >> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
> >> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
> >> the right FEATURE_SEL").  With the patch the output terminates at:
> >
> > There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.
>
>
> Strange, we tested it on another Kukui device and it didn't produce any issue...
>
> Doubt is if it's just about the FEATURE_SEL register, as that may be protected
> and/or not exist on 8173?
>
> I'm investigating that today.

Confirmed it regressed on MT8183 as well.


ChenYu

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-10  8:06         ` Chen-Yu Tsai
  0 siblings, 0 replies; 17+ messages in thread
From: Chen-Yu Tsai @ 2022-05-10  8:06 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Mark Brown, Greg Kroah-Hartman, Matthias Brugger,
	kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

On Tue, May 10, 2022 at 4:01 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 09/05/22 20:16, Mark Brown ha scritto:
> > On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
> >> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
> >>
> >> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
> >> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
> >> the right FEATURE_SEL").  With the patch the output terminates at:
> >
> > There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.
>
>
> Strange, we tested it on another Kukui device and it didn't produce any issue...
>
> Doubt is if it's just about the FEATURE_SEL register, as that may be protected
> and/or not exist on 8173?
>
> I'm investigating that today.

Confirmed it regressed on MT8183 as well.


ChenYu

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: next/pending-fixes bisection: baseline.login on mt8173-elm-hana
@ 2022-05-10  8:06         ` Chen-Yu Tsai
  0 siblings, 0 replies; 17+ messages in thread
From: Chen-Yu Tsai @ 2022-05-10  8:06 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Mark Brown, Greg Kroah-Hartman, Matthias Brugger,
	kernelci-results, bot, gtucker, linux-arm-kernel, linux-mediatek,
	linux-serial

On Tue, May 10, 2022 at 4:01 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 09/05/22 20:16, Mark Brown ha scritto:
> > On Mon, May 09, 2022 at 05:27:51PM +0100, Mark Brown wrote:
> >> On Mon, May 09, 2022 at 09:12:51AM -0700, KernelCI bot wrote:
> >>
> >> The KernelCI bisection bot found a boot regression on mt8173-elm-hana
> >> which bisected to 6f81fdded0d02 ("serial: 8250_mtk: Make sure to select
> >> the right FEATURE_SEL").  With the patch the output terminates at:
> >
> > There was also a similar report on mt8183-kukui-jacuzzi-juniper-sku16.
>
>
> Strange, we tested it on another Kukui device and it didn't produce any issue...
>
> Doubt is if it's just about the FEATURE_SEL register, as that may be protected
> and/or not exist on 8173?
>
> I'm investigating that today.

Confirmed it regressed on MT8183 as well.


ChenYu

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [BUG] mtk serial broken on mt7622 with 5.18.0
  2022-05-10  8:06         ` Chen-Yu Tsai
@ 2022-06-01 15:07           ` Frank Wunderlich
  -1 siblings, 0 replies; 17+ messages in thread
From: Frank Wunderlich @ 2022-06-01 15:07 UTC (permalink / raw)
  To: angelogioacchino.delregno
  Cc: gregkh, linux-arm-kernel, linux-mediatek, linux-serial, matthias.bgg

Hi,

i get a serial console hang on booting my mt7622 bananapi r64 with 5.18.0

[    0.591802] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.599915] printk: console [ttyS0] disabled
[    0.624563] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 126,
base_baud = 1562500) is a 16550A

git bisect points to this commit (cannot revert it alone)

6f81fdded0d024c7d4084d434764f30bca1cd6b1 is the first bad commit
commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date:   Wed Apr 27 15:23:27 2022 +0200

     serial: 8250_mtk: Make sure to select the right FEATURE_SEL

     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
     this guarantees that when the port is configured as AP UART, the
     right register layout is interpreted by the UART IP.

     Signed-off-by: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
     Cc: stable <stable@vger.kernel.org>
     Link:
https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

  drivers/tty/serial/8250/8250_mtk.c | 7 +++++++
  1 file changed, 7 insertions(+)

merged by 6811a466d27b "Merge tag 'tty-5.18-rc7'"

reverted these 2 commits works for me
e1bfdbc7daca 2022-04-27 serial: 8250_mtk: Fix register address for
XON/XOFF character
6f81fdded0d0 2022-04-27 serial: 8250_mtk: Make sure to select the right
FEATURE_SEL

have see this discussion [1], but can't manage to import mbox file to
thunderbird yet

regards Frank

[1]
https://lore.kernel.org/linux-arm-kernel/CAGXv+5Hx7cRwNzLWrExcFGy=MMOc3-0EbqCanv2E0G_DKXLCgg@mail.gmail.com/#t

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

* [BUG] mtk serial broken on mt7622 with 5.18.0
@ 2022-06-01 15:07           ` Frank Wunderlich
  0 siblings, 0 replies; 17+ messages in thread
From: Frank Wunderlich @ 2022-06-01 15:07 UTC (permalink / raw)
  To: angelogioacchino.delregno
  Cc: gregkh, linux-arm-kernel, linux-mediatek, linux-serial, matthias.bgg

Hi,

i get a serial console hang on booting my mt7622 bananapi r64 with 5.18.0

[    0.591802] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.599915] printk: console [ttyS0] disabled
[    0.624563] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 126,
base_baud = 1562500) is a 16550A

git bisect points to this commit (cannot revert it alone)

6f81fdded0d024c7d4084d434764f30bca1cd6b1 is the first bad commit
commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date:   Wed Apr 27 15:23:27 2022 +0200

     serial: 8250_mtk: Make sure to select the right FEATURE_SEL

     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
     this guarantees that when the port is configured as AP UART, the
     right register layout is interpreted by the UART IP.

     Signed-off-by: AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
     Cc: stable <stable@vger.kernel.org>
     Link:
https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

  drivers/tty/serial/8250/8250_mtk.c | 7 +++++++
  1 file changed, 7 insertions(+)

merged by 6811a466d27b "Merge tag 'tty-5.18-rc7'"

reverted these 2 commits works for me
e1bfdbc7daca 2022-04-27 serial: 8250_mtk: Fix register address for
XON/XOFF character
6f81fdded0d0 2022-04-27 serial: 8250_mtk: Make sure to select the right
FEATURE_SEL

have see this discussion [1], but can't manage to import mbox file to
thunderbird yet

regards Frank

[1]
https://lore.kernel.org/linux-arm-kernel/CAGXv+5Hx7cRwNzLWrExcFGy=MMOc3-0EbqCanv2E0G_DKXLCgg@mail.gmail.com/#t

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: [BUG] mtk serial broken on mt7622 with 5.18.0
  2022-06-01 15:07           ` Frank Wunderlich
  (?)
@ 2022-06-01 15:37             ` Ilpo Järvinen
  -1 siblings, 0 replies; 17+ messages in thread
From: Ilpo Järvinen @ 2022-06-01 15:37 UTC (permalink / raw)
  To: Frank Wunderlich
  Cc: angelogioacchino.delregno, gregkh, linux-arm-kernel,
	linux-mediatek, linux-serial, matthias.bgg

On Wed, 1 Jun 2022, Frank Wunderlich wrote:

> Hi,
> 
> i get a serial console hang on booting my mt7622 bananapi r64 with 5.18.0
> 
> [    0.591802] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
> [    0.599915] printk: console [ttyS0] disabled
> [    0.624563] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 126,
> base_baud = 1562500) is a 16550A
> 
> git bisect points to this commit (cannot revert it alone)
> 
> 6f81fdded0d024c7d4084d434764f30bca1cd6b1 is the first bad commit
> commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Date:   Wed Apr 27 15:23:27 2022 +0200
> 
>     serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> 
>     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
>     this guarantees that when the port is configured as AP UART, the
>     right register layout is interpreted by the UART IP.
> 
>     Signed-off-by: AngeloGioacchino Del Regno
> <angelogioacchino.delregno@collabora.com>
>     Cc: stable <stable@vger.kernel.org>
>     Link:
> https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
>  drivers/tty/serial/8250/8250_mtk.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> merged by 6811a466d27b "Merge tag 'tty-5.18-rc7'"
> 
> reverted these 2 commits works for me
> e1bfdbc7daca 2022-04-27 serial: 8250_mtk: Fix register address for
> XON/XOFF character
> 6f81fdded0d0 2022-04-27 serial: 8250_mtk: Make sure to select the right
> FEATURE_SEL
> 
> have see this discussion [1], but can't manage to import mbox file to
> thunderbird yet
> 
> regards Frank
> 
> [1]
> https://lore.kernel.org/linux-arm-kernel/CAGXv+5Hx7cRwNzLWrExcFGy=MMOc3-0EbqCanv2E0G_DKXLCgg@mail.gmail.com/#t

The FEATURE_SEL change is already reverted to fix the problem but it 
didn't make into 5.18:

https://lore.kernel.org/linux-arm-kernel/Yot+xTBus04O9TUu@kroah.com/T/

-- 
 i.


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

* Re: [BUG] mtk serial broken on mt7622 with 5.18.0
@ 2022-06-01 15:37             ` Ilpo Järvinen
  0 siblings, 0 replies; 17+ messages in thread
From: Ilpo Järvinen @ 2022-06-01 15:37 UTC (permalink / raw)
  To: Frank Wunderlich
  Cc: angelogioacchino.delregno, gregkh, linux-arm-kernel,
	linux-mediatek, linux-serial, matthias.bgg

On Wed, 1 Jun 2022, Frank Wunderlich wrote:

> Hi,
> 
> i get a serial console hang on booting my mt7622 bananapi r64 with 5.18.0
> 
> [    0.591802] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
> [    0.599915] printk: console [ttyS0] disabled
> [    0.624563] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 126,
> base_baud = 1562500) is a 16550A
> 
> git bisect points to this commit (cannot revert it alone)
> 
> 6f81fdded0d024c7d4084d434764f30bca1cd6b1 is the first bad commit
> commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Date:   Wed Apr 27 15:23:27 2022 +0200
> 
>     serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> 
>     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
>     this guarantees that when the port is configured as AP UART, the
>     right register layout is interpreted by the UART IP.
> 
>     Signed-off-by: AngeloGioacchino Del Regno
> <angelogioacchino.delregno@collabora.com>
>     Cc: stable <stable@vger.kernel.org>
>     Link:
> https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
>  drivers/tty/serial/8250/8250_mtk.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> merged by 6811a466d27b "Merge tag 'tty-5.18-rc7'"
> 
> reverted these 2 commits works for me
> e1bfdbc7daca 2022-04-27 serial: 8250_mtk: Fix register address for
> XON/XOFF character
> 6f81fdded0d0 2022-04-27 serial: 8250_mtk: Make sure to select the right
> FEATURE_SEL
> 
> have see this discussion [1], but can't manage to import mbox file to
> thunderbird yet
> 
> regards Frank
> 
> [1]
> https://lore.kernel.org/linux-arm-kernel/CAGXv+5Hx7cRwNzLWrExcFGy=MMOc3-0EbqCanv2E0G_DKXLCgg@mail.gmail.com/#t

The FEATURE_SEL change is already reverted to fix the problem but it 
didn't make into 5.18:

https://lore.kernel.org/linux-arm-kernel/Yot+xTBus04O9TUu@kroah.com/T/

-- 
 i.


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: [BUG] mtk serial broken on mt7622 with 5.18.0
@ 2022-06-01 15:37             ` Ilpo Järvinen
  0 siblings, 0 replies; 17+ messages in thread
From: Ilpo Järvinen @ 2022-06-01 15:37 UTC (permalink / raw)
  To: Frank Wunderlich
  Cc: angelogioacchino.delregno, gregkh, linux-arm-kernel,
	linux-mediatek, linux-serial, matthias.bgg

On Wed, 1 Jun 2022, Frank Wunderlich wrote:

> Hi,
> 
> i get a serial console hang on booting my mt7622 bananapi r64 with 5.18.0
> 
> [    0.591802] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
> [    0.599915] printk: console [ttyS0] disabled
> [    0.624563] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 126,
> base_baud = 1562500) is a 16550A
> 
> git bisect points to this commit (cannot revert it alone)
> 
> 6f81fdded0d024c7d4084d434764f30bca1cd6b1 is the first bad commit
> commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1
> Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Date:   Wed Apr 27 15:23:27 2022 +0200
> 
>     serial: 8250_mtk: Make sure to select the right FEATURE_SEL
> 
>     Set the FEATURE_SEL at probe time to make sure that BIT(0) is enabled:
>     this guarantees that when the port is configured as AP UART, the
>     right register layout is interpreted by the UART IP.
> 
>     Signed-off-by: AngeloGioacchino Del Regno
> <angelogioacchino.delregno@collabora.com>
>     Cc: stable <stable@vger.kernel.org>
>     Link:
> https://lore.kernel.org/r/20220427132328.228297-3-angelogioacchino.delregno@collabora.com
>     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
>  drivers/tty/serial/8250/8250_mtk.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> merged by 6811a466d27b "Merge tag 'tty-5.18-rc7'"
> 
> reverted these 2 commits works for me
> e1bfdbc7daca 2022-04-27 serial: 8250_mtk: Fix register address for
> XON/XOFF character
> 6f81fdded0d0 2022-04-27 serial: 8250_mtk: Make sure to select the right
> FEATURE_SEL
> 
> have see this discussion [1], but can't manage to import mbox file to
> thunderbird yet
> 
> regards Frank
> 
> [1]
> https://lore.kernel.org/linux-arm-kernel/CAGXv+5Hx7cRwNzLWrExcFGy=MMOc3-0EbqCanv2E0G_DKXLCgg@mail.gmail.com/#t

The FEATURE_SEL change is already reverted to fix the problem but it 
didn't make into 5.18:

https://lore.kernel.org/linux-arm-kernel/Yot+xTBus04O9TUu@kroah.com/T/

-- 
 i.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-06-07 15:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <62793d83.1c69fb81.71b96.033e@mx.google.com>
2022-05-09 16:27 ` next/pending-fixes bisection: baseline.login on mt8173-elm-hana Mark Brown
2022-05-09 16:27   ` Mark Brown
2022-05-09 16:27   ` Mark Brown
2022-05-09 18:16   ` Mark Brown
2022-05-09 18:16     ` Mark Brown
2022-05-09 18:16     ` Mark Brown
2022-05-10  8:01     ` AngeloGioacchino Del Regno
2022-05-10  8:01       ` AngeloGioacchino Del Regno
2022-05-10  8:01       ` AngeloGioacchino Del Regno
2022-05-10  8:06       ` Chen-Yu Tsai
2022-05-10  8:06         ` Chen-Yu Tsai
2022-05-10  8:06         ` Chen-Yu Tsai
2022-06-01 15:07         ` [BUG] mtk serial broken on mt7622 with 5.18.0 Frank Wunderlich
2022-06-01 15:07           ` Frank Wunderlich
2022-06-01 15:37           ` Ilpo Järvinen
2022-06-01 15:37             ` Ilpo Järvinen
2022-06-01 15:37             ` Ilpo Järvinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.