Thread (5 messages) flat view 5 messages, 5 authors, 2011-06-13

[PATCH] fb.h: ARM uses __raw_{read/write}

From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-06-13 13:37:34
Also in: linux-fbdev, lkml

On Monday 13 June 2011 12:08:19 Catalin Marinas wrote:
The change proposed by Hartley wouldn't make much difference from the
current volatile accesses (__raw_* accessors are implemented as volatile
on ARM).
I guess it would mainly make a difference if we get a platform where
the PCI bus window is not in the same address space as the regular
physical memory and the accessors actually need to do a computation
on the address. AFAICT, ARM does not currently have any such platform
and I would hope that it says that way.
I think the memcpy_(from|to)io could be optimised on ARM to only add a
barrier before or after he copying loop.
Agreed, good idea.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help