Page MenuHomeFreeBSD

acpi_spmc: Fix checking expected DSMs
ClosedPublic

Authored by obiwac on Mar 24 2026, 7:29 AM.
Tags
None
Referenced Files
F154283602: D56061.id.diff
Mon, Apr 27, 2:33 PM
Unknown Object (File)
Sat, Apr 18, 12:20 PM
Unknown Object (File)
Thu, Apr 16, 11:45 AM
Unknown Object (File)
Tue, Apr 14, 9:07 AM
Unknown Object (File)
Sat, Apr 11, 11:56 AM
Unknown Object (File)
Wed, Apr 8, 9:58 AM
Unknown Object (File)
Sun, Apr 5, 7:09 PM
Unknown Object (File)
Wed, Apr 1, 10:39 AM
Subscribers

Details

Summary

Previously was or'ing the indices of the DSMs directly, not their corresponding bits. This commit rectifies this.

Sponsored by: The FreeBSD Foundation

Test Plan

dsms_expected for AMD and MS DSM sets are now equivalent (except for the enum functions bit, which we remove in acpi_spmc_check_dsm_set()) to what's returned in the enum functions DSM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71686
Build 68569: arc lint + arc unit