OSDN Git Service

MIPS: CPU_LOONGSON2EF need software to maintain cache consistency
authorLichao Liu <liulichao@loongson.cn>
Thu, 28 May 2020 01:10:31 +0000 (09:10 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 28 May 2020 07:36:31 +0000 (09:36 +0200)
commita202bf71f08b3ef15356db30535e30b03cf23aec
tree166e17b4b6adb1f856a6215d6a297d6952aad1c3
parent9c43783c702fd68c96342e83ed3bb8828484a5e0
MIPS: CPU_LOONGSON2EF need software to maintain cache consistency

CPU_LOONGSON2EF need software to maintain cache consistency,
so modify the 'cpu_needs_post_dma_flush' function to return true
when the cpu type is CPU_LOONGSON2EF.

Cc: stable@vger.kernel.org
Signed-off-by: Lichao Liu <liulichao@loongson.cn>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/mm/dma-noncoherent.c