Thread (24 messages) 24 messages, 5 authors, 2022-04-11

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

From: Johan Hovold <johan@kernel.org>
Date: 2021-11-30 10:42:35
Also in: linux-omap, lkml

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@atomide.com>
Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help