From: baruch@tkos.co.il (Baruch Siach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: improve non-section-aligned low memory mapping
Date: Sun, 26 Apr 2015 11:13:13 +0300 [thread overview]
Message-ID: <20150426081313.GI2258@tarshish> (raw)
In-Reply-To: <CAHkaATQPabp9WW0nZnPC373FDG7XdGKztPA2Xx7J1E12+USr8w@mail.gmail.com>
Hi Min-Hua Chen
On Sun, Apr 26, 2015 at 03:41:17PM +0800, Min-Hua Chen wrote:
> diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
> index 2495c8c..6a618f9 100644
> --- a/arch/arm/mm/init.c
> +++ b/arch/arm/mm/init.c
> @@ -138,7 +138,7 @@ void show_mem(unsigned int filter)
> static void __init find_limits(unsigned long *min, unsigned long *max_low,
> unsigned long *max_high)
> {
> - *max_low = PFN_DOWN(memblock_get_current_limit());
> + *max_low = PFN_DOWN(arm_lowmem_limit);
> *min = PFN_UP(memblock_start_of_DRAM());
> *max_high = PFN_DOWN(memblock_end_of_DRAM());
> }
Your patch is whitespace damaged, and can't be applied as is. Please consider
using git send-email to send properly formatted patches. See the EXAMPLE
section in http://git-scm.com/docs/git-send-email for example of git
send-email using a gmail account.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
WARNING: multiple messages have this Message-ID (diff)
From: Baruch Siach <baruch@tkos.co.il>
To: Min-Hua Chen <orca.chen@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>,
keescook@chromium.org, nico@linaro.org,
Catalin Marinas <catalin.marinas@arm.com>,
Laura Abbott <lauraa@codeaurora.org>,
js07.lee@gmail.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] arm: improve non-section-aligned low memory mapping
Date: Sun, 26 Apr 2015 11:13:13 +0300 [thread overview]
Message-ID: <20150426081313.GI2258@tarshish> (raw)
In-Reply-To: <CAHkaATQPabp9WW0nZnPC373FDG7XdGKztPA2Xx7J1E12+USr8w@mail.gmail.com>
Hi Min-Hua Chen
On Sun, Apr 26, 2015 at 03:41:17PM +0800, Min-Hua Chen wrote:
> diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
> index 2495c8c..6a618f9 100644
> --- a/arch/arm/mm/init.c
> +++ b/arch/arm/mm/init.c
> @@ -138,7 +138,7 @@ void show_mem(unsigned int filter)
> static void __init find_limits(unsigned long *min, unsigned long *max_low,
> unsigned long *max_high)
> {
> - *max_low = PFN_DOWN(memblock_get_current_limit());
> + *max_low = PFN_DOWN(arm_lowmem_limit);
> *min = PFN_UP(memblock_start_of_DRAM());
> *max_high = PFN_DOWN(memblock_end_of_DRAM());
> }
Your patch is whitespace damaged, and can't be applied as is. Please consider
using git send-email to send properly formatted patches. See the EXAMPLE
section in http://git-scm.com/docs/git-send-email for example of git
send-email using a gmail account.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2015-04-26 8:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-26 7:41 [PATCH] arm: improve non-section-aligned low memory mapping Min-Hua Chen
2015-04-26 7:41 ` Min-Hua Chen
2015-04-26 8:13 ` Baruch Siach [this message]
2015-04-26 8:13 ` Baruch Siach
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=20150426081313.GI2258@tarshish \
--to=baruch@tkos.co.il \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.