[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4hGu3r=m+7Wkf3a94G=ZM4cQB87pt0ThadoUrk8cY7ovw@mail.gmail.com>
Date: Sun, 17 Jan 2021 11:02:28 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: Wesley Zhao <zhaowei1102@...ndersoft.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Kees Cook <keescook@...omium.org>,
Thomas Gleixner <tglx@...utronix.de>, kerneldev@...smulder.nl,
Arvind Sankar <nivedita@...m.mit.edu>,
Joe Perches <joe@...ches.com>, gpiccoli@...onical.com,
aquini@...hat.com, gustavoars@...nel.org, ojeda@...nel.org,
ndesaulniers@...ogle.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
David Hildenbrand <david@...hat.com>, guohanjun@...wei.com,
mchehab+huawei@...nel.org
Subject: Re: [PATCH v2 0/2] Make it possible to reserve memory on 64bit platform
On Sat, Jan 16, 2021 at 2:43 AM Wesley Zhao <zhaowei1102@...ndersoft.com> wrote:
>
> I was trying to reserve some memory to save logs incase that Android panic or hang and then
> I can read the logs from QNX side from the memory reserved before on the Qualcomm 8155 hypervisor platform,
> and I find the "reserve=" parameter only support 32bit,so I made some change and send these patches.
See Documentation/admin-guide/kernel-parameters.txt
memmap=nn[KMG]$ss[KMG]
[KNL,ACPI] Mark specific memory as reserved.
Region of memory to be reserved is from ss to ss+nn.
Example: Exclude memory from 0x18690000-0x1869ffff
memmap=64K$0x18690000
or
memmap=0x10000$0x18690000
Some bootloaders may need an escape character
before '$',
like Grub2, otherwise '$' and the following number
will be eaten.
Powered by blists - more mailing lists