From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: ep93xx: status/future of the sparsemem support
Date: Sun, 29 May 2011 23:35:57 +0100 [thread overview]
Message-ID: <20110529223557.GC5576@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20110529130644.GI16318@ibawizard.net>
On Sun, May 29, 2011 at 03:06:44PM +0200, Petr ?tetiar wrote:
> I would like to ask about the status or plans for the sparsemem support on the
> ep93xx. I'm mainly talking about the ts72xx here as I don't have any other
> boards, but it seems, that sparsemem is the must for the boards with more then
> one memory bank. Or it's not true?
Have you tried enabling highmem?
One of the problems with this kind of physical memory layout is that it
doesn't allow mathematical offsets between physical and virtual address
spaces. Consider 0x00000000 phys -> 0xc0000000 virt, so 0xe0000000
phys -> 0xa0000000 virt which will be in userspace!
So we either have to play stupid games with the translation functions and
introduce non-linear translations (as per my message which you pointed to),
or go the highmem route which avoids the issue entirely.
next prev parent reply other threads:[~2011-05-29 22:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-29 13:06 ep93xx: status/future of the sparsemem support Petr Štetiar
2011-05-29 22:35 ` Russell King - ARM Linux [this message]
2011-05-30 7:02 ` Petr Štetiar
2011-05-31 18:23 ` H Hartley Sweeten
2011-06-02 6:59 ` Petr Štetiar
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=20110529223557.GC5576@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).