Skip to content

Commit a202bf7

Browse files
Lichao Liutsbogend
authored andcommitted
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: [email protected] Signed-off-by: Lichao Liu <[email protected]> Reviewed-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 9c43783 commit a202bf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/mm/dma-noncoherent.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ static inline bool cpu_needs_post_dma_flush(void)
3333
case CPU_R10000:
3434
case CPU_R12000:
3535
case CPU_BMIPS5000:
36+
case CPU_LOONGSON2EF:
3637
return true;
3738
default:
3839
/*

0 commit comments

Comments
 (0)