Re: [PATCH 2/2] serial: amba-pl011: keep console clock enabled for atomic writes

Karl Mehltretter <[email protected]>
Newsgroups dev.linux.lists.linux-rt-devel,dev.linux.lists.sashiko-reviews,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.