Page MenuHomeFreeBSD

acpi: Add a pseudo-bus for APEI devices to manage resources
ClosedPublic

Authored by jhb on Jul 3 2026, 4:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 4:29 PM
Unknown Object (File)
Wed, Aug 12, 8:26 PM
Unknown Object (File)
Wed, Aug 12, 1:54 AM
Unknown Object (File)
Tue, Aug 11, 2:52 AM
Unknown Object (File)
Sun, Aug 9, 6:17 PM
Unknown Object (File)
Sun, Aug 9, 5:42 PM
Unknown Object (File)
Sat, Aug 8, 4:03 PM
Unknown Object (File)
Sat, Aug 8, 12:08 PM
Subscribers
None

Details

Summary

Different APEI tables can reuse the same registers (and sometimes
different views of the same register, e.g. 32- vs 64-bit mappings of
the same register). To enable this sharing, apei0 now acts as a bus
device managing a pool of allocated resources and handing out mappings
to child devices which handle individual tables.

Most of the previous apei(4) driver has been moved into a new
hest0 device that is a child of apei0.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

jhb requested review of this revision.Jul 3 2026, 4:01 PM
jhb created this revision.

Fix a malloc type mismatch noted by Claude

This revision is now accepted and ready to land.Jul 3 2026, 4:49 PM
sys/dev/acpica/acpi_apei_bus.c
114

Why create a fake one?