Page MenuHomeFreeBSD

fix(acpi_panasonic): acquire serial lock before calling hkey_sound_mute in shutdown
ClosedPublic

Authored by guest-seuros on Apr 29 2026, 9:59 PM.
Tags
None
Referenced Files
F163422300: D56718.id177269.diff
Thu, Jul 23, 2:07 AM
Unknown Object (File)
Tue, Jul 21, 4:52 PM
Unknown Object (File)
Thu, Jul 16, 1:24 AM
Unknown Object (File)
Wed, Jul 15, 7:20 AM
Unknown Object (File)
Wed, Jul 15, 7:20 AM
Unknown Object (File)
Fri, Jul 3, 7:13 AM
Unknown Object (File)
Thu, Jul 2, 2:31 AM
Unknown Object (File)
Sat, Jun 27, 2:57 PM
Subscribers

Details

Summary

acpi_panasonic_shutdown() calls hkey_sound_mute() without holding the ACPI serial lock.
Every other call site holds ACPI_SERIAL_BEGIN(panasonic) before calling it, as the locking model is caller-owned.

This seems to affect the whole Panasonic Toughtbook lineup btw.

Test Plan

Boot a Panasonic Notebook with acpi_panasonic loaded. Trigger a clean shutdown and reboot, verify no static audio burst through the speaker.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

guest-seuros held this revision as a draft.
guest-seuros edited the summary of this revision. (Show Details)
guest-seuros edited the test plan for this revision. (Show Details)
guest-seuros added a reviewer: imp.

hkey_sound_mute calls ACPI_SERIAL_ASSERT(..), which I assume is where things panic. This is a pretty straightforward change.

This revision is now accepted and ready to land.May 5 2026, 7:47 PM