mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: zoucao@linux.alibaba.com
To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com
Cc: x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH V2] x86/boot/e820: add new chareater - to free BIOS memory in memmap bootargs
Date: Tue, 10 Apr 2018 10:59:11 +0800	[thread overview]
Message-ID: <20180410025912.49830-1-zoucao@linux.alibaba.com> (raw)

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(+)

             reply	other threads:[~2018-04-10  2:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10  2:59 zoucao [this message]
2018-04-10  2:59 ` [PATCH] x86/boot/e820: add new chareater "-" " zoucao
2018-04-16 11:06   ` zoucao-ipc
2018-04-17  6:18   ` zoucao-ipc
2018-04-17 10:22     ` Thomas Gleixner
2018-04-17 13:11       ` zoucao-ipc
2018-04-17 13:47   ` Thomas Gleixner
2018-04-17 14:40     ` zoucao-ipc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180410025912.49830-1-zoucao@linux.alibaba.com \
    --to=zoucao@linux.alibaba.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®