Commit a202bf71 authored by Lichao Liu's avatar Lichao Liu Committed by Thomas Bogendoerfer
Browse files

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: default avatarLichao Liu <liulichao@loongson.cn>
Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 9c43783c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ static inline bool cpu_needs_post_dma_flush(void)
	case CPU_R10000:
	case CPU_R12000:
	case CPU_BMIPS5000:
	case CPU_LOONGSON2EF:
		return true;
	default:
		/*