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>
This commit is contained in:
parent
9c43783c70
commit
a202bf71f0
|
@ -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:
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue