Page MenuHomeFreeBSD

arm64: start defining a std.apple configuration
ClosedPublic

Authored by kevans on Apr 26 2023, 5:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 16, 6:47 PM
Unknown Object (File)
May 5 2024, 7:39 PM
Unknown Object (File)
Apr 25 2024, 11:52 PM
Unknown Object (File)
Apr 25 2024, 11:51 PM
Unknown Object (File)
Apr 25 2024, 11:51 PM
Unknown Object (File)
Apr 25 2024, 11:00 PM
Unknown Object (File)
Apr 20 2024, 12:59 AM
Unknown Object (File)
Mar 30 2024, 2:34 PM

Details

Summary

The M1 has an IOMMU, FDT, and bge to start with. Add a SOC_* option for
the first SoC we'll be supporting.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Apr 26 2023, 6:45 AM
jrtc27 requested changes to this revision.Sep 7 2023, 6:09 PM
jrtc27 added a subscriber: jrtc27.
jrtc27 added inline comments.
sys/arm64/conf/std.apple
8

Doesn't this have the side-effect of enabling IOMMU use for every other platform GENERIC runs on? That code isn't well-tested on arm64.

This revision now requires changes to proceed.Sep 7 2023, 6:09 PM
sys/arm64/conf/std.apple
8

For example, https://github.com/CTSRD-CHERI/cheribsd/pull/1571/commits/f6e9a195422f949585ab40cb8515afab1179b83e is an issue we've found (not yet committed since we still aren't enabling IOMMU use downstream either)

sys/arm64/conf/std.apple
8

I'll remove it pre-commit; the actual IOMMU bits of my DART driver aren't 100% functional anyways, so I'll likely upstream a version of that without the IOMMU integration (i.e. any DART that supports bypass mode will be configured as such so that we at least get some usb ports and stuff with GENERIC)

This revision was not accepted when it landed; it landed in state Needs Revision.Sep 8 2023, 5:57 AM
This revision was automatically updated to reflect the committed changes.