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
F162997281: D56805.diff
Sun, Jul 19, 1:03 AM
F162982523: D56805.id177640.diff
Sat, Jul 18, 10:08 PM
F162981663: D56805.id177196.diff
Sat, Jul 18, 9:57 PM
F162933553: D56805.id177742.diff
Sat, Jul 18, 11:04 AM
Unknown Object (File)
Sat, Jul 18, 6:47 AM
Unknown Object (File)
Wed, Jul 15, 7:20 AM
Unknown Object (File)
Wed, Jul 15, 7:20 AM
Unknown Object (File)
Sun, Jul 12, 11:44 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 72790
Build 69673: arc lint + arc unit

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