summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/Kconfig
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2017-11-21 11:18:37 -0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-11-28 21:59:30 +0100
commit219c2db384ffc4877c52bd58e7b55a62b663fed2 (patch)
tree3b78a0b912f65f5c8f096934e811633dc97d1d7a /arch/arm/mach-uniphier/Kconfig
parentc5bf161facd5c10348c7e3963af6bd1cc9a79167 (diff)
MIPS: Ensure cache ops complete in cache maintenance functions
A typical use of cache maintenance functions is to force writeback of data which a device is about to read using DMA - for example a descriptor or command structure. Such users of cache maintenance functions require that operations on the cache have completed before they proceed to instruct a device to read memory. This requires that we place a completion barrier (ie. sync instruction) between the cache ops and whatever write informs the device to perform DMA. Whilst strictly speaking this isn't all users of the cache maintenance functions & we could instead place the barriers in the drivers that require them, it would be much more invasive to do so than to just have the barrier be the default by placing it in the cache functions themselves. The cost is low enough that it shouldn't matter to us in any rare cases that we use the cache functions when not performing DMA. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: u-boot@lists.denx.de
Diffstat (limited to 'arch/arm/mach-uniphier/Kconfig')
0 files changed, 0 insertions, 0 deletions