Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls
@ 2026-10-31 17:09 Joshua Crofts
  2026-10-31 17:09 ` [PATCH 1/5] serial: 8250_omap: remove redunant " Joshua Crofts
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Joshua Crofts @ 2026-10-31 17:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel, Joshua Crofts

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function calls.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
Joshua Crofts (5):
      serial: 8250_omap: remove redunant pm_runtime_dont_use_autosuspend() calls
      serial: fsl_lpuart: remove redundant pm_runtime_dont_use_autosuspend() calls
      serial: xilinx_uartps: remove redundant pm_runtime_dont_use_autosuspend() calls
      serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls
      serial: uartlite: remove redundant pm_runtime_dont_use_autosuspend() calls

 drivers/tty/serial/8250/8250_omap.c | 2 --
 drivers/tty/serial/fsl_lpuart.c     | 2 --
 drivers/tty/serial/serial_port.c    | 1 -
 drivers/tty/serial/uartlite.c       | 1 -
 drivers/tty/serial/xilinx_uartps.c  | 2 --
 5 files changed, 8 deletions(-)
---
base-commit: d135ab453a7400a34930bdda1ef4bdc8acfac80e
change-id: 20261031-tty-dont-use-autosuspend-removal-e821bc1ec476

Best regards,
-- 
Joshua Crofts



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

* [PATCH 1/5] serial: 8250_omap: remove redunant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
@ 2026-10-31 17:09 ` Joshua Crofts
  2026-10-31 17:09 ` [PATCH 2/5] serial: fsl_lpuart: remove redundant " Joshua Crofts
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Joshua Crofts @ 2026-10-31 17:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel, Joshua Crofts

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function calls.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/tty/serial/8250/8250_omap.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c
index 29a203ed93fd..5d6911b1a2b0 100644
--- a/drivers/tty/serial/8250/8250_omap.c
+++ b/drivers/tty/serial/8250/8250_omap.c
@@ -1608,7 +1608,6 @@ static int omap8250_probe(struct platform_device *pdev)
 	return 0;
 err:
 	dev_pm_clear_wake_irq(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 	pm_runtime_put_sync(&pdev->dev);
 	flush_work(&priv->qos_work);
 	pm_runtime_disable(&pdev->dev);
@@ -1631,7 +1630,6 @@ static void omap8250_remove(struct platform_device *pdev)
 	serial8250_unregister_port(up);
 	priv->uport = NULL;
 	dev_pm_clear_wake_irq(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 	pm_runtime_put_sync(&pdev->dev);
 	flush_work(&priv->qos_work);
 	pm_runtime_disable(&pdev->dev);

-- 
2.56.0



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

* [PATCH 2/5] serial: fsl_lpuart: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
  2026-10-31 17:09 ` [PATCH 1/5] serial: 8250_omap: remove redunant " Joshua Crofts
@ 2026-10-31 17:09 ` Joshua Crofts
  2026-10-31 17:09 ` [PATCH 3/5] serial: xilinx_uartps: " Joshua Crofts
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Joshua Crofts @ 2026-10-31 17:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel, Joshua Crofts

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function calls.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/tty/serial/fsl_lpuart.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index c8575c965203..411e14151a50 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2987,7 +2987,6 @@ static int lpuart_probe(struct platform_device *pdev)
 failed_reset:
 	pm_runtime_disable(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 	lpuart_disable_clks(sport);
 	return ret;
 }
@@ -3008,7 +3007,6 @@ static void lpuart_remove(struct platform_device *pdev)
 
 	pm_runtime_disable(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 }
 
 static int lpuart_runtime_suspend(struct device *dev)

-- 
2.56.0



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

* [PATCH 3/5] serial: xilinx_uartps: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
  2026-10-31 17:09 ` [PATCH 1/5] serial: 8250_omap: remove redunant " Joshua Crofts
  2026-10-31 17:09 ` [PATCH 2/5] serial: fsl_lpuart: remove redundant " Joshua Crofts
@ 2026-10-31 17:09 ` Joshua Crofts
  2026-11-02  4:43   ` Shubhrajyoti Datta
  2026-10-31 17:09 ` [PATCH 4/5] serial: port: " Joshua Crofts
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Joshua Crofts @ 2026-10-31 17:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel, Joshua Crofts

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function calls.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/tty/serial/xilinx_uartps.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index a072b75dbaf2..5901517cce5a 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1844,7 +1844,6 @@ static int cdns_uart_probe(struct platform_device *pdev)
 err_out_pm_disable:
 	pm_runtime_disable(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 err_out_clk_notifier:
 #ifdef CONFIG_COMMON_CLK
 	clk_notifier_unregister(cdns_uart_data->uartclk,
@@ -1880,7 +1879,6 @@ static void cdns_uart_remove(struct platform_device *pdev)
 	clk_disable_unprepare(cdns_uart_data->pclk);
 	pm_runtime_disable(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 	device_init_wakeup(&pdev->dev, false);
 
 #ifdef CONFIG_SERIAL_XILINX_PS_UART_CONSOLE

-- 
2.56.0



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

* [PATCH 4/5] serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
                   ` (2 preceding siblings ...)
  2026-10-31 17:09 ` [PATCH 3/5] serial: xilinx_uartps: " Joshua Crofts
@ 2026-10-31 17:09 ` Joshua Crofts
  2026-10-31 17:09 ` [PATCH 5/5] serial: uartlite: " Joshua Crofts
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Joshua Crofts @ 2026-10-31 17:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel, Joshua Crofts

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function call.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/tty/serial/serial_port.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/serial_port.c b/drivers/tty/serial/serial_port.c
index 2fc48cd63f6c..c6243b8fd58a 100644
--- a/drivers/tty/serial/serial_port.c
+++ b/drivers/tty/serial/serial_port.c
@@ -128,7 +128,6 @@ static int serial_port_probe(struct device *dev)
 
 static int serial_port_remove(struct device *dev)
 {
-	pm_runtime_dont_use_autosuspend(dev);
 	pm_runtime_disable(dev);
 
 	return 0;

-- 
2.56.0



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

* [PATCH 5/5] serial: uartlite: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
                   ` (3 preceding siblings ...)
  2026-10-31 17:09 ` [PATCH 4/5] serial: port: " Joshua Crofts
@ 2026-10-31 17:09 ` Joshua Crofts
  2026-11-02  4:46   ` Shubhrajyoti Datta
  2026-11-16 14:32 ` [PATCH 0/5] tty: serial: " Joshua Crofts
  2026-12-01 14:48 ` Joshua Crofts
  6 siblings, 1 reply; 10+ messages in thread
From: Joshua Crofts @ 2026-10-31 17:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel, Joshua Crofts

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function call.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/tty/serial/uartlite.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index 6240c3d4dfd7..e7e2fd2b7c59 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -898,7 +898,6 @@ static void ulite_remove(struct platform_device *pdev)
 	ulite_release(&pdev->dev);
 	pm_runtime_disable(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
-	pm_runtime_dont_use_autosuspend(&pdev->dev);
 }
 
 /* work with hotplug and coldplug */

-- 
2.56.0



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

* Re: [PATCH 3/5] serial: xilinx_uartps: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 ` [PATCH 3/5] serial: xilinx_uartps: " Joshua Crofts
@ 2026-11-02  4:43   ` Shubhrajyoti Datta
  0 siblings, 0 replies; 10+ messages in thread
From: Shubhrajyoti Datta @ 2026-11-02  4:43 UTC (permalink / raw)
  To: Joshua Crofts
  Cc: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard,
	linux-kernel, linux-serial, linux-arm-kernel

On Sat, Oct 31, 2026 at 10:40 PM Joshua Crofts <crofts@kernel.org> wrote:
>
> Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
> driver core is now responsible for undoing any
> pm_runtime_use_autosuspend() calls on driver exit.
>
> Remove the redundant function calls.
>
> Signed-off-by: Joshua Crofts <crofts@kernel.org>
> ---
Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>


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

* Re: [PATCH 5/5] serial: uartlite: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 ` [PATCH 5/5] serial: uartlite: " Joshua Crofts
@ 2026-11-02  4:46   ` Shubhrajyoti Datta
  0 siblings, 0 replies; 10+ messages in thread
From: Shubhrajyoti Datta @ 2026-11-02  4:46 UTC (permalink / raw)
  To: Joshua Crofts
  Cc: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard,
	linux-kernel, linux-serial, linux-arm-kernel

On Sat, Oct 31, 2026 at 10:40 PM Joshua Crofts <crofts@kernel.org> wrote:
>
> Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
> driver core is now responsible for undoing any
> pm_runtime_use_autosuspend() calls on driver exit.
>
> Remove the redundant function call.
>
> Signed-off-by: Joshua Crofts <crofts@kernel.org>
> ---
Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>


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

* Re: [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
                   ` (4 preceding siblings ...)
  2026-10-31 17:09 ` [PATCH 5/5] serial: uartlite: " Joshua Crofts
@ 2026-11-16 14:32 ` Joshua Crofts
  2026-12-01 14:48 ` Joshua Crofts
  6 siblings, 0 replies; 10+ messages in thread
From: Joshua Crofts @ 2026-11-16 14:32 UTC (permalink / raw)
  To: Joshua Crofts
  Cc: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard,
	linux-kernel, linux-serial, linux-arm-kernel

On Sat, 31 Oct 2026 at 18:10, Joshua Crofts <crofts@kernel.org> wrote:
>
> Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
> driver core is now responsible for undoing any
> pm_runtime_use_autosuspend() calls on driver exit.
>
> Remove the redundant function calls.
>
> Signed-off-by: Joshua Crofts <crofts@kernel.org>
> ---
> Joshua Crofts (5):
>       serial: 8250_omap: remove redunant pm_runtime_dont_use_autosuspend() calls
>       serial: fsl_lpuart: remove redundant pm_runtime_dont_use_autosuspend() calls
>       serial: xilinx_uartps: remove redundant pm_runtime_dont_use_autosuspend() calls
>       serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls
>       serial: uartlite: remove redundant pm_runtime_dont_use_autosuspend() calls
>
>  drivers/tty/serial/8250/8250_omap.c | 2 --
>  drivers/tty/serial/fsl_lpuart.c     | 2 --
>  drivers/tty/serial/serial_port.c    | 1 -
>  drivers/tty/serial/uartlite.c       | 1 -
>  drivers/tty/serial/xilinx_uartps.c  | 2 --
>  5 files changed, 8 deletions(-)

Hi, gentle ping on this series, thanks!

--
Kind regards,
Joshua Crofts


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

* Re: [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls
  2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
                   ` (5 preceding siblings ...)
  2026-11-16 14:32 ` [PATCH 0/5] tty: serial: " Joshua Crofts
@ 2026-12-01 14:48 ` Joshua Crofts
  6 siblings, 0 replies; 10+ messages in thread
From: Joshua Crofts @ 2026-12-01 14:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Michal Simek, Peter Korsgaard
  Cc: linux-kernel, linux-serial, linux-arm-kernel

On 31-Oct-26 18:09, Joshua Crofts wrote:
> Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
> driver core is now responsible for undoing any
> pm_runtime_use_autosuspend() calls on driver exit.
> 
> Remove the redundant function calls.
> 
> Signed-off-by: Joshua Crofts <crofts@kernel.org>
> ---
> Joshua Crofts (5):
>       serial: 8250_omap: remove redunant pm_runtime_dont_use_autosuspend() calls
>       serial: fsl_lpuart: remove redundant pm_runtime_dont_use_autosuspend() calls
>       serial: xilinx_uartps: remove redundant pm_runtime_dont_use_autosuspend() calls
>       serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls
>       serial: uartlite: remove redundant pm_runtime_dont_use_autosuspend() calls
> 
>  drivers/tty/serial/8250/8250_omap.c | 2 --
>  drivers/tty/serial/fsl_lpuart.c     | 2 --
>  drivers/tty/serial/serial_port.c    | 1 -
>  drivers/tty/serial/uartlite.c       | 1 -
>  drivers/tty/serial/xilinx_uartps.c  | 2 --
>  5 files changed, 8 deletions(-)
> ---
> base-commit: d135ab453a7400a34930bdda1ef4bdc8acfac80e
> change-id: 20261031-tty-dont-use-autosuspend-removal-e821bc1ec476
> 
> Best regards,

Hi, another gentle ping, thanks.

-- 
Kind regards,
Joshua Crofts


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

end of thread, other threads:[~2026-12-01 14:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-31 17:09 [PATCH 0/5] tty: serial: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
2026-10-31 17:09 ` [PATCH 1/5] serial: 8250_omap: remove redunant " Joshua Crofts
2026-10-31 17:09 ` [PATCH 2/5] serial: fsl_lpuart: remove redundant " Joshua Crofts
2026-10-31 17:09 ` [PATCH 3/5] serial: xilinx_uartps: " Joshua Crofts
2026-11-02  4:43   ` Shubhrajyoti Datta
2026-10-31 17:09 ` [PATCH 4/5] serial: port: " Joshua Crofts
2026-10-31 17:09 ` [PATCH 5/5] serial: uartlite: " Joshua Crofts
2026-11-02  4:46   ` Shubhrajyoti Datta
2026-11-16 14:32 ` [PATCH 0/5] tty: serial: " Joshua Crofts
2026-12-01 14:48 ` Joshua Crofts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox