Re: [PATCH] revert ath5k ioread32()/iowrite32() usage - use readl()/writel(), we're MMIO-only

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jeff@...>
Cc: Luis R. Rodriguez <mcgrof@...>, John W. Linville <linville@...>, linux-wireless <linux-wireless@...>, Alan Cox <alan@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, September 17, 2007 - 5:44 pm

On 09/17/2007 10:59 PM, Jeff Garzik wrote:

Ok, this is what Alan Cox wrote about that and you didn't reply to it, so I
thought he's right. Anyway I wouldn't rely on iomap that it will never be
changed even on x86 -- what's the (performance) impact of having ioread instead
of readl? How much data are transferred this way?

<cite from="http://lkml.org/lkml/2007/8/25/50">
On Sat, 25 Aug 2007 04:56:19 -0400
Jeff Garzik <jgarzik@pobox.com> wrote:


There is nothing that guarantees this is permitted, any more than there
is anything saying not to use outb/outl. Some of the implementations do
quite strange things. It may happen to work but its not in the
documentation or the comments.

If you want to change this then you need to check the existing usages and
update all the docs if its safe, oh and tell the sparc64 pcmcia people to
take a hike, which is probably not a big problem.
</cite>

Please, can anybody clarify it?

thanks,
-- 
Jiri Slaby (jirislaby@gmail.com)
Faculty of Informatics, Masaryk University
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] revert ath5k ioread32()/iowrite32() usage - use ..., Jiri Slaby, (Mon Sep 17, 5:44 pm)
Re: [PATCH] revert ath5k ioread32()/iowrite32() usage - use ..., Luis R. Rodriguez, (Tue Sep 18, 3:03 pm)
Re: [PATCH] revert ath5k ioread32()/iowrite32() usage - use ..., Luis R. Rodriguez, (Tue Sep 18, 3:12 pm)
Re: [PATCH] revert ath5k ioread32()/iowrite32() usage - use ..., Benjamin Herrenschmidt, (Tue Sep 18, 6:18 pm)