[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQUoVNvWmmTV2+ZkU_nMxFToTHw6QLwp_Z_EjwMzqdLwuA@mail.gmail.com>
Date: Sat, 29 Jun 2013 13:08:13 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: Tejun Heo <tj@...nel.org>,
Santosh Shilimkar <santosh.shilimkar@...com>,
linux-arm-kernel@...ts.infradead.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Ingo Molnar <mingo@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
"H. Peter Anvin" <hpa@...or.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
"David S. Miller" <davem@...emloft.net>,
"sparclinux@...r.kernel.org" <sparclinux@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>, linux-arch@...r.kernel.org
Subject: Re: [PATCH] WIP: HACK: LPAE, BOOTMEM and NO_BOOTMEM
On Sat, Jun 29, 2013 at 12:55 PM, Russell King - ARM Linux
<linux@....linux.org.uk> wrote:
> On Sat, Jun 29, 2013 at 12:29:55PM -0700, Yinghai Lu wrote:
>> >> On these SoCs which Santosh is working on, the main physical memory
>> >> mapping is above 4GB, with just a small alias below 4GB to allow the
>> >> system to boot without the MMU being on, as they may have more than
>> >> 4GB of RAM. As I understand it, the small alias below 4GB is not
>> >> suitable for use as a "lowmem" mapping.
>>
>> is that 32bit ARM or 64bit ARM?
>
> Only 32-bit has LPAE. Such things don't make sense on 64-bit CPUs.
32bit ARM does not support NO_BOOTMEM yet.
arch/arc/Kconfig: select NO_BOOTMEM
arch/arm64/Kconfig: select NO_BOOTMEM
arch/sparc/Kconfig: select NO_BOOTMEM
arch/x86/Kconfig:config NO_BOOTMEM
so may need to
1. make 32bit ARM to use NO_BOOTMEM at first.
2 .we can add alloc_memblock as MACRO or inline for bootmem arches,
3. NO_BOOTMEM arches will have alloc_memblock in nobootmem.c
4. replace alloc_bootmem calling with alloc_memblock calling in core code.
Thanks
Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists