- Use ACPI style for _DSM evaluation helper parameter types.
- Constify UUID parameter.
- Increase size of returned DSM function bitmap by acpi_DSMQuery() up to 64 item. Old limit of 8 functions is not sufficient for JEDEC JESD245 NVDIMM devices: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/-dsm-interface-for-byte-addressable-energy-backed-function-class--function-interface-1-
- Add new acpi_EvaluateDSMTyped() helper which performs additional return value type check as compared with acpi_EvaluateDSM()
- Reimplement acpi_EvaluateDSM() on top of acpi_EvaluateDSMTyped() call.
Details
Details
- Reviewers
scottph bwidawsk manu - Commits
- rS367231: acpi: Tweak _DSM method evaluation helpers.
Run known _DSM method consumers: nvdimm(4), sysutil/iichid, drm-kmod
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/acpica/acpi.c | ||
---|---|---|
2667 ↗ | (On Diff #77672) | Perhaps change 8 here to sizeof(ret). With or without, change looks good to me. |