Page MenuHomeFreeBSD

acpi_spmc(4): Factor out printing DSM call error, delineate function
ClosedPublic

Authored by olce on May 4 2026, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 6, 7:10 PM
Unknown Object (File)
Fri, Jul 3, 7:17 AM
Unknown Object (File)
Tue, Jun 23, 2:28 PM
Unknown Object (File)
Sun, Jun 21, 11:57 PM
Unknown Object (File)
Wed, Jun 17, 9:48 AM
Unknown Object (File)
Mon, Jun 15, 4:32 PM
Unknown Object (File)
Mon, Jun 15, 3:16 PM
Unknown Object (File)
Fri, Jun 12, 8:40 PM
Subscribers

Details

Summary

Introduce failed_to_call_dsm(), which prepends "function" before the
function index for better clarity. For now, it prints the function
number, as before, but will soon print a human-readable name.

Diff Detail

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

Event Timeline

olce requested review of this revision.May 4 2026, 8:30 PM
This revision is now accepted and ready to land.May 7 2026, 2:35 AM
  • Take the softc instead of the device.
  • Remove passing the caller's name (does not give much more information, since apart from retrieving the constraints, all other calls are through the same function; and a later revision prints the DSM function's name, which is much more meaningful).
This revision now requires review to proceed.May 7 2026, 7:44 PM
This revision is now accepted and ready to land.May 10 2026, 7:56 AM

Impacts of change in D56803, no real change.

This revision now requires review to proceed.May 12 2026, 1:27 PM
This revision is now accepted and ready to land.May 12 2026, 2:04 PM