https://bugzilla.kernel.org/show_bug.cgi?id=221842
Jan Mynařík ([email protected]) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Jan Mynařík ([email protected]) --- (Drafted with AI assistance; the DSDT analysis and logs were checked against the machine.) Same deadlock on an HP ProBook 450 G10 (15.6 inch, board/SysId 8B7C), so it is not limited to the ZBook line. System: - HP ProBook 450 G10, BIOS V72 Ver. 01.13.01 (2026-06-22, the latest in HP's pcbios catalogue for 8B7C), EC firmware 82.67 - Ubuntu 24.04, kernel 7.0.0-31-generic (HWE) when it happened, now 7.0.0-44-generic - Secure Boot on, taint O (VirtualBox modules only, not in any trace) Occurrence: once, on 2026-11-30 at about 03:12, after 80 days of uptime, with a USB-C dock replugged a few hours earlier. At 03:14:43 hung-task reported 10 tasks in D state: - 7 kec_query workers in acpi_ec_event_processor -> ... -> acpi_ex_opcode_2A_0T_1R -> acpi_ex_acquire_mutex -> acpi_os_wait_semaphore - 1 kacpi_notify worker: acpi_battery_notify -> acpi_battery_update -> acpi_bus_get_status -> acpi_evaluate_integer (BAT0._STA) - upowerd: acpi_battery_get_state -> acpi_ds_begin_method_execution (waiting on a method mutex) - thermald: int340x_thermal_get_zone_temp -> acpi_ex_acquire_mutex The "likely last held by" hints form a cycle between two kec_query workers (kworker/6:1 <-> kworker/6:2), and everything else waits on one of them. Nothing recovered. `systemctl stop upower` and `reboot -f` hung too, so a hard power-off was needed. No ACPI Error lines and no EC timeouts were logged. The full hung-task output is attached. The DSDT (OEM Table ID "8B7C", OEM revision 0) has the same GBAP/ECMX inversion described in comment 5: Method (GBAP, 0, Serialized) { Acquire (BTMX, 0xFFFF) If ((GACP & 0x02)) { GACP &= 0x05 Release (BTMX) Acquire (ECMX, 0xFFFF) // GBAP method mutex -> ECMX If (ECRG) { NBAP = BATP } Release (ECMX) } Else { Release (BTMX) } Return (NBAP) } Order A (GBAP method mutex, then ECMX), GBAP called without ECMX held. In _Q18 and _Q08, PWUP() has just set GACP bit 0x02, so GBAP does take ECMX: - _Q18: PWUP (0x06, 0x02); Local0 = GBAP () - _Q08 (first half): PWUP (0x06, One); ... Local0 = GBAP () - BSTA (Serialized): BTDR (One); Local0 = GBAP () <- reached from BAT0._STA (matches the stuck kacpi_notify worker); takes ECMX whenever GACP bit 0x02 is still set Order B (ECMX held, then GBAP method mutex): - _Q09: Acquire (ECMX, 0xFFFF); Local0 = GBAP (); ... Release (ECMX) - _Q08 (second half): Acquire (ECMX, 0xFFFF); If ((GBAP () == One)) ...; Release (ECMX) ECMX is declared Mutex (ECMX, 0x00), so both locks are at SyncLevel 0 and ACPICA's sync-level check doesn't fire, as described in comment 5. The GBAP NotSerialized workaround should apply as is, but I can't use it here because Secure Boot lockdown ignores initrd table overrides. Could the bug title or the affected-hardware list include the ProBook 450 G10 (V72 BIOS line)? I can attach the DSDT or test a kernel-side mitigation if one is proposed. -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ acpi-bugzilla mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla
