linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 2/2] omap: switch to ioremap function pointer
Date: Sun, 22 May 2011 18:50:29 +0530	[thread overview]
Message-ID: <4DD90D9D.1070502@ti.com> (raw)
In-Reply-To: <201105221456.45486.arnd@arndb.de>

On 5/22/2011 6:26 PM, Arnd Bergmann wrote:
> On Sunday 22 May 2011 13:46:04 Santosh Shilimkar wrote:
>> At least on OMAP, the fixed mappings used are mainly the interconnect,
>> infrastructure, memory controller and most of these are not associated
>> with any driver.
>>
>> On OMAP, the fixed mappings are handled directly so nothing fishy there.
>>
>> Attributes are already provided via io descriptor for fixed mapping
>> and that should remain fixed. O.w there is no meaning for the fixed
>> mapping.
>>
>> For dynamic mapping, different attributes work as usual via
>> __ioremap().
>>
>> So I don't see why you will have conflicting mapping at all?
>
> Ok, great!
>
> If that's the case, then you don't need omap_ioremap at all
> and you can simply remove it. I assume that when we make the
> other platforms do the same as omap, we also won't need a
> per-platform ioremap function pointer.
>
I didn't say that. Because if you want to get a VA for an IO
space from fixed map, ioremap() platform hook is useful.

The existing interface allows, platforms to add additional
logic for fixed mappings and still use the generic interface'
for dynamic mappings with single exported interface.

Regards
Santosh

  reply	other threads:[~2011-05-22 13:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-22  9:04 [RFC PATCH 1/2] arm: introduce arch_ioremap and arch_iounmap function pointer Jean-Christophe PLAGNIOL-VILLARD
2011-05-22  9:04 ` [RFC PATCH 2/2] omap: switch to ioremap " Jean-Christophe PLAGNIOL-VILLARD
2011-05-22  9:54   ` Arnd Bergmann
2011-05-22 11:13     ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-22 11:20     ` Santosh Shilimkar
2011-05-22 11:17       ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-22 11:35       ` Arnd Bergmann
2011-05-22 11:46         ` Santosh Shilimkar
2011-05-22 12:56           ` Arnd Bergmann
2011-05-22 13:20             ` Santosh Shilimkar [this message]
2011-05-22 13:09         ` Russell King - ARM Linux
2011-05-22 13:23           ` Santosh Shilimkar
2011-05-22 16:40           ` Arnd Bergmann
2011-05-22 10:03 ` [RFC PATCH 1/2] arm: introduce arch_ioremap and arch_iounmap " Russell King - ARM Linux
2011-05-22 11:05   ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-22 13:19     ` Russell King - ARM Linux
2011-05-22 14:58       ` Jean-Christophe PLAGNIOL-VILLARD

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=4DD90D9D.1070502@ti.com \
    --to=santosh.shilimkar@ti.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 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).