mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 14:16:48 +07:00
abb90a24ea
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> |
||
---|---|---|
.. | ||
vdso | ||
asm-offsets.c | ||
atl2c.c | ||
cacheinfo.c | ||
devtree.c | ||
dma.c | ||
ex-entry.S | ||
ex-exit.S | ||
ex-scall.S | ||
head.S | ||
irq.c | ||
Makefile | ||
module.c | ||
nds32_ksyms.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
stacktrace.c | ||
sys_nds32.c | ||
syscall_table.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |