Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Xiao Guangrong 8126dec327 x86: Fix system crash when loading with "reservetop" parameter
The system will die if the kernel is booted with "reservetop"
parameter, in present code, parse "reservetop" parameter after
early_ioremap_init(), and some function still use
early_ioremap() after it.

The problem is, "reservetop" parameter can modify
'FIXADDR_TOP', then the virtual address got by early_ioremap()
is base on old 'FIXADDR_TOP', but the page mapping is base on
new 'FIXADDR_TOP', it will occur page fault, and the IDT is not
prepare yet, so, the system is dead.

So, put parse_early_param() in the front of
early_ioremap_init() in this patch.

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Cc: yinghai@kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <4A8D402F.4080805@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-08-21 16:40:30 +02:00
..
2009-03-15 07:03:15 +01:00
2009-06-15 15:20:40 +02:00
2009-03-13 11:57:22 +01:00
2009-04-07 13:36:36 +02:00
2009-08-09 01:08:42 -07:00
2009-06-18 18:40:18 -04:00
2009-06-17 21:35:10 -07:00
2008-12-12 11:08:42 +01:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2009-06-16 19:47:28 -07:00
2009-03-21 16:57:04 +05:30
2009-02-09 12:16:05 +01:00
2009-06-11 23:31:52 +02:00
2009-03-21 16:55:45 +05:30
2009-01-02 17:46:24 +01:00
2009-02-23 00:08:11 +01:00
2009-01-20 17:14:28 +01:00
2009-06-15 12:40:03 +02:00
2009-07-14 16:25:05 +02:00
2009-06-07 12:22:15 +02:00
2009-03-21 16:56:37 +05:30
2009-06-11 23:31:52 +02:00
2009-06-11 23:31:52 +02:00
2008-10-22 22:55:23 -07:00
2009-02-23 00:08:11 +01:00
2009-03-21 16:55:24 +05:30
2009-02-17 17:52:44 +01:00
2009-08-05 10:20:29 +02:00