From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 03/28] ARM: imx: convert to common runtime ioremap hook
Date: Wed, 29 Feb 2012 23:13:32 +0000 [thread overview]
Message-ID: <201202292313.32422.arnd@arndb.de> (raw)
In-Reply-To: <4F4EACDD.4090502@gmail.com>
On Wednesday 29 February 2012, Rob Herring wrote:
> Sure, but it's not my call what the i.MX guys do. I'm just generalizing
> what i.MX already has for other platforms to use. Since we have no way
> to create static mappings from devicetrees I don't think we want to
> expand static mappings. Also, your past guidance has been to get rid of
> static mappings.
The problems with static mappings have been largely resolved with the
new way we automatically handle ioremap redirecting to the static
mapping area, so now it's no longer necessary to hardcode the virtual
address in a header file and the static mapping basically becomes
a performance optimization by using section mapping where possible.
> Even if we got rid of it here and on msm, there are still other
> platforms that need custom ioremap where static mappings won't help.
> ebsa110 and ixp4xx also need ioremap but I didn't convert them to
> runtime from compile time since they still need io.h for other reasons
> at this point.
Right. When I replied on this patch first, I hoped that this one might
be the only one left.
One thing that could be done though is to remove the __arch_ioremap
macros after all platforms overriding this at compile time have been
changed to do so at boot time.
If we wanted to get fancy, we could also have a Kconfig symbol that
turns on the run-time selected ioremap only for platforms that require
it, and otherwise directly calls __arm_ioremap.
Arnd
prev parent reply other threads:[~2012-02-29 23:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1330547147-22867-1-git-send-email-robherring2@gmail.com>
[not found] ` <1330547147-22867-17-git-send-email-robherring2@gmail.com>
2012-02-29 20:40 ` [PATCH v2 16/28] ARM: remove bunch of now unused mach/io.h files H Hartley Sweeten
[not found] ` <1330547147-22867-16-git-send-email-robherring2@gmail.com>
2012-02-29 20:43 ` [PATCH v2 15/28] ARM: make mach/io.h include optional H Hartley Sweeten
[not found] ` <1330547147-22867-8-git-send-email-robherring2@gmail.com>
[not found] ` <201202292147.39302.arnd@arndb.de>
2012-02-29 22:16 ` [PATCH v2 07/28] ARM: iop13xx: move io.h externs to io.c Rob Herring
2012-02-29 22:26 ` Arnd Bergmann
[not found] ` <1330547147-22867-20-git-send-email-robherring2@gmail.com>
[not found] ` <201202292153.03056.arnd@arndb.de>
2012-02-29 22:28 ` [PATCH v2 19/28] ARM: Add fixed PCI i/o mapping Rob Herring
2012-02-29 22:43 ` Arnd Bergmann
2012-02-29 23:21 ` Russell King - ARM Linux
2012-03-01 13:52 ` Arnd Bergmann
2012-03-01 14:08 ` Russell King - ARM Linux
2012-03-01 18:25 ` Arnd Bergmann
2012-03-01 20:32 ` Andrew Lunn
2012-03-05 20:24 ` Nicolas Pitre
[not found] ` <20120229221341.GF16999@n2100.arm.linux.org.uk>
2012-03-01 4:11 ` Rob Herring
[not found] ` <1330547147-22867-4-git-send-email-robherring2@gmail.com>
[not found] ` <201202292134.03220.arnd@arndb.de>
2012-02-29 22:55 ` [PATCH v2 03/28] ARM: imx: convert to common runtime ioremap hook Rob Herring
2012-02-29 23:13 ` Arnd Bergmann [this message]
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=201202292313.32422.arnd@arndb.de \
--to=arnd@arndb.de \
--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.