From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 219590] Linux 6.13 ucsi driver error: drivers/usb/typec/ucsi/ucsi.c:1374 ucsi_reset_ppm
Date: Sat, 01 Feb 2025 21:15:16 +0000 [thread overview]
Message-ID: <bug-219590-208809-2Zjsx8YcDr@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219590-208809@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=219590
Fedor Pchelkin (pchelkin@ispras.ru) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pchelkin@ispras.ru
--- Comment #7 from Fedor Pchelkin (pchelkin@ispras.ru) ---
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.
next prev parent reply other threads:[~2025-02-01 21:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 13:23 [Bug 219590] New: Linux 6.13 ucsi driver error bugzilla-daemon
2024-12-30 21:54 ` [Bug 219590] " bugzilla-daemon
2025-01-01 11:33 ` bugzilla-daemon
2025-01-13 10:26 ` [Bug 219590] Linux 6.13 ucsi driver error: drivers/usb/typec/ucsi/ucsi.c:1374 ucsi_reset_ppm bugzilla-daemon
2025-01-13 12:39 ` bugzilla-daemon
2025-01-13 18:54 ` bugzilla-daemon
2025-01-23 10:43 ` bugzilla-daemon
2025-02-01 21:15 ` bugzilla-daemon [this message]
2025-02-01 21:16 ` bugzilla-daemon
2025-02-01 21:20 ` bugzilla-daemon
2025-02-03 17:24 ` bugzilla-daemon
2025-02-03 17:29 ` bugzilla-daemon
2025-02-03 18:28 ` bugzilla-daemon
2025-02-06 13:22 ` bugzilla-daemon
2025-02-06 13:53 ` bugzilla-daemon
2025-02-18 18:44 ` bugzilla-daemon
2025-03-05 10:28 ` bugzilla-daemon
2025-03-16 19:50 ` bugzilla-daemon
2025-03-17 17:57 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-219590-208809-2Zjsx8YcDr@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).