MIPS: Add __ioread64_copy
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 04:36:15 +0000 (21:36 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 11:53:14 +0000 (13:53 +0200)
commitd8c825e2a05390efa4a5750c5c17e168139c1d48
treed4838fdfa7faccde33dcce4bc3261e818d448309
parent9762d2e6d329a500dc6c07156e3c56aab3992471
MIPS: Add __ioread64_copy

We currently have __ioread32_copy, __iowrite32_copy & __iowrite64_copy
helpers in lib/iomap_copy.c. This patch adds __ioread64_copy to round
out the set, allowing copies from I/O memory using 32 or 64 bit reads.

[ralf@linux-mips.org: Changed to move all the code of this patch to be
applied to arch/mips temporarily.]

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17025/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/io.h
arch/mips/lib/Makefile
arch/mips/lib/iomap_copy.c [new file with mode: 0644]