Re: serial 00:06: Runtime PM usage count underflow!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 18, 2024 at 04:14:20PM +0200, Ilpo Järvinen wrote:
> I think "Runtime PM usage count underflow!" is not related to the probe 
> problem you're seeing. Nonetheless, this patch might solve the underflow:
> 
> --
> [PATCH 1/1] tty: serial: 8250: Fix another runtime PM usage counter underflow
> 
> The commit f9b11229b79c ("serial: 8250: Fix PM usage_count for console
> handover") fixed one runtime PM usage counter balance problem that
> occurs because .dev is not set during univ8250 setup preventing call to
> pm_runtime_get_sync(). Later, univ8250_console_exit() will trigger the
> runtime PM usage counter underflow as .dev is already set at that time.
> 
> Call pm_runtime_get_sync() to balance the RPM usage counter also in
> serial8250_register_8250_port() before trying to add the port.
> 
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

Reported-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Tested-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

Thx!

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux