Skip to contentSkip to conversation

iwl + iomap + readl/writel

DISCUSSION Jiri Slaby 2 participants 6 messages Aug 12, 2008

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

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.

#1 lore raw
Quoted 6 lines · Jiri Slaby

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

author
#2 lore raw
Quoted 9 lines · Tomas Winkler
Quoted 6 lines · Jiri Slaby

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

#3 lore raw
Quoted 6 lines · Jiri Slaby
Quoted 5 lines · Tomas Winkler
Quoted 3 lines · Jiri Slaby

Hi,

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

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

Quoted 1 line
author
#4 lore raw
Quoted 5 lines · Tomas Winkler
Quoted 4 lines · Jiri Slaby
Quoted 3 lines · Tomas Winkler
Quoted 2 lines · Jiri Slaby

Hi,

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Quoted 4 lines

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.

#5 lore raw
Quoted 18 lines · Jiri Slaby
Quoted 17 lines · Tomas Winkler
Quoted 15 lines · Jiri Slaby
Quoted 13 lines · Tomas Winkler
Quoted 9 lines · Jiri Slaby

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.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

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