diff options
author | Dave Young <dyoung@redhat.com> | 2013-12-20 18:02:22 +0800 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-12-29 13:09:07 +0000 |
commit | 77ea8c948953a90401e436e7c05973b2d5529804 (patch) | |
tree | 5a747347894a26b72283c6bfdd1a5d3d2a5d2466 /COPYING | |
parent | 5039e316dde3fb71c79e95e97c5bca8e4724d8f2 (diff) |
x86: Reserve setup_data ranges late after parsing memmap cmdline
Currently e820_reserve_setup_data() is called before parsing early
params, it works in normal case. But for memmap=exactmap, the final
memory ranges are created after parsing memmap= cmdline params, so the
previous e820_reserve_setup_data() has no effect. For example,
setup_data ranges will still be marked as normal system ram, thus when
later sysfs driver ioremap them kernel will warn about mapping normal
ram.
This patch fix it by moving the e820_reserve_setup_data() callback after
parsing early params so they can be set as reserved ranges and later
ioremap will be fine with it.
Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Borislav Petkov <bp@suse.de>
Tested-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions