acrn-kernel/arch/mips/loongson64
Jiaxun Yang b4e440cf60 MIPS: Loongson64: Enable DMA noncoherent support
commit edc0378eee00200a5bedf1bb9f00ad390e0d1bd4 upstream.

There are some Loongson64 systems come with broken coherent DMA
support, firmware will set a bit in boot_param and pass nocoherentio
in cmdline.

However nonconherent support was missed out when spin off Loongson-2EF
form Loongson64, and that boot_param change never made itself into
upstream.

Support DMA noncoherent properly to get those systems working.

Cc: stable@vger.kernel.org
Fixes: 71e2f4dd5a ("MIPS: Fork loongson2ef from loongson64")
Signed-off-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>
2023-12-13 18:39:29 +01:00
..
Kconfig
Makefile
Platform
boardinfo.c
cop2-ex.c
cpucfg-emul.c
dma.c
env.c MIPS: Loongson64: Enable DMA noncoherent support 2023-12-13 18:39:29 +01:00
hpet.c
init.c MIPS: Loongson64: Handle more memory types passed from firmware 2023-12-13 18:39:29 +01:00
numa.c
pm.c
reset.c
setup.c
smp.c
smp.h
time.c
vbios_quirk.c