]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Enable FEAT_{LS64, LS64_V} in the supported guest
authorYicong Yang <yangyicong@hisilicon.com>
Mon, 19 Jan 2026 02:29:26 +0000 (10:29 +0800)
committerWill Deacon <will@kernel.org>
Thu, 22 Jan 2026 13:24:49 +0000 (13:24 +0000)
commit151b92c92a45704216c37d6238efbffd84aac538
tree3b7eb3b667e8ab39f9fbe6f6043030856c55d8de
parentdea58da4b6fede082d9f38ce069090fd6d43f4e2
KVM: arm64: Enable FEAT_{LS64, LS64_V} in the supported guest

Using FEAT_{LS64, LS64_V} instructions in a guest is also controlled
by HCRX_EL2.{EnALS, EnASR}. Enable it if guest has related feature.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Oliver Upton <oupton@kernel.org>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/kvm_emulate.h