arm64/io: Always inline all of __raw_{read,write}[bwlq]()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 19 May 2023 10:21:01 +0000 (12:21 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 19:11:04 +0000 (21:11 +0200)
commitc1d26c0f0295953d35307f9ee07f3e5295741315
treea46279897beb6d62184fe11a0690561bd788e219
parent5949a68c73444d89b171703b67ff04fc4d6059c1
arm64/io: Always inline all of __raw_{read,write}[bwlq]()

The next patch will want to use __raw_readl() from a noinstr section
and as such that needs to be marked __always_inline to avoid the
compiler being a silly bugger.

Turns out it already is, but its siblings are not. Finish the work
started in commit e43f1331e2ef913b ("arm64: Ask the compiler to
__always_inline functions used by KVM at HYP") for consistenies sake.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V
Link: https://lore.kernel.org/r/20230519102715.368919762@infradead.org
arch/arm64/include/asm/io.h