summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5212var.h
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2016-10-02 18:51:45 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2016-10-02 18:51:45 +0000
commit1fd447882b95ebf3b29bca73039223b116c4db2d (patch)
tree125c25ae356e09207256fa5dae58c33d7de68d0f /sys/dev/ic/ar5212var.h
parente2e68a301f2e4c3117bde6fefec46090196ef00c (diff)
Contrary to e. g. the xHCI specification, the AHCI rev. 1.3 spec
does not say anything about which type (snoopable/uncached etc.) of bus transactions are issued by HBAs on accesses to the descriptors. Thus, the right assumption would be "classical" concurrent accesses by both CPU/driver as well as hardware to the descriptors and their DMA memory backings respectively, which is also confirmed by actual testing. Consequently, switch to BUS_DMA_COHERENT mappings for said DMA memory as otherwise corruption of descriptors is seen. From Marius Strobl tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7) ok jmatthew@
Diffstat (limited to 'sys/dev/ic/ar5212var.h')
0 files changed, 0 insertions, 0 deletions