[Bug 221065] ideapad_acpi: unexpected charge_types spam on Yoga Pro 7 14ASP9

bugzilla-daemon
2026-02-17T16:28:14Z

--- Comment #41 from Rong Zhang (i@rong.moe) ---
(In reply to Avraham Hollander from comment #36)
> I don't *seem* to be getting the mutex error with it blacklisted. However,
> I'm still getting the original error from ideapad_acpi.

That should be a good sign.

Not making the ideapad-laptop error disappear hints that there must be other
methods holding the ECMT mutex for too long after resuming from s2idle.
Debugging with https://docs.kernel.org/firmware-guide/acpi/debug.html may
reveal more details.

(In reply to Avraham Hollander from comment #39)
> Question: If the problem lies purely in the DSDT, would it not be possible
> to test a fix with a DSDT override? I am open to doing that.
>
> I think it should also be possible to fix these errors with a DSDT patch?

From my perspective, everything built around ECMT is broken. Fixing ECCC, WTER,
and _BTP by overriding DSDT only resolves #2 (see comment #33).

To resolve #1, every method that relies on ECMT must explicitly check the
helper functions' return values and must stop propagating nonsense on error.

Of course, you may lengthen the timeouts of acquiring ECMT and pray for
success...