diff options
author | Mark Brown <broonie@kernel.org> | 2022-12-27 17:05:05 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-12 16:31:33 +0000 |
commit | 1abf363d085cf6133ef44900334ddd0f61dc3276 (patch) | |
tree | c662d4e69be3d781aeb613e545d498f703f3fb0f /arch/arm64/kvm/hyp | |
parent | df5f1775aab2ab819caac73f1ccbb65929848e4e (diff) | |
download | linux-stable-1abf363d085cf6133ef44900334ddd0f61dc3276.tar.gz linux-stable-1abf363d085cf6133ef44900334ddd0f61dc3276.tar.bz2 linux-stable-1abf363d085cf6133ef44900334ddd0f61dc3276.zip |
KVM: arm64: Use symbolic definition for ISR_EL1.A
Now that we are generating ISR_EL1 we have acquired a constant for
ISR_EL1.A, use it rather than the magic number we had been using in the KVM
entry code.
Suggested-by: Marc Zyngier <maz@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221208-arm64-isr-el1-v2-3-89f7073a1ca9@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp')
-rw-r--r-- | arch/arm64/kvm/hyp/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/entry.S b/arch/arm64/kvm/hyp/entry.S index 435346ea1504..f3aa7738b477 100644 --- a/arch/arm64/kvm/hyp/entry.S +++ b/arch/arm64/kvm/hyp/entry.S @@ -171,7 +171,7 @@ alternative_else dsb sy // Synchronize against in-flight ld/st isb // Prevent an early read of side-effect free ISR mrs x2, isr_el1 - tbnz x2, #8, 2f // ISR_EL1.A + tbnz x2, #ISR_EL1_A_SHIFT, 2f ret nop 2: |