Bug 196415
Summary: | "cannot release Mutex [PATM]" when resuming | ||
---|---|---|---|
Product: | ACPI | Reporter: | Patrik Kullman (patrik.kullman) |
Component: | BIOS | Assignee: | Lv Zheng (lv.zheng) |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | mika.westerberg, pmenzel+bugzilla.kernel.org, rjw, yu.c.chen |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.13-rc1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | acpidump -o acpidump |
Description
Patrik Kullman
2017-07-18 19:46:59 UTC
Hi Patrik, Please upload the acpidump file. It looks like a BIOS table issue from first glance. Let me add acpi expert Lv. Created attachment 257691 [details]
acpidump -o acpidump
acpidump
If the table was correct and wasn't customized, decoded _Q66 is as follows: Method (_Q66, 0, NotSerialized) // _Qxx: EC Query { Acquire (PATM, 0x0064) If ((ECRD == One)) { NEVT () } Release (PATM) Return (Zero) } Again if the table was correct, it looks the mutex mechanism failed to work properly throughout suspend/resume process. Then this looks not a BIOS table issue. Please also upload full dmesg output containing this problematic suspend/resume process and boot with acpi.trace_state=enable here. You need to configure CONFIG_ACPI_DEBUG and recompile the kernel. I have not done something else than acpidump with the table - how can it be customized? Will try to get a hold of an acpi debug kernel, have prepared with the boot parameter. Then we need to debug, could you check comment 4 and continue? This evidently is an AML bug. The code quoted in comment #3 uses Acquire() with a timeout, but it doesn't check the return value and invokes Release() even if the mutex wasn't actually acquired due to the timeout. That invocation of Release() is what ACPICA is complaining about with quite arguably is correct. Thanks to Mika for input here and closing as invalid. This was literally updated during my kernel compile :) So this bug should be reported where? Dell for a BIOS update? What's AML ? You should have no functional problem with such error. On Monday, August 7, 2017 11:13:24 PM CEST bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=196415 > > --- Comment #8 from Patrik Kullman (patrik.kullman@gmail.com) --- > This was literally updated during my kernel compile :) > > So this bug should be reported where? > > Dell for a BIOS update? What's AML ? The code provided by the firmware to be executed by the kernel. IOW, firmware issue, so yes, Dell for BIOS update. *** This bug has been marked as a duplicate of bug 194031 *** |