Re: [PATCH 3/3] serial: 8250_dw: Fix clk-notifier/port suspend deadlock

2020-10-17 Thread Jonathan Liu
On Wed, 23 Sep 2020 at 16:19, Serge Semin wrote: > > It has been discovered that there is a potential deadlock between > the clock-change-notifier thread and the UART port suspending one: > >CPU0 (suspend CPU/UART) CPU1 (update clock) > >lock(&por

[PATCH 3/3] serial: 8250_dw: Fix clk-notifier/port suspend deadlock

2020-09-23 Thread Serge Semin
It has been discovered that there is a potential deadlock between the clock-change-notifier thread and the UART port suspending one: CPU0 (suspend CPU/UART) CPU1 (update clock) lock(&port->mutex); lock((work_completion)(