[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180410025912.49830-1-zoucao@linux.alibaba.com>
Date: Tue, 10 Apr 2018 10:59:11 +0800
From: zoucao@...ux.alibaba.com
To: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com
Cc: x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH V2] x86/boot/e820: add new chareater - to free BIOS memory in memmap bootargs
this is useing memmap=0x4101000-0x6aeff000 to free BIOS reserved memory
"6aeff000-6effffff : reserved":
......
00100000-6aefefff : System RAM
01000000-0165537a : Kernel code
0165537b-01a8873f : Kernel data
01c31000-01f4efff : Kernel bss
28000000-320fffff : Crash kernel
6aeff000-6effffff : reserved --> it is e820 reserved memory
6f000000-78240fff : System RAM
......
add bootargs memmap=0x4101000-0x6aeff000, to free memory region: 6aeff000-6effffff
then 6aeff000-6effffff will be merged into 00100000-78240fff.
new iomem:
cat /proc/iomem:
......
00100000-78240fff : System RAM
01000000-0165537a : Kernel code
0165537b-01a8873f : Kernel data
01c31000-01f4efff : Kernel bss
......
V1>V2: fixed the wrong chareaters
zoucao (1):
x86/boot/e820: add new chareater "-" to free BIOS memory in memmap bootargs
7u/Documentation/kernel-parameters.txt | 6 ++++++
7u/arch/x86/kernel/e820.c | 3 +++
2 files changed, 9 insertions(+)
Powered by blists - more mailing lists