Re: [PATCH 2/2] serial: amba-pl011: keep console clock enabled for atomic writes
From: Karl Mehltretter
Date: Mon Jul 20 2026 - 17:27:46 EST
On Mon, Jul 20, 2026 at 10:26:40AM +0100, Sebastian Andrzej Siewior wrote:
> On 2026-07-20 10:19:58 [+0206], John Ogness wrote:
> > This is what the suspend/resume pm callbacks are for. In this case, it
> > is pl011_suspend() and pl011_resume().
>
> Perfect so everything is in place except for these two.
>
> > > There is also this no_console_suspend argument…
> >
> > Yes, the callbacks need to check @console_suspend_enabled. If false, the
> > clocks obviously must not be disabled.
>
> good.
>
All right, I will send a v2 patch for this.
My testing is limited to QEMU, so I cannot test the power impact or
behaviour of real SoCs.
Karl