]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Remove ISB after writing FPEXC32_EL2
authorMark Rutland <mark.rutland@arm.com>
Tue, 6 Jan 2026 17:37:07 +0000 (17:37 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 7 Jan 2026 11:56:30 +0000 (11:56 +0000)
commitb1a9a9b96169bf1f9cb94b8aa33601996fad1e9c
tree939b80380a6ae70dda14faa86dc5e8c4c07f45c1
parentacd8bfaa9384300a509c8aff5ee4a59a06eb2b2b
KVM: arm64: Remove ISB after writing FPEXC32_EL2

The value of FPEX32_EL2 has no effect on execution in AArch64 state, and
consequently there's no need for an ISB after writing to it in the hyp
code (which executes in AArch64 state). When performing an exception
return to AArch32 state, the exception return will provide the necessary
context synchronization event.

Remove the redundant ISB.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Fuad Tabba <tabba@google.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Will Deacon <will@kernel.org>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260106173707.3292074-4-mark.rutland@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/include/hyp/switch.h