linux-sg2042/arch/csky/abiv1
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
..
inc/abi csky: Fixup cpu speculative execution to IO area 2020-04-03 12:40:07 +08:00
Makefile csky: Fixup abiv1 memset error 2019-07-19 14:21:36 +08:00
alignment.c csky: Support kernel non-aligned access 2019-08-20 20:15:44 +08:00
bswapdi.c csky: Library functions 2018-10-26 00:54:24 +08:00
bswapsi.c csky: Library functions 2018-10-26 00:54:24 +08:00
cacheflush.c csky: Fixup 610 vipt cache flush mechanism 2019-08-22 10:44:24 +08:00
memcpy.S csky: Library functions 2018-10-26 00:54:24 +08:00
mmap.c csky: Fixup arch_get_unmapped_area() implementation 2019-08-20 16:09:37 +08:00
strksyms.c csky: Fixup abiv1 memset error 2019-07-19 14:21:36 +08:00