Page MenuHomeFreeBSD

Support non-posted MMIO on arm64 with FDT
ClosedPublic

Authored by andrew on Feb 21 2022, 4:52 PM.
Tags
None
Referenced Files
F131790049: D34333.diff
Sat, Oct 11, 4:39 AM
F131775503: D34333.id.diff
Sat, Oct 11, 1:54 AM
F131775496: D34333.id103092.diff
Sat, Oct 11, 1:54 AM
F131775495: D34333.id118358.diff
Sat, Oct 11, 1:54 AM
F131775478: D34333.id103068.diff
Sat, Oct 11, 1:54 AM
F131739439: D34333.diff
Fri, Oct 10, 7:13 PM
Unknown Object (File)
Wed, Oct 8, 8:47 AM
Unknown Object (File)
Sun, Sep 28, 7:47 AM

Details

Summary

To allow hardware to work around a broken memory bus where we need to
support the nonposted-mmio flag.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44529
Build 41417: arc lint + arc unit

Event Timeline

Just a very minor notice . Wouldn't it be better to name the VM memory attribute by function, not by type? Different architectures may have different attribute mapping requirements for the PCI configuration space, and something like a global VM_MEMATTR_PCI_CONFIG (may be aliased to platform specific VM_MEMATTR_DEVICE_NP on arm64) gives us a much better chance of having cross-platform drivers without #ifdef hell.

Stop using ofw_bus_has_prop. It's wrong when the parent isn't an ofw bus.

This revision is now accepted and ready to land.Mar 3 2023, 8:56 PM
This revision was automatically updated to reflect the committed changes.