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
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
Unknown Object (File)
Wed, Sep 17, 9:53 AM
Unknown Object (File)
Wed, Sep 17, 9:53 AM
Unknown Object (File)
Thu, Sep 11, 12:25 AM
Unknown Object (File)
Sep 7 2025, 8:53 PM
Unknown Object (File)
Aug 21 2025, 2:16 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.