Re: [PATCH 6/7] serial: 8250_omap: Drop the use of pm_runtime_irq_safe()

From: Johan Hovold
Date: Tue Nov 30 2021 - 05:42:34 EST


On Mon, Nov 15, 2021 at 10:42:02AM +0200, Tony Lindgren wrote:
> We can finally drop the pm_runtime_irq_safe() usage for 8250_omap driver.
>
> We already have the serial layer RX wake path fixed for power management.
> We no longer allow deeper idle states unless the kernel console has been
> detached, and we require that the RX wakeirq is configured.
>
> For TX path, we now use the prep_tx() and uart_flush_tx() calls.

Looks like this commit message is outdated. These functions no longer
exist.

> To drop pm_runtime_irq_safe(), we remove all PM runtime calls from the
> interrupt context. If we ever see an interrupt for an idled port, we just
> bail out.
>
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>

Johan