On Fri, 22 Feb 2019 10:04:51 PST (-0800), Will Deacon wrote:
Hi all,
This is version two of the patches I previously posted here:
https://lore.kernel.org/lkml/20190211174544.4302-1-will.dea...@arm.com/T/#u
Changes since v2 include:
* Incorporate riscv changes from Palmer
* Update macro definitions as suggested by Geert
* Extend to cover non-port reads via __io_ar() as well
Feedback welcome,
Will
--->8
Will Deacon (3):
asm-generic/io: Pass result of I/O accessor to __io_[p]ar()
riscv: io: Update __io_[p]ar() macros to take an argument
arm64: io: Hook up __io_par() for inX() ordering
arch/arm64/include/asm/io.h | 1 +
arch/riscv/include/asm/io.h | 36 ++++++++++++++++++------------------
include/asm-generic/io.h | 20 ++++++++++----------
3 files changed, 29 insertions(+), 28 deletions(-)
Reviewed-by: Palmer Dabbelt <pal...@sifive.com>
Thanks!