Page MenuHomeFreeBSD

asmc: prefer MMIO backend over PIO when both are present
ClosedPublic

Authored by seuros on Aug 14 2026, 8:37 AM.
Tags
None
Referenced Files
F174369190: D58839.id184160.diff
Fri, Oct 2, 6:01 PM
Unknown Object (File)
Thu, Oct 1, 5:32 AM
Unknown Object (File)
Tue, Sep 29, 7:16 PM
Unknown Object (File)
Sun, Sep 20, 11:34 AM
Unknown Object (File)
Fri, Sep 11, 1:51 PM
Unknown Object (File)
Wed, Sep 9, 6:32 AM
Unknown Object (File)
Sep 3 2026, 3:30 PM
Unknown Object (File)
Sep 2 2026, 9:33 PM
Subscribers

Details

Summary

T2, T1, and some pre-T1 Macs advertise a legacy PIO
range in the SMC ACPI _CRS alongside a live MMIO window, but the
silicon behind the PIO range is bogus.

Try MMIO first, validate via LDKN >= 2, fall back to PIO if that
fails or no MMIO resource is present. Drop "(T2)" from the backend
message since MMIO isn't T2-exclusive.

MFC: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable