]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc371ab5a84eb7f6db93c214b1e90e94e489357b7
tree6ec29fc2cf358903e00a2d2f5faa637f165b3ad7
parentdb45d8a936320bf12dc7f8c8293bd87c8fa2eba9
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