KVM: arm64: Make kvm_at() take an OP_AT_*
authorJoey Gouly <joey.gouly@arm.com>
Fri, 3 May 2024 13:01:26 +0000 (14:01 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Aug 2024 11:03:51 +0000 (12:03 +0100)
commit69231a6fcb638b7929e9fc88c4fa73a04e6d4e0c
tree8e43908daa791abd2a7bb770a755ed9a3d67284e
parent8400291e289ee6b2bf9779ff1c83a291501f017b
KVM: arm64: Make kvm_at() take an OP_AT_*

To allow using newer instructions that current assemblers don't know about,
replace the `at` instruction with the underlying SYS instruction.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp/include/hyp/fault.h