summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2023-07-24 13:38:27 +0100
committerOliver Upton <oliver.upton@linux.dev>2023-07-26 17:08:30 +0000
commita9626099a51f697939d35983b92a9384a4c4a676 (patch)
tree2b69b702d065a0ff37b55b6573c093a176f5d560 /arch/arm64/include/asm/kvm_emulate.h
parent90ae31c65d5afdd0864017c9354247ddb601917f (diff)
KVM: arm64: Use the appropriate feature trap register when activating traps
Instead of writing directly to cptr_el2, use the helper that selects which feature trap register to write to based on the KVM mode. Fixes: 75c76ab5a641 ("KVM: arm64: Rework CPTR_EL2 programming for HVHE configuration") Signed-off-by: Fuad Tabba <tabba@google.com> Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230724123829.2929609-7-tabba@google.com Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/include/asm/kvm_emulate.h')
0 files changed, 0 insertions, 0 deletions