[LinuxPPS] MIPS: Loongson: Disallow 4kB pages
gitweb.enneenne.com Git - linuxpps/rss log: Wu Zhangjin <>
webmaster at enneenne.com
Mon Dec 21 11:15:42 CET 2009
MIPS: Loongson: Disallow 4kB pages
Currently, with PAGE_SIZE_4KB, the kernel for loongson will hang on:
Kernel panic - not syncing: Attempted to kill init!
The possible reason is the cache aliases problem:
Loongson 2F has 64kb, 4 way L1 Cache, the way size is 16kb, which is bigger
then 4kb. so, If using 4kb page size, there is cache aliases problem.
To avoid this kind of problem, extra cache flushing. The 2nd possible
solution is 16kb page size which avoids cache aliases without the need for
extra cache flushes. So we disable 4kB pages until the aliasing issue is
solved.
Signed-off-by: Wu Zhangjin <wuzhangjin at gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/736/
Cc: linux-mips at linux-mips.org
Cc: zhangfx at lemote.com
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
* [[D][1][H][2]] arch/mips/Kconfig
[1]: http://gitweb.enneenne.com/?p=linuxpps;a=blobdiff;f=arch/mips/Kconfig;fp=arch/mips/Kconfig;h=e232e50e6a0a7e0ef699e8810a6ec36d37616971;hp=ffdd651c54b1a56399299b9d223d96f0d50463dc;hb=315fe625f878749a7d2b6b65a40c29bbbe6e1dc7;hpb=e1eb3a983befdb422e1aae299bdab573d04929f6 (diff)
[2]: http://gitweb.enneenne.com/?p=linuxpps;a=history;f=arch/mips/Kconfig;h=315fe625f878749a7d2b6b65a40c29bbbe6e1dc7 (history)
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commitdiff;h=315fe625f878749a7d2b6b65a40c29bbbe6e1dc7
More information about the LinuxPPS
mailing list