diff options
author | Marc Zyngier <maz@kernel.org> | 2020-10-14 11:29:27 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-10 11:34:24 +0300 |
commit | cdb5e02ed133731f8a6676a389ed40ca303cab7c (patch) | |
tree | 0b4e7d3d329cbe902aaacd80b76e9c3282956806 /arch/arm64/include/asm/kvm_host.h | |
parent | 6ddbc281e2aa21c5917e015a373958455f5eb3c1 (diff) | |
download | linux-cdb5e02ed133731f8a6676a389ed40ca303cab7c.tar.xz |
KVM: arm64: Make kvm_skip_instr() and co private to HYP
In an effort to remove the vcpu PC manipulations from EL1 on nVHE
systems, move kvm_skip_instr() to be HYP-specific. EL1's intent
to increment PC post emulation is now signalled via a flag in the
vcpu structure.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 781d029b8aa8..7991a1c13254 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -407,6 +407,7 @@ struct kvm_vcpu_arch { #define KVM_ARM64_GUEST_HAS_SVE (1 << 5) /* SVE exposed to guest */ #define KVM_ARM64_VCPU_SVE_FINALIZED (1 << 6) /* SVE config completed */ #define KVM_ARM64_GUEST_HAS_PTRAUTH (1 << 7) /* PTRAUTH exposed to guest */ +#define KVM_ARM64_INCREMENT_PC (1 << 8) /* Increment PC */ #define vcpu_has_sve(vcpu) (system_supports_sve() && \ ((vcpu)->arch.flags & KVM_ARM64_GUEST_HAS_SVE)) |