]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_scmi: use ioread64() instead of ioread64_hi_lo()
authorArnd Bergmann <arnd@arndb.de>
Tue, 4 Mar 2025 14:43:34 +0000 (15:43 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 6 Mar 2025 16:21:38 +0000 (17:21 +0100)
commit3b8c56d8072750fd9625f03b92d8d6000c98628f
tree4222d99af8531f11dc384c67307a7c9524a864df
parent4f1afeaa303c867a782c18dac31ddc3bd7654d65
firmware: arm_scmi: use ioread64() instead of ioread64_hi_lo()

The scmi_common_fastchannel_db_ring() function calls either ioread64()
or ioread64_hi_lo() depending on whether it is compiler for 32-bit
or 64-bit architectures.

The same logic is used to define ioread64() itself in the
linux/io-64-nonatomic-hi-lo.h header file, so the special case
is not really needed.

The behavior here should not change at all.

Fixes: 6f9ea4dabd2d ("firmware: arm_scmi: Generalize the fast channel support")
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250304144346.1025658-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/arm_scmi/driver.c