arm64: insn: remove aarch64_insn_gen_prefetch()
authorMark Rutland <mark.rutland@arm.com>
Mon, 14 Nov 2022 13:59:25 +0000 (13:59 +0000)
committerWill Deacon <will@kernel.org>
Tue, 15 Nov 2022 13:07:44 +0000 (13:07 +0000)
commit1b6bf2da7b1d2ba7560c793b22d66f134ac61416
treea6e320804049443c51dac21e7435248ff2ea5645
parentf0c4d9fc9cc9462659728d168387191387e903cc
arm64: insn: remove aarch64_insn_gen_prefetch()

There are no users of aarch64_insn_gen_prefetch(), and which encodes a
PRFM (immediate) with a hard-coded offset of 0.

Remove it for now; we can always restore it with tests if we need it in
future.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20221114135928.3000571-2-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/insn.h
arch/arm64/lib/insn.c