diff options
author | Paul Cercueil <paul@crapouillou.net> | 2021-05-30 18:17:55 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-06-01 11:44:46 +0200 |
commit | 1660710cf5d8d44ec351a5df57c35516f1fbf5e0 (patch) | |
tree | 591624fadbf915c66cef78f5afc7d5c35ae4833c /lib/mpi/mpi-sub-ui.c | |
parent | c8ba52d1b7e317c54d461970e4bdeec10ea1d9c4 (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 <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions