powerpc: Add simple cache inhibited MMIO accessors
authorSuresh Warrier <warrier@linux.vnet.ibm.com>
Fri, 19 Aug 2016 05:35:45 +0000 (15:35 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 9 Sep 2016 06:17:59 +0000 (16:17 +1000)
commit07b1fdf5bd135d94eff2b3a6849b90c358963066
tree4ca83bc39c1d4932fcec17b6392a6c5ef3359c2b
parent0eeede0c63305a33de31bd90b53b023c1d452c17
powerpc: Add simple cache inhibited MMIO accessors

Add simple cache inhibited accessors for memory mapped I/O.
Unlike the accessors built from the DEF_MMIO_* macros, these
don't include any hardware memory barriers, callers need to
manage memory barriers on their own. These can only be called
in hypervisor real mode.

Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com>
[paulus@ozlabs.org - added line to comment]
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/io.h