From: Liu Hua <sdu.liu@huawei.com>
To: <nicolas.pitre@linaro.org>
Cc: <linux@arm.linux.org.uk>, <will.deacon@arm.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <wangnan0@huawei.com>,
<peifeiyue@huawei.com>, <liusdu@126.com>,
<m.szyprowski@samsung.com>, Liu Hua <sdu.liu@huawei.com>
Subject: [PATCH v2 0/2] change ARM linux memory layout to support 32 CPUs
Date: Fri, 11 Apr 2014 16:00:50 +0800 [thread overview]
Message-ID: <1397203252-22977-1-git-send-email-sdu.liu@huawei.com> (raw)
Hi Nicolas or Russell,
This patch series change fixmap mapping region to suppport 32 CPUs.
Because the "top_pmd" covers 0xfffe0000 - 0xffffffff(2M). And part
is used by vector table. So I move this region down to 0xffc00000
- 0xffdffff.
I have tested the patches on arma9(2 CPUs) and arma15(16 CPUs) platforms
BTW, As we know we can configure NR_CPUS up to 32. So we need 2048K
at most. But for ARM systems with less cpus, there is a waste
of virtual address. So should we change its size according to
NR_CPUS, as what MIPS linux does ?
Changes from v1:
---------------
- changed documentation for ARM linux memory layout.
- moved fixmap mapping region, not just extended.
Liu Hua (2):
ARM : DMA : remove useless information about DMA
ARM : extend fixmap mapping region to support 32 CPUs
Documentation/arm/memory.txt | 8 ++------
arch/arm/include/asm/fixmap.h | 4 ++--
arch/arm/include/asm/highmem.h | 1 +
arch/arm/include/asm/memory.h | 2 --
arch/arm/mm/highmem.c | 10 +++++-----
arch/arm/mm/mm.h | 7 +++++++
arch/arm/mm/mmu.c | 4 ++++
mm/highmem.c | 1 +
8 files changed, 22 insertions(+), 15 deletions(-)
--
1.9.0
next reply other threads:[~2014-04-11 8:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 8:00 Liu Hua [this message]
2014-04-11 8:00 ` [PATCH v2 1/2] ARM : DMA : remove useless information about DMA Liu Hua
2014-04-11 10:39 ` Marek Szyprowski
2014-04-12 3:12 ` Nicolas Pitre
2014-04-12 3:31 ` Nicolas Pitre
2014-04-12 4:25 ` Liu hua
2014-04-12 14:32 ` Nicolas Pitre
2014-04-13 12:10 ` Liu hua
2014-04-13 16:42 ` Nicolas Pitre
2014-04-11 8:00 ` [PATCH v2 2/2] ARM : change fixmap mapping region to support 32 CPUs Liu Hua
2014-04-12 3:26 ` Nicolas Pitre
2014-04-13 13:25 ` Liu hua
2014-04-13 17:34 ` Nicolas Pitre
2014-04-14 12:28 ` Liu hua
2014-04-14 13:50 ` Nicolas Pitre
2014-04-15 11:04 ` Liu hua
2014-04-12 3:29 ` [PATCH v2 0/2] change ARM linux memory layout " Nicolas Pitre
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=1397203252-22977-1-git-send-email-sdu.liu@huawei.com \
--to=sdu.liu@huawei.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=liusdu@126.com \
--cc=m.szyprowski@samsung.com \
--cc=nicolas.pitre@linaro.org \
--cc=peifeiyue@huawei.com \
--cc=wangnan0@huawei.com \
--cc=will.deacon@arm.com \
/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®