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
F171124604: D34333.diff
Tue, Sep 8, 8:53 PM
F171114706: D34333.id103068.diff
Tue, Sep 8, 7:15 PM
Unknown Object (File)
Sun, Sep 6, 8:05 PM
Unknown Object (File)
Sat, Sep 5, 7:49 PM
Unknown Object (File)
Sat, Sep 5, 7:48 PM
Unknown Object (File)
Sat, Sep 5, 6:34 PM
Unknown Object (File)
Sat, Sep 5, 4:05 PM
Unknown Object (File)
Sat, Sep 5, 3:34 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.