[PATCH v2 0/2] serial: 8250_port: Update runtime PM flow

Andy Shevchenko posted 2 patches 4 days, 11 hours ago
drivers/tty/serial/8250/8250_port.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
[PATCH v2 0/2] serial: 8250_port: Update runtime PM flow
Posted by Andy Shevchenko 4 days, 11 hours ago
There are two changes, one is a straightforward drop of the duplicate
runtime PM call (which is idempotent and hence it's harmless to call,
but practically no need to do so) and the other addresses long standing
problem with potentially sleeping PM calls on some system in IRQ context.
Also the latter might lead to unneeded resume-suspend cycle when IRQ is
shared and interrupt is not ours. This mini-series to update runtime
PM flow to make sure this won't happen.

In v2:
- removed now unused local variable (Greg)

v1: <20260814112435.3290545-1-andriy.shevchenko@linux.intel.com>

Andy Shevchenko (2):
  serial: 8250_port: Remove redundant pm_runtime_mark_last_busy() call
  serial: 8250_port: properly handle runtime PM in IRQ

 drivers/tty/serial/8250/8250_port.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

-- 
2.50.1