mirror of https://gitee.com/openkylin/linux.git
68ca3e537f
The current implementation of copy_to_user_page() gives "vaddr" to the cache instruction when trying to sync the icache with the dcache. If vaddr does not exist in the TLB, the CPU will silently abort the operation, which may result in the caches staying out of sync. To fix this, pass the "dst" parameter to flush_icache_range() instead -- we know this is valid because we just wrote to it. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> |
||
---|---|---|
.. | ||
Makefile | ||
cache.c | ||
clear_page.S | ||
copy_page.S | ||
dma-coherent.c | ||
fault.c | ||
init.c | ||
ioremap.c | ||
tlb.c |