aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2021-05-30 18:17:55 +0100
committerThomas Bogendoerfer <[email protected]>2021-06-01 11:44:46 +0200
commit1660710cf5d8d44ec351a5df57c35516f1fbf5e0 (patch)
tree591624fadbf915c66cef78f5afc7d5c35ae4833c /lib/test_overflow.c
parentc8ba52d1b7e317c54d461970e4bdeec10ea1d9c4 (diff)
MIPS: mm: XBurst CPU requires sync after DMA
I am not sure why this is required, but if this is not enabled, reading from a buffer in which data has been DMA'd may read incorrect values. This used to happen for instance in mmc_app_send_scr() (drivers/mmc/core/sd_ops.c), where data is DMA'd to a buffer then copied by the CPU to a different location. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions