]> www.infradead.org Git - users/dwmw2/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:56 +0000 (09:32 +0200)
commit2f34a7314e8deadfc58458a0c347130cfac9230d
treed32751471f94d05b1fb9cdd095aae277503ea714
parent82c923ee6b5cba0b3765e5a7e0a08d4a32b7ac9f
MIPS: CPU_LOONGSON2EF need software to maintain cache consistency

commit a202bf71f08b3ef15356db30535e30b03cf23aec upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/mm/dma-noncoherent.c