linux_dsm_epyc7002/arch/nds32/kernel
Greentime Hu abb90a24ea nds32: To fix a cache inconsistency issue by setting correct cacheability of NTC
The nds32 architecture will use physical memory when interrupt or
exception comes and it will use the setting of NTC0-4. The original
implementation didn't consider the DRAM start address may start from 1GB,
2GB or 3GB to cause this issue. It will write the data to DRAM if it is
running in physical address however kernel will read the data with
virtaul address through data cache. In this case, the data of DRAM is
latest.

This fix will set the correct cacheability to let kernel write/read the
latest data in cache instead of DRAM.

Signed-off-by: Greentime Hu <greentime@andestech.com>
2018-05-23 13:26:22 +08:00
..
vdso nds32: fix building failed if using elf toolchain. 2018-03-16 15:45:22 +08:00
asm-offsets.c nds32: Assembly macros and definitions 2018-02-22 10:44:31 +08:00
atl2c.c nds32: L2 cache support 2018-02-22 10:44:34 +08:00
cacheinfo.c nds32: Cache and TLB routines 2018-02-22 10:44:32 +08:00
devtree.c nds32: Device tree support 2018-02-22 10:44:34 +08:00
dma.c nds32: DMA mapping API 2018-02-22 10:44:32 +08:00
ex-entry.S nds32: Fix build failed because arch_trace_hardirqs_off is changed to trace_hardirqs_off. 2018-05-23 13:26:21 +08:00
ex-exit.S nds32: Exception handling 2018-02-22 10:44:31 +08:00
ex-scall.S nds32: System calls handling 2018-02-22 10:44:33 +08:00
head.S nds32: To fix a cache inconsistency issue by setting correct cacheability of NTC 2018-05-23 13:26:22 +08:00
irq.c nds32: IRQ handling 2018-02-22 10:44:32 +08:00
Makefile nds32: Build infrastructure 2018-02-22 10:44:35 +08:00
module.c nds32: Loadable modules 2018-02-22 10:44:34 +08:00
nds32_ksyms.c nds32: Library functions 2018-02-22 10:44:33 +08:00
process.c nds32: Process management 2018-02-22 10:44:32 +08:00
ptrace.c nds32: Debugging support 2018-02-22 10:44:34 +08:00
setup.c nds32: Fix the virtual address may map too much range by tlbop issue. 2018-05-23 13:26:21 +08:00
signal.c nds32: Signal handling support 2018-02-22 10:44:33 +08:00
stacktrace.c nds32: Fix the symbols undefined issue by exporting them. 2018-05-23 13:26:20 +08:00
sys_nds32.c nds32: System calls handling 2018-02-22 10:44:33 +08:00
syscall_table.c nds32: System calls handling 2018-02-22 10:44:33 +08:00
time.c nds32: Generic timers support 2018-02-22 10:44:34 +08:00
traps.c nds32: To use the generic dump_stack() 2018-03-16 15:45:23 +08:00
vdso.c nds32: VDSO support 2018-02-22 10:44:33 +08:00
vmlinux.lds.S nds32: Build infrastructure 2018-02-22 10:44:35 +08:00