diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-04 19:17:20 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-04 19:17:20 +0100 |
commit | db281766baf4f88da2892f329381e9d9baa9756d (patch) | |
tree | 6e77f30c0a7533f7e0cc8dd5deaf17e00a510969 /arch/arm64/kvm/sys_regs_generic_v8.c | |
parent | Merge tag 'sound-4.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ti... (diff) | |
parent | Merge tag 'kvm-arm-for-v4.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-db281766baf4f88da2892f329381e9d9baa9756d.tar.xz linux-db281766baf4f88da2892f329381e9d9baa9756d.zip |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull ARM KVM fixes from Paolo Bonzini:
- a series of fixes to deal with the aliasing between the sp and xzr
register
- a fix for the cache flush fix that went in -rc3
* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
ARM/arm64: KVM: correct PTE uncachedness check
arm64: KVM: Get rid of old vcpu_reg()
arm64: KVM: Correctly handle zero register in system register accesses
arm64: KVM: Remove const from struct sys_reg_params
arm64: KVM: Correctly handle zero register during MMIO
Diffstat (limited to 'arch/arm64/kvm/sys_regs_generic_v8.c')
-rw-r--r-- | arch/arm64/kvm/sys_regs_generic_v8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kvm/sys_regs_generic_v8.c b/arch/arm64/kvm/sys_regs_generic_v8.c index 1e4576824165..ed90578fa120 100644 --- a/arch/arm64/kvm/sys_regs_generic_v8.c +++ b/arch/arm64/kvm/sys_regs_generic_v8.c @@ -31,13 +31,13 @@ #include "sys_regs.h" static bool access_actlr(struct kvm_vcpu *vcpu, - const struct sys_reg_params *p, + struct sys_reg_params *p, const struct sys_reg_desc *r) { if (p->is_write) return ignore_write(vcpu, p); - *vcpu_reg(vcpu, p->Rt) = vcpu_sys_reg(vcpu, ACTLR_EL1); + p->regval = vcpu_sys_reg(vcpu, ACTLR_EL1); return true; } |