Page MenuHomeFreeBSD

Pass the ACPI ID when reading the ACPI domain
ClosedPublic

Authored by andrew on Oct 18 2021, 10:39 AM.

Details

Summary

The ACPI ID may not be the same as the FreeBSD CPU id. Use the former
when finding the CPU domain as there is no requirement for it to be
identical to the latter.

Reported by: dch, kevans

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

andrew retitled this revision from Use pass the ACPI ID when reading the ACPI domain to Pass the ACPI ID when reading the ACPI domain.Oct 18 2021, 11:01 AM

Looks good to me. Any other places we make this mistake?

This revision is now accepted and ready to land.Oct 18 2021, 2:14 PM

Use the correct UID value

This revision now requires review to proceed.Oct 18 2021, 3:01 PM

This one boots fine here, and acpi uid is consistent with what we're adding in acpi_pxm.c (thanks!)

This revision is now accepted and ready to land.Oct 18 2021, 3:12 PM