Page MenuHomeFreeBSD

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

Authored by jhb on Fri, Jul 3, 4:01 PM.
Tags
None
Referenced Files
F161895551: D58024.diff
Tue, Jul 7, 7:38 PM
F161894906: D58024.diff
Tue, Jul 7, 7:30 PM
F161827801: D58024.id181257.diff
Tue, Jul 7, 4:39 AM
F161825339: D58024.id181261.diff
Tue, Jul 7, 4:10 AM
Unknown Object (File)
Mon, Jul 6, 5:03 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 74505
Build 71388: arc lint + arc unit

Event Timeline

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

Fix a malloc type mismatch noted by Claude

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

Why create a fake one?