[Bug 219590] Linux 6.13 ucsi driver error: drivers/usb/typec/ucsi/ucsi.c:1374 ucsi_reset_ppm

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=219590

Fedor Pchelkin (pchelkin@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pchelkin@xxxxxxxxx

--- Comment #7 from Fedor Pchelkin (pchelkin@xxxxxxxxx) ---
Hi,

is this warning reproducible on your system only during the initial
startup/booting the kernel? If you then manually load/unload 'ucsi_acpi'
module, are there any errors observed in the log?

Do you have something like the following in the kernel log (dmesg)? Does it
happen when the WARNING occurs or when it does not occur?

[    6.482546] ucsi_acpi USBC000:00: failed to reset PPM!
[    6.482551] ucsi_acpi USBC000:00: error -ETIMEDOUT: PPM init failed

I've also encountered these "failed to init PPM" errors and the WARNING. Looks
like PPM is not quickly responsive at the kernel startup phase. That's strange
but as a straightforward solution the attached patch helped me. It turns out
that it takes around 8000ms for the PPM on my laptop to start responding during
kernel startup when the selected timeout in the code is 5000ms. You can check
the patch. If it still won't help, try increasing the timeout some more.
Otherwise, the cause seems to be hidden in another place..

Also checked various kernels, and "failed to init PPM" errors go back to 5.12
kernel at least on my system so that's probably not a recent regression. I'm
not talking about the WARNING - it appeared much-much later and probably just
revealed the problem clearer.

See https://lore.kernel.org/linux-usb/Z18hJM55ED2hYJ6D@lappy/t/#u

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux