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, Mar 21, 10:41 PM
Unknown Object (File)
Tue, Mar 18, 11:51 PM
Unknown Object (File)
Feb 19 2025, 4:51 AM
Unknown Object (File)
Jan 27 2025, 6:07 PM
Unknown Object (File)
Jan 18 2025, 1:46 AM
Unknown Object (File)
Jan 15 2025, 3:42 PM
Unknown Object (File)
Dec 5 2024, 3:47 AM
Unknown Object (File)
Dec 1 2024, 12:27 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
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.