staging: gasket: core: switch to relaxed memory-mapped I/O
authorTodd Poynor <toddpoynor@google.com>
Fri, 10 Aug 2018 03:21:04 +0000 (20:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:43:44 +0000 (19:43 +0200)
commit717264bab46e774e196574c77aae5f103b9b2f26
tree6ec29fc2cf358903e00a2d2f5faa637f165b3ad7
parent6c258edc64ae3d655a37abb773c21492a5196bf2
staging: gasket: core: switch to relaxed memory-mapped I/O

Use of readl() is deprecated; readl_relaxed() with appropriate memory
barriers is preferred.  Switch to relaxed reads and writes for better
performance as well.  Memory barriers required for I/O vs. normal
memory access on Apex devices have already been explicitly coded in the
page table routines.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.h