Exclude areas not assigned to Mckernel from direct map of all phys. memory
It's enabled by adding -s to mcreboot.sh. Cherry-pick of the following commit: commit b5c13ce51a5a4926c2cf11c817cd0d369ac4402d Author: Katsuya Horigome <katsuya.horigome.rj@ps.hitachi-solutions.com> Date: Mon Nov 20 09:40:41 2017 +0900 Include measures to prevent memory destruction on Linux side (This is rebase commit for merging to development+hfi)
This commit is contained in:
committed by
Masamichi Takagi
parent
221ce34da2
commit
38c3b2358a
@ -123,6 +123,8 @@ char *find_command_line(char *name)
|
||||
return strstr(cmdline, name);
|
||||
}
|
||||
|
||||
extern int safe_kernel_map;
|
||||
|
||||
static void parse_kargs(void)
|
||||
{
|
||||
char *ptr;
|
||||
@ -143,6 +145,11 @@ static void parse_kargs(void)
|
||||
}
|
||||
ihk_mc_set_dump_level(dump_level);
|
||||
|
||||
ptr = find_command_line("safe_kernel_map");
|
||||
if (ptr) {
|
||||
safe_kernel_map = 1;
|
||||
}
|
||||
|
||||
/* idle_halt option */
|
||||
ptr = find_command_line("idle_halt");
|
||||
if (ptr) {
|
||||
|
||||
Reference in New Issue
Block a user