+++ /dev/null
-From 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan+linaro@kernel.org>
-Date: Tue, 7 Mar 2023 17:44:02 +0100
-Subject: serial: qcom-geni: fix console shutdown hang
-
-From: Johan Hovold <johan+linaro@kernel.org>
-
-commit 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 upstream.
-
-A recent commit added back the calls top stop tx and rx to shutdown()
-which had previously been removed by commit e83766334f96 ("tty: serial:
-qcom_geni_serial: No need to stop tx/rx on UART shutdown") in order to
-be able to use kgdb after stopping the getty.
-
-Not only did this again break kgdb, but it also broke serial consoles
-more generally by hanging TX when stopping the getty during reboot.
-
-The underlying problem has been there since the driver was first merged
-and fixing it is going to be a bit involved so simply stop calling the
-broken stop functions during shutdown for consoles for now.
-
-Fixes: d8aca2f96813 ("tty: serial: qcom-geni-serial: stop operations in progress at shutdown")
-Cc: stable <stable@kernel.org>
-Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
-Reviewed-by: Douglas Anderson <dianders@chromium.org>
-Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
-Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8540p-ride
-Link: https://lore.kernel.org/r/20230307164405.14218-2-johan+linaro@kernel.org
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -893,6 +893,10 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+
-+ if (uart_console(uport))
-+ return;
-+
- qcom_geni_serial_stop_tx(uport);
- qcom_geni_serial_stop_rx(uport);
- }
ext4-fix-possible-double-unlock-when-moving-a-directory.patch
tty-serial-fsl_lpuart-skip-waiting-for-transmission-complete-when-uartctrl_sbk-is-asserted.patch
serial-8250_em-fix-uart-port-type.patch
-tty-serial-qcom-geni-serial-stop-operations-in-progress-at-shutdown.patch
-serial-qcom-geni-fix-console-shutdown-hang.patch
firmware-xilinx-don-t-make-a-sleepable-memory-allocation-from-an-atomic-context.patch
interconnect-fix-mem-leak-when-freeing-nodes.patch
+++ /dev/null
-From d8aca2f96813d51df574a811eda9a2cbed00f261 Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Date: Thu, 29 Dec 2022 16:50:17 +0100
-Subject: tty: serial: qcom-geni-serial: stop operations in progress at shutdown
-
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-
-commit d8aca2f96813d51df574a811eda9a2cbed00f261 upstream.
-
-We don't stop transmissions in progress at shutdown. This is fine with
-FIFO SE mode but with DMA (support for which we'll introduce later) it
-causes trouble so fix it now.
-
-Fixes: e83766334f96 ("tty: serial: qcom_geni_serial: No need to stop tx/rx on UART shutdown")
-Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
-Link: https://lore.kernel.org/r/20221229155030.418800-2-brgl@bgdev.pl
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -893,6 +893,8 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+ qcom_geni_serial_stop_tx(uport);
-+ qcom_geni_serial_stop_rx(uport);
- }
-
- static int qcom_geni_serial_port_setup(struct uart_port *uport)
+++ /dev/null
-From 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan+linaro@kernel.org>
-Date: Tue, 7 Mar 2023 17:44:02 +0100
-Subject: serial: qcom-geni: fix console shutdown hang
-
-From: Johan Hovold <johan+linaro@kernel.org>
-
-commit 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 upstream.
-
-A recent commit added back the calls top stop tx and rx to shutdown()
-which had previously been removed by commit e83766334f96 ("tty: serial:
-qcom_geni_serial: No need to stop tx/rx on UART shutdown") in order to
-be able to use kgdb after stopping the getty.
-
-Not only did this again break kgdb, but it also broke serial consoles
-more generally by hanging TX when stopping the getty during reboot.
-
-The underlying problem has been there since the driver was first merged
-and fixing it is going to be a bit involved so simply stop calling the
-broken stop functions during shutdown for consoles for now.
-
-Fixes: d8aca2f96813 ("tty: serial: qcom-geni-serial: stop operations in progress at shutdown")
-Cc: stable <stable@kernel.org>
-Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
-Reviewed-by: Douglas Anderson <dianders@chromium.org>
-Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
-Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8540p-ride
-Link: https://lore.kernel.org/r/20230307164405.14218-2-johan+linaro@kernel.org
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -893,6 +893,10 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+
-+ if (uart_console(uport))
-+ return;
-+
- qcom_geni_serial_stop_tx(uport);
- qcom_geni_serial_stop_rx(uport);
- }
tty-serial-fsl_lpuart-skip-waiting-for-transmission-complete-when-uartctrl_sbk-is-asserted.patch
serial-8250_em-fix-uart-port-type.patch
serial-8250_fsl-fix-handle_irq-locking.patch
-tty-serial-qcom-geni-serial-stop-operations-in-progress-at-shutdown.patch
-serial-qcom-geni-fix-console-shutdown-hang.patch
firmware-xilinx-don-t-make-a-sleepable-memory-allocation-from-an-atomic-context.patch
s390-ipl-add-missing-intersection-check-to-ipl_report-handling.patch
interconnect-fix-mem-leak-when-freeing-nodes.patch
+++ /dev/null
-From d8aca2f96813d51df574a811eda9a2cbed00f261 Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Date: Thu, 29 Dec 2022 16:50:17 +0100
-Subject: tty: serial: qcom-geni-serial: stop operations in progress at shutdown
-
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-
-commit d8aca2f96813d51df574a811eda9a2cbed00f261 upstream.
-
-We don't stop transmissions in progress at shutdown. This is fine with
-FIFO SE mode but with DMA (support for which we'll introduce later) it
-causes trouble so fix it now.
-
-Fixes: e83766334f96 ("tty: serial: qcom_geni_serial: No need to stop tx/rx on UART shutdown")
-Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
-Link: https://lore.kernel.org/r/20221229155030.418800-2-brgl@bgdev.pl
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -893,6 +893,8 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+ qcom_geni_serial_stop_tx(uport);
-+ qcom_geni_serial_stop_rx(uport);
- }
-
- static int qcom_geni_serial_port_setup(struct uart_port *uport)
+++ /dev/null
-From 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan+linaro@kernel.org>
-Date: Tue, 7 Mar 2023 17:44:02 +0100
-Subject: serial: qcom-geni: fix console shutdown hang
-
-From: Johan Hovold <johan+linaro@kernel.org>
-
-commit 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 upstream.
-
-A recent commit added back the calls top stop tx and rx to shutdown()
-which had previously been removed by commit e83766334f96 ("tty: serial:
-qcom_geni_serial: No need to stop tx/rx on UART shutdown") in order to
-be able to use kgdb after stopping the getty.
-
-Not only did this again break kgdb, but it also broke serial consoles
-more generally by hanging TX when stopping the getty during reboot.
-
-The underlying problem has been there since the driver was first merged
-and fixing it is going to be a bit involved so simply stop calling the
-broken stop functions during shutdown for consoles for now.
-
-Fixes: d8aca2f96813 ("tty: serial: qcom-geni-serial: stop operations in progress at shutdown")
-Cc: stable <stable@kernel.org>
-Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
-Reviewed-by: Douglas Anderson <dianders@chromium.org>
-Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
-Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8540p-ride
-Link: https://lore.kernel.org/r/20230307164405.14218-2-johan+linaro@kernel.org
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -891,6 +891,10 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+
-+ if (uart_console(uport))
-+ return;
-+
- qcom_geni_serial_stop_tx(uport);
- qcom_geni_serial_stop_rx(uport);
- }
serial-8250_em-fix-uart-port-type.patch
serial-8250_fsl-fix-handle_irq-locking.patch
serial-8250-aspeed_vuart-select-regmap-instead-of-depending-on-it.patch
-tty-serial-qcom-geni-serial-stop-operations-in-progress-at-shutdown.patch
-serial-qcom-geni-fix-console-shutdown-hang.patch
firmware-xilinx-don-t-make-a-sleepable-memory-allocation-from-an-atomic-context.patch
memory-tegra-fix-interconnect-registration-race.patch
memory-tegra20-emc-fix-interconnect-registration-race.patch
+++ /dev/null
-From d8aca2f96813d51df574a811eda9a2cbed00f261 Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Date: Thu, 29 Dec 2022 16:50:17 +0100
-Subject: tty: serial: qcom-geni-serial: stop operations in progress at shutdown
-
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-
-commit d8aca2f96813d51df574a811eda9a2cbed00f261 upstream.
-
-We don't stop transmissions in progress at shutdown. This is fine with
-FIFO SE mode but with DMA (support for which we'll introduce later) it
-causes trouble so fix it now.
-
-Fixes: e83766334f96 ("tty: serial: qcom_geni_serial: No need to stop tx/rx on UART shutdown")
-Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
-Link: https://lore.kernel.org/r/20221229155030.418800-2-brgl@bgdev.pl
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -891,6 +891,8 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+ qcom_geni_serial_stop_tx(uport);
-+ qcom_geni_serial_stop_rx(uport);
- }
-
- static int qcom_geni_serial_port_setup(struct uart_port *uport)
+++ /dev/null
-From 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan+linaro@kernel.org>
-Date: Tue, 7 Mar 2023 17:44:02 +0100
-Subject: serial: qcom-geni: fix console shutdown hang
-
-From: Johan Hovold <johan+linaro@kernel.org>
-
-commit 9aff74cc4e9eb841dde5fd009ed7ddca5db40e68 upstream.
-
-A recent commit added back the calls top stop tx and rx to shutdown()
-which had previously been removed by commit e83766334f96 ("tty: serial:
-qcom_geni_serial: No need to stop tx/rx on UART shutdown") in order to
-be able to use kgdb after stopping the getty.
-
-Not only did this again break kgdb, but it also broke serial consoles
-more generally by hanging TX when stopping the getty during reboot.
-
-The underlying problem has been there since the driver was first merged
-and fixing it is going to be a bit involved so simply stop calling the
-broken stop functions during shutdown for consoles for now.
-
-Fixes: d8aca2f96813 ("tty: serial: qcom-geni-serial: stop operations in progress at shutdown")
-Cc: stable <stable@kernel.org>
-Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
-Reviewed-by: Douglas Anderson <dianders@chromium.org>
-Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
-Tested-by: Andrew Halaney <ahalaney@redhat.com> # sa8540p-ride
-Link: https://lore.kernel.org/r/20230307164405.14218-2-johan+linaro@kernel.org
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -891,6 +891,10 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+
-+ if (uart_console(uport))
-+ return;
-+
- qcom_geni_serial_stop_tx(uport);
- qcom_geni_serial_stop_rx(uport);
- }
serial-8250_em-fix-uart-port-type.patch
serial-8250_fsl-fix-handle_irq-locking.patch
serial-8250-aspeed_vuart-select-regmap-instead-of-depending-on-it.patch
-tty-serial-qcom-geni-serial-stop-operations-in-progress-at-shutdown.patch
-serial-qcom-geni-fix-console-shutdown-hang.patch
firmware-xilinx-don-t-make-a-sleepable-memory-allocation-from-an-atomic-context.patch
memory-tegra-fix-interconnect-registration-race.patch
memory-tegra20-emc-fix-interconnect-registration-race.patch
+++ /dev/null
-From d8aca2f96813d51df574a811eda9a2cbed00f261 Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Date: Thu, 29 Dec 2022 16:50:17 +0100
-Subject: tty: serial: qcom-geni-serial: stop operations in progress at shutdown
-
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-
-commit d8aca2f96813d51df574a811eda9a2cbed00f261 upstream.
-
-We don't stop transmissions in progress at shutdown. This is fine with
-FIFO SE mode but with DMA (support for which we'll introduce later) it
-causes trouble so fix it now.
-
-Fixes: e83766334f96 ("tty: serial: qcom_geni_serial: No need to stop tx/rx on UART shutdown")
-Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
-Link: https://lore.kernel.org/r/20221229155030.418800-2-brgl@bgdev.pl
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/tty/serial/qcom_geni_serial.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/tty/serial/qcom_geni_serial.c
-+++ b/drivers/tty/serial/qcom_geni_serial.c
-@@ -891,6 +891,8 @@ static int setup_fifos(struct qcom_geni_
- static void qcom_geni_serial_shutdown(struct uart_port *uport)
- {
- disable_irq(uport->irq);
-+ qcom_geni_serial_stop_tx(uport);
-+ qcom_geni_serial_stop_rx(uport);
- }
-
- static int qcom_geni_serial_port_setup(struct uart_port *uport)