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
Unknown Object (File)
Fri, May 10, 9:34 PM
Unknown Object (File)
Thu, May 9, 9:32 AM
Unknown Object (File)
Sat, May 4, 12:45 AM
Unknown Object (File)
Fri, May 3, 11:24 PM
Unknown Object (File)
Fri, May 3, 1:50 AM
Unknown Object (File)
Wed, Apr 24, 8:19 PM
Unknown Object (File)
Apr 8 2024, 11:21 AM
Unknown Object (File)
Feb 1 2024, 10:59 PM

Details

Summary

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

Diff Detail

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

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.