diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-11 11:13:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-11 11:13:36 +0100 |
commit | 05d36a7dff0b091803034a0d70b41af86aecbc8d (patch) | |
tree | e8e3768f280fc8ec168471b79d36575c0b9f4638 /arch/arm64/include/asm/kvm_host.h | |
parent | bc33b0ca11e3df467777a4fa7639ba488c9d4911 (diff) | |
parent | d42c79701a3ee5c38fbbc82f98a140420bd40134 (diff) | |
download | linux-stable-05d36a7dff0b091803034a0d70b41af86aecbc8d.tar.gz linux-stable-05d36a7dff0b091803034a0d70b41af86aecbc8d.tar.bz2 linux-stable-05d36a7dff0b091803034a0d70b41af86aecbc8d.zip |
Merge tag 'kvm-arm-for-v4.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/ARM updates for v4.9-rc4
- Kick the vcpu when a pending interrupt becomes pending again
- Prevent access to invalid interrupt registers
- Invalid TLBs when two vcpus from the same VM share a CPU
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index bd94e6766759..e5050388e062 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -62,6 +62,9 @@ struct kvm_arch { /* VTTBR value associated with above pgd and vmid */ u64 vttbr; + /* The last vcpu id that ran on each physical CPU */ + int __percpu *last_vcpu_ran; + /* The maximum number of vCPUs depends on the used GIC model */ int max_vcpus; |