acpi_spmc(4): Remove XXX from a comment about retrieving constraints

There is really nothing we can do about a DSM function that works on
first call but fails on subsequent calls, except calling it only once,
which we already do.

While here, soften the comment message, as failure was observed with
some specific machines only.

No functional change.

Reviewed by:    emaste, obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56799
This commit is contained in:
Olivier Certner
2026-05-04 13:56:52 +02:00
parent a652d97630
commit beca41dfb5
+1 -1
View File
@@ -451,7 +451,7 @@ acpi_spmc_get_constraints(device_t dev)
dsm_index.regular = DSM_GET_DEVICE_CONSTRAINTS;
}
/* XXX It seems like this DSM fails if called more than once. */
/* It seems like this DSM can fail if called more than once. */
status = acpi_EvaluateDSMTyped(sc->handle, (uint8_t *)&dsm_set->uuid,
dsm_set->revision, dsm_index.i, NULL, &result,
ACPI_TYPE_PACKAGE);