android_kernel_samsung_sm8650/arch/mips/include/asm/mach-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
..
boot_param.h MIPS: Loongson64: Enable DMA noncoherent support 2023-12-13 18:39:29 +01:00
builtin_dtbs.h MIPS: Loongson64: DeviceTree for Loongson-2K1000 2021-03-25 10:44:00 +01:00
cpu-feature-overrides.h MIPS: Remove TX39XX support 2022-03-01 10:07:22 +01:00
cpucfg-emul.h MIPS: Loongson64: Guard against future cores without CPUCFG 2020-05-31 10:52:42 +02:00
irq.h irqchip/loongson-liointc: Add ACPI init support 2022-07-20 12:09:21 +01:00
kernel-entry-init.h MIPS: Loongson64: Use three arguments for slti 2021-12-09 10:27:27 +01:00
loongson_hwmon.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
loongson_regs.h MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
loongson.h MIPS: Loongson64: Distinguish firmware dependencies DTB/LEFI 2021-03-25 10:44:01 +01:00
mmzone.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
pci.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
spaces.h MIPS: Loongson64: Enlarge IO_SPACE_LIMIT 2020-07-28 22:49:53 +02:00
topology.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
workarounds.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00