Thread (11 messages) 11 messages, 4 authors, 2014-07-11

[PATCH 3/3] arm64: Use include/asm-generic/io.h

From: Thierry Reding <hidden>
Date: 2014-07-11 13:02:08
Also in: linux-arch, lkml

On Fri, Jul 11, 2014 at 02:58:09PM +0200, Arnd Bergmann wrote:
On Friday 11 July 2014, Catalin Marinas wrote:
quoted
ioread32() is indeed an alias for readl on arm64 but if the address it
gets as argument looks like an I/O port, it adds PCI_IOBASE (via the inl
macro). This would no longer happen with Thierry's patches.

So I guess that for this patch to work, we also need ioport_map() to
return an address from the PCI_IOBASE range. Should we merge this now as
well:

http://linux-arm.org/git?p=linux-ld.git;a=commitdiff;h=3423064d8e42a38164a8436bcdf7434cf9cd2192
This is also part of patch 1/3 in Thierry's series.
The hunk in my patch 1/3 is missing the "& IO_SPACE_LIMIT", I can respin
and include that.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140711/d9292bd8/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help