lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv4 0/7] Serial port generic PM to fix 8250 PM
Date
Hi,

Here are v4 patches for serial port generic PM. The scope has now expanded
a bit from the earlier attempts to get rid of pm_runtime_irq_safe() for
the 8250_omap driver. I've now picked up three patches from Andy's earlier
generic serial port PM series.

Regards,

Tony

Changes since v3:
- Pick three patches from Andy's earlier serial port PM series to handle
issues pointed out by Johan

Chganges since v2:

- Use locking instead of atomic_t as suggested by Greg

Changes since v1:

- Separated out line discipline patches, n_tty -EAGAIN change I still
need to retest

- Changed prep_tx() to more generic wakeup() as also flow control needs it

- Changed over to using wakeup() with device driver runtime PM instead
of write_room()

- Added runtime_suspended flag for drivers and generic serial layer PM
to use

Andy Shevchenko (3):
serial: core: Add support of runtime PM
serial: 8250_port: properly handle runtime PM in IRQ
serial: 8250_port: Remove calls to runtime PM

Tony Lindgren (4):
serial: core: Add wakeup() and start_pending_tx() for asynchronous
wake
serial: 8250: Implement wakeup for TX and use it for 8250_omap
serial: 8250_omap: Require a valid wakeirq for deeper idle states
serial: 8250_omap: Drop the use of pm_runtime_irq_safe()

Documentation/driver-api/serial/driver.rst | 9 +
drivers/tty/serial/8250/8250.h | 3 -
drivers/tty/serial/8250/8250_omap.c | 44 +++--
drivers/tty/serial/8250/8250_port.c | 151 ++++++++--------
drivers/tty/serial/serial_core.c | 199 +++++++++++++++++++--
include/linux/serial_core.h | 3 +
6 files changed, 305 insertions(+), 104 deletions(-)

--
2.33.1

\
 
 \ /
  Last update: 2021-11-15 09:42    [W:0.367 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site