]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc: asm/io.h: remove split ioread64/iowrite64 helpers
authorArnd Bergmann <arnd@arndb.de>
Tue, 11 Mar 2025 08:51:12 +0000 (09:51 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 11 Mar 2025 09:46:29 +0000 (10:46 +0100)
commit53a83845dd27f7aeb456a0bac01aba9587fbf51f
tree5d3d7d861dcbe44721a4b2389dad8f4cdaf672e5
parent4d182c5ee2c89b41477a4059aab4fae4c549e8af
powerpc: asm/io.h: remove split ioread64/iowrite64 helpers

In previous kernels, there were conflicting definitions for what
ioread64_lo_hi() and similar functions were supposed to do on
architectures with native 64-bit MMIO. Based on the actual usage in
drivers, they are in fact expected to be a pair of 32-bit accesses on
all architectures, which makes the powerpc64 definition wrong.

Remove it and use the generic implementation instead.

Drivers that want to have split lo/hi or hi/lo accesses on 32-bit
architectures but can use 64-bit accesses where supported should instead
use ioread64()/iowrite64() after including the corresponding header file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/include/asm/io.h