Bug 217960 - Linux 6.5.5 - kernel BUG with ucsi_acpi
Summary: Linux 6.5.5 - kernel BUG with ucsi_acpi
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: Intel Linux
: P3 normal
Assignee: Default virtual assignee for Drivers/USB
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 12:43 UTC by Oleksii Shevchuk
Modified: 2023-10-01 23:40 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg1 (85.26 KB, text/plain)
2023-10-01 12:43 UTC, Oleksii Shevchuk
Details
dmesg2 (84.52 KB, text/plain)
2023-10-01 12:44 UTC, Oleksii Shevchuk
Details
dmesg 6.4.3 (81.31 KB, text/plain)
2023-10-01 14:25 UTC, Oleksii Shevchuk
Details

Description Oleksii Shevchuk 2023-10-01 12:43:35 UTC
After update to linux 6.5.5 I observed several crashes during bootup when USB drive connected to USB-C hub. To find out what has been crashed I enabled EFI pstore. Unfortunately there were no crashes after that. However, there are kernel BUG traces in dmesg. After several experiments I found strong correlation between ucsi_acpi driver and the crash.

I blacklisted:
blacklist typec_ucsi
blacklist ucsi_acpi
blacklist roles
blacklist typec

Two dmesgs are in attachment. 

The messages to search:
ucsi_acpi USBC000:00: possible UCSI driver bug 2
ucsi_acpi USBC000:00: error -EINVAL: PPM init failed
Comment 1 Oleksii Shevchuk 2023-10-01 12:43:53 UTC
Created attachment 305170 [details]
dmesg1
Comment 2 Oleksii Shevchuk 2023-10-01 12:44:06 UTC
Created attachment 305171 [details]
dmesg2
Comment 3 Bagas Sanjaya 2023-10-01 14:06:05 UTC
(In reply to Oleksii Shevchuk from comment #0)
> After update to linux 6.5.5 I observed several crashes during bootup when
> USB drive connected to USB-C hub. To find out what has been crashed I
> enabled EFI pstore. Unfortunately there were no crashes after that. However,
> there are kernel BUG traces in dmesg. After several experiments I found
> strong correlation between ucsi_acpi driver and the crash.
> 
> I blacklisted:
> blacklist typec_ucsi
> blacklist ucsi_acpi
> blacklist roles
> blacklist typec
> 
> Two dmesgs are in attachment. 
> 
> The messages to search:
> ucsi_acpi USBC000:00: possible UCSI driver bug 2
> ucsi_acpi USBC000:00: error -EINVAL: PPM init failed

Do you have this issue on v6.4?
Comment 4 Oleksii Shevchuk 2023-10-01 14:25:15 UTC
No. Here is dmesg from 6.4.3 without blacklists
Comment 5 Oleksii Shevchuk 2023-10-01 14:25:41 UTC
Created attachment 305172 [details]
dmesg 6.4.3
Comment 6 Bagas Sanjaya 2023-10-01 23:40:51 UTC
On 01/10/2023 21:25, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=217960
> 
> --- Comment #4 from Oleksii Shevchuk (alxchk@gmail.com) ---
> No. Here is dmesg from 6.4.3 without blacklists
> 

Then please bisect (see Documentation/admin-guide/bug-bisect.rst
for instructions).

Note You need to log in before you can comment on or make changes to this bug.