linux_dsm_epyc7002/arch/csky/kernel
Guo Ren aefd9461d3 csky: Fixup cpu speculative execution to IO area
For the memory size ( > 512MB, < 1GB), the MSA setting is:

 - SSEG0: PHY_START        , PHY_START + 512MB
 - SSEG1: PHY_START + 512MB, PHY_START + 1GB

But the real memory is no more than 1GB, there is a gap between the
end size of memory and border of 1GB. CPU could speculatively
execute to that gap and if the gap of the bus couldn't respond to
the CPU request, then the crash will happen.

Now make the setting with:

 - SSEG0: PHY_START        , PHY_START + 512MB (no change)
 - SSEG1: Disabled (We use highmem to use the memory of 512MB~1GB)

We also deprecated zhole_szie[] settings, it's only used by arm
style CPUs. All memory gap should use Reserved setting of dts in
csky system.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
2020-04-03 12:40:07 +08:00
..
probes csky: Add uprobes support 2020-04-03 11:37:51 +08:00
asm-offsets.c csky: Implement ftrace with regs 2020-03-08 20:55:14 +08:00
atomic.S csky: Set regs->usp to kernel sp, when the exception is from kernel 2020-02-21 15:43:24 +08:00
cpu-probe.c csky: Exception handling and mm-fault 2018-10-25 23:36:19 +08:00
dumpstack.c csky: Fixup dead loop in show_stack 2019-02-13 09:48:14 +08:00
entry.S csky: Add uprobes support 2020-04-03 11:37:51 +08:00
ftrace.c csky/ftrace: Fixup ftrace_modify_code deadlock without CPU_HAS_ICACHE_INS 2020-03-31 22:15:42 +08:00
head.S csky: Fixup cpu speculative execution to IO area 2020-04-03 12:40:07 +08:00
irq.c csky: IRQ handling 2018-10-26 00:54:22 +08:00
Makefile csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
module.c csky: fixup compile error with CPU 810. 2019-01-10 04:37:37 -08:00
perf_callchain.c csky: Add perf callchain support 2019-04-22 13:44:57 +08:00
perf_event.c csky: Move static keyword to the front of declaration 2019-09-30 11:50:49 +08:00
perf_regs.c csky: Add support for perf registers sampling 2019-04-22 13:44:57 +08:00
power.c csky: Library functions 2018-10-26 00:54:24 +08:00
process.c csky: Implement copy_thread_tls 2020-02-21 15:43:25 +08:00
ptrace.c csky: Implement ptrace regs and stack API 2020-03-08 20:55:14 +08:00
setup.c csky: Fixup cpu speculative execution to IO area 2020-04-03 12:40:07 +08:00
signal.c csky: Add uprobes support 2020-04-03 11:37:51 +08:00
smp.c csky: Fixup cpu speculative execution to IO area 2020-04-03 12:40:07 +08:00
stacktrace.c csky: stacktrace supported. 2018-12-31 23:12:22 +08:00
syscall_table.c csky: System Call 2018-10-25 23:36:19 +08:00
syscall.c csky: System Call 2018-10-25 23:36:19 +08:00
time.c csky: Replace <linux/clk-provider.h> by <linux/of_clk.h> 2020-02-23 12:48:55 +08:00
traps.c csky: Add uprobes support 2020-04-03 11:37:51 +08:00
vdso.c csky: VDSO and rt_sigreturn 2018-10-26 00:54:22 +08:00
vmlinux.lds.S csky: Tightly-Coupled Memory or Sram support 2020-02-21 15:43:24 +08:00