Page MenuHomeFreeBSD

acpi_spmc: Fix checking expected DSMs
ClosedPublic

Authored by obiwac on Mar 24 2026, 7:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 17, 12:11 PM
Unknown Object (File)
Sat, Aug 15, 10:00 PM
Unknown Object (File)
Fri, Aug 14, 11:28 AM
Unknown Object (File)
Thu, Aug 13, 12:47 AM
Unknown Object (File)
Wed, Aug 12, 11:03 AM
Unknown Object (File)
Mon, Aug 10, 12:12 PM
Unknown Object (File)
Sat, Aug 8, 2:29 AM
Unknown Object (File)
Fri, Aug 7, 11:11 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