From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/03] ARM: 64-bit memory fixes, APE6EVM second memory bank
Date: Wed, 05 Jun 2013 10:44:27 +0000 [thread overview]
Message-ID: <20130605104427.1720.68752.sendpatchset@w520> (raw)
ARM: 64-bit memory fixes, APE6EVM second memory bank
[PATCH 01/03] ARM: Let arm_add_memory() always use 64-bit arguments
[PATCH 02/03] ARM: Handle 64-bit memory in case of 32-bit phys_addr_t
[PATCH 03/03] ARM: shmobile: Add second memory bank to DTS for APE6EVM
This patch set contains two fixes and one mach-shmobile specific patch
to add a second memory bank. The fixes attempt to improve the memory bank
handling in the ARM kernel in case of 64-bit addresses.
Without patch 1/3 and 2/3 but with patch 3/3 by itself:
HIGHMEM=n, LPAE=n - OK (busted, second bank ignored with message [1])
HIGHMEM=y, LPAE=n - NG (busted, board hangs on boot)
HIGHMEM=n, LPAE=y - OK
HIGHMEM=y, LPAE=y - OK
[1] Ignoring RAM at 00000000-3fffffff (vmalloc region overlap).
With all patches applied:
HIGHMEM=n, LPAE=n - OK
HIGHMEM=y, LPAE=n - OK
HIGHMEM=n, LPAE=y - OK
HIGHMEM=y, LPAE=y - OK
My opinion is that LPAE should be handled in a similar way to x86 PAE.
This means the kernel should boot regardless of kernel config but 64-bit
memory banks may be truncated if needed like when LPAE=n or HIGHMEN=n.
Comments on how to implement this in a nicer way are very welcome!
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Written against renesas.git renesas-next-20130604v2
arch/arm/boot/dts/r8a73a4-ape6evm.dts | 5 +++++
arch/arm/include/asm/setup.h | 2 +-
arch/arm/kernel/setup.c | 22 +++++++++++++++-------
3 files changed, 21 insertions(+), 8 deletions(-)
WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/03] ARM: 64-bit memory fixes, APE6EVM second memory bank
Date: Wed, 05 Jun 2013 19:44:27 +0900 [thread overview]
Message-ID: <20130605104427.1720.68752.sendpatchset@w520> (raw)
ARM: 64-bit memory fixes, APE6EVM second memory bank
[PATCH 01/03] ARM: Let arm_add_memory() always use 64-bit arguments
[PATCH 02/03] ARM: Handle 64-bit memory in case of 32-bit phys_addr_t
[PATCH 03/03] ARM: shmobile: Add second memory bank to DTS for APE6EVM
This patch set contains two fixes and one mach-shmobile specific patch
to add a second memory bank. The fixes attempt to improve the memory bank
handling in the ARM kernel in case of 64-bit addresses.
Without patch 1/3 and 2/3 but with patch 3/3 by itself:
HIGHMEM=n, LPAE=n - OK (busted, second bank ignored with message [1])
HIGHMEM=y, LPAE=n - NG (busted, board hangs on boot)
HIGHMEM=n, LPAE=y - OK
HIGHMEM=y, LPAE=y - OK
[1] Ignoring RAM at 00000000-3fffffff (vmalloc region overlap).
With all patches applied:
HIGHMEM=n, LPAE=n - OK
HIGHMEM=y, LPAE=n - OK
HIGHMEM=n, LPAE=y - OK
HIGHMEM=y, LPAE=y - OK
My opinion is that LPAE should be handled in a similar way to x86 PAE.
This means the kernel should boot regardless of kernel config but 64-bit
memory banks may be truncated if needed like when LPAE=n or HIGHMEN=n.
Comments on how to implement this in a nicer way are very welcome!
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Written against renesas.git renesas-next-20130604v2
arch/arm/boot/dts/r8a73a4-ape6evm.dts | 5 +++++
arch/arm/include/asm/setup.h | 2 +-
arch/arm/kernel/setup.c | 22 +++++++++++++++-------
3 files changed, 21 insertions(+), 8 deletions(-)
next reply other threads:[~2013-06-05 10:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-05 10:44 Magnus Damm [this message]
2013-06-05 10:44 ` [PATCH 00/03] ARM: 64-bit memory fixes, APE6EVM second memory bank Magnus Damm
2013-06-05 10:44 ` [PATCH 01/03] ARM: Let arm_add_memory() always use 64-bit arguments Magnus Damm
2013-06-05 10:44 ` Magnus Damm
2013-06-05 10:44 ` [PATCH 02/03] ARM: Handle 64-bit memory in case of 32-bit phys_addr_t Magnus Damm
2013-06-05 10:44 ` Magnus Damm
2013-06-05 10:44 ` [PATCH 03/03] ARM: shmobile: Add second memory bank to DTS for APE6EVM Magnus Damm
2013-06-05 10:44 ` Magnus Damm
2013-06-05 11:17 ` [PATCH 00/03] ARM: 64-bit memory fixes, APE6EVM second memory bank Arnd Bergmann
2013-06-05 11:17 ` Arnd Bergmann
2013-06-12 10:57 ` Magnus Damm
2013-06-12 10:57 ` Magnus Damm
2013-06-12 12:41 ` Arnd Bergmann
2013-06-12 12:41 ` Arnd Bergmann
2013-07-02 5:52 ` Magnus Damm
2013-07-02 5:52 ` Magnus Damm
2013-06-17 12:44 ` Guennadi Liakhovetski
2013-06-17 12:44 ` Guennadi Liakhovetski
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=20130605104427.1720.68752.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--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.