Page MenuHomeFreeBSD

Create parent bus_dma tags to mark the bus as cache-coherent
ClosedPublic

Authored by andrew on May 27 2016, 1:20 PM.
Tags
None
Referenced Files
F100467798: D6605.diff
Tue, Oct 15, 8:33 PM
Unknown Object (File)
Mon, Sep 30, 4:34 AM
Unknown Object (File)
Sun, Sep 22, 8:19 AM
Unknown Object (File)
Fri, Sep 20, 6:22 AM
Unknown Object (File)
Tue, Sep 17, 9:18 AM
Unknown Object (File)
Sep 14 2024, 9:50 PM
Unknown Object (File)
Sep 8 2024, 5:30 PM
Unknown Object (File)
Sep 8 2024, 10:11 AM
Subscribers

Details

Summary

This marks the PCIe drivers used on arm64 as cache-coherent when this is
the case. In the ThunxerX cases we hardcode them to be coherent, and
in the generic PCIe driver we check the dma-coherent FDT property to
find if they are coherent.

I have tested this on both Pass 1.1 and 2.0 ThunderX with extra KASSERTs
to check the dma tags are all marked as cache-coherent.

Diff Detail

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

Event Timeline

andrew retitled this revision from to Create parent bus_dma tags to mark the bus as cache-coherent.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: arm64.
andrew added a subscriber: emaste.
This revision was automatically updated to reflect the committed changes.