linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iwl + iomap + readl/writel
@ 2008-08-12 20:48 Jiri Slaby
  2008-08-12 21:49 ` Tomas Winkler
  0 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2008-08-12 20:48 UTC (permalink / raw)
  To: yi.zhu, reinette.chatre, linux-wireless,
	Linux Kernel Mailing List

Hi,

I spotted that iwl drivers use readl method on an iomap space. IIRC some archs 
might return a tag instead of an address expected by readl/writel.

I think you should either switch to ioread32/iowrite32 or to ioremap.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwl + iomap + readl/writel
  2008-08-12 20:48 iwl + iomap + readl/writel Jiri Slaby
@ 2008-08-12 21:49 ` Tomas Winkler
  2008-08-12 21:54   ` Jiri Slaby
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Winkler @ 2008-08-12 21:49 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: yi.zhu, reinette.chatre, linux-wireless,
	Linux Kernel Mailing List

On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
> Hi,
>
> I spotted that iwl drivers use readl method on an iomap space. IIRC some
> archs might return a tag instead of an address expected by readl/writel.
>
> I think you should either switch to ioread32/iowrite32 or to ioremap.

Can you give me reading material  on this?
Thanks
Tomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwl + iomap + readl/writel
  2008-08-12 21:49 ` Tomas Winkler
@ 2008-08-12 21:54   ` Jiri Slaby
  2008-08-12 21:57     ` Tomas Winkler
  0 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2008-08-12 21:54 UTC (permalink / raw)
  To: Tomas Winkler
  Cc: yi.zhu, reinette.chatre, linux-wireless,
	Linux Kernel Mailing List

On 08/12/2008 11:49 PM, Tomas Winkler wrote:
> On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>> Hi,
>>
>> I spotted that iwl drivers use readl method on an iomap space. IIRC some
>> archs might return a tag instead of an address expected by readl/writel.
>>
>> I think you should either switch to ioread32/iowrite32 or to ioremap.
> 
> Can you give me reading material  on this?

No, google will (you can even feel lucky).

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwl + iomap + readl/writel
  2008-08-12 21:54   ` Jiri Slaby
@ 2008-08-12 21:57     ` Tomas Winkler
  2008-08-12 21:58       ` Jiri Slaby
  0 siblings, 1 reply; 6+ messages in thread
From: Tomas Winkler @ 2008-08-12 21:57 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: yi.zhu, reinette.chatre, linux-wireless,
	Linux Kernel Mailing List

On Wed, Aug 13, 2008 at 12:54 AM, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 08/12/2008 11:49 PM, Tomas Winkler wrote:
>>
>> On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I spotted that iwl drivers use readl method on an iomap space. IIRC some
>>> archs might return a tag instead of an address expected by readl/writel.
>>>
>>> I think you should either switch to ioread32/iowrite32 or to ioremap.
>>
>> Can you give me reading material  on this?
>
> No, google will (you can even feel lucky).

I didn't ask for obvious answers :)

Tomas
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwl + iomap + readl/writel
  2008-08-12 21:57     ` Tomas Winkler
@ 2008-08-12 21:58       ` Jiri Slaby
  2008-08-12 22:04         ` Tomas Winkler
  0 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2008-08-12 21:58 UTC (permalink / raw)
  To: Tomas Winkler
  Cc: yi.zhu, reinette.chatre, linux-wireless,
	Linux Kernel Mailing List

On 08/12/2008 11:57 PM, Tomas Winkler wrote:
> On Wed, Aug 13, 2008 at 12:54 AM, Jiri Slaby <jirislaby@gmail.com> wrote:
>> On 08/12/2008 11:49 PM, Tomas Winkler wrote:
>>> On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby <jirislaby@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I spotted that iwl drivers use readl method on an iomap space. IIRC some
>>>> archs might return a tag instead of an address expected by readl/writel.
>>>>
>>>> I think you should either switch to ioread32/iowrite32 or to ioremap.
>>> Can you give me reading material  on this?
>> No, google will (you can even feel lucky).
> 
> I didn't ask for obvious answers :)

Sorry, I don't remember where/when this was discussed, you have to search for it.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwl + iomap + readl/writel
  2008-08-12 21:58       ` Jiri Slaby
@ 2008-08-12 22:04         ` Tomas Winkler
  0 siblings, 0 replies; 6+ messages in thread
From: Tomas Winkler @ 2008-08-12 22:04 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: yi.zhu, reinette.chatre, linux-wireless,
	Linux Kernel Mailing List

On Wed, Aug 13, 2008 at 12:58 AM, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 08/12/2008 11:57 PM, Tomas Winkler wrote:
>>
>> On Wed, Aug 13, 2008 at 12:54 AM, Jiri Slaby <jirislaby@gmail.com> wrote:
>>>
>>> On 08/12/2008 11:49 PM, Tomas Winkler wrote:
>>>>
>>>> On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby <jirislaby@gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I spotted that iwl drivers use readl method on an iomap space. IIRC
>>>>> some
>>>>> archs might return a tag instead of an address expected by
>>>>> readl/writel.
>>>>>
>>>>> I think you should either switch to ioread32/iowrite32 or to ioremap.
>>>>
>>>> Can you give me reading material  on this?
>>>
>>> No, google will (you can even feel lucky).
>>
>> I didn't ask for obvious answers :)
>
> Sorry, I don't remember where/when this was discussed, you have to search
> for it.

It's okay I'm already digging into it

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-12 22:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 20:48 iwl + iomap + readl/writel Jiri Slaby
2008-08-12 21:49 ` Tomas Winkler
2008-08-12 21:54   ` Jiri Slaby
2008-08-12 21:57     ` Tomas Winkler
2008-08-12 21:58       ` Jiri Slaby
2008-08-12 22:04         ` Tomas Winkler

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).