]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ARM: Fix dma_dcache_sync() for early allocated memory.
authorMichal Meloun <mmel@FreeBSD.org>
Wed, 18 Nov 2015 16:07:01 +0000 (16:07 +0000)
committerMichal Meloun <mmel@FreeBSD.org>
Wed, 18 Nov 2015 16:07:01 +0000 (16:07 +0000)
commitbb12cf013757e10676f5d5430f266808f06c39ee
treeb3b7087d7ffdf96f11dbc57e0cf2c89c5211efea
parentcc2ccfbe20c460b58d296dbb48a1fbc17436b7d9
ARM: Fix dma_dcache_sync() for early allocated memory.
Drivers can request DMA to buffers that are not in memory represented
in the vm page arrays. Because of this, store KVA of already mapped
buffer to synclist and use it in dma_dcache_sync().

Reviewed by: jah
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D4120
sys/arm/arm/busdma_machdep-v6.c