Thread (74 messages) flat view 74 messages, 13 authors, 2012-02-28
STALE5270d

[PATCH 03/15] ARM: provide runtime hook for ioremap

From: Rob Herring <hidden>
Date: 2012-02-13 22:48:21

On 02/13/2012 04:30 PM, Russell King - ARM Linux wrote:
On Mon, Feb 13, 2012 at 03:43:16PM -0600, Rob Herring wrote:
quoted
From: Rob Herring <redacted>

We have compile time over-ride of ioremap, but an run-time override is
needed for multi-platform builds.
Are you sure we need this after Nicolas' updates to ioremap() ?
Yes, because these are adjusting the memory type, not redirecting the
ioremap to a static mapping. There was some discussion among Nico, Arnd
and myself about using static mappings instead as you can set the memory
type. The imx case is all addresses below 0x8000000 except the interrupt
controller need adjustment. This would burn up a lot more virtual space
or be a long list of peripherals. I think my change is much simpler and
is just generalizing what imx is doing for everyone.

There's also a few other custom ioremaps I didn't convert: ebsa110,
iop13xx, and ixp4xx. These platforms already have multiple issues with
single kernel.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help