[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F9AC806.60608@zytor.com>
Date: Fri, 27 Apr 2012 09:23:34 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Will Deacon <will.deacon@....com>
CC: linux-kernel@...r.kernel.org,
uclinux-dist-devel@...ckfin.uclinux.org,
Arnd Bergmann <arnd@...db.de>,
Mike Frysinger <vapier@...too.org>
Subject: Re: [PATCH 1/2] asm-generic: io: remove {read,write} string functions
On 04/27/2012 03:42 AM, Will Deacon wrote:
> The {read,write}s{b,w,l} functions are not defined across all
> architectures and therefore shouldn't be used by portable drivers. We
> should encourage driver writers to use the io{read,write}{8,16,32}_rep
> functions instead.
Why is that? ioread/write are great if the address space is undefined,
but do we need the extra overhead in any other cases?
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists