projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5967c17
)
KVM: s390: fix pfmf intercept handler
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Fri, 13 Nov 2015 12:31:58 +0000
(13:31 +0100)
committer
Christian Borntraeger
<borntraeger@de.ibm.com>
Thu, 19 Nov 2015 10:08:17 +0000
(11:08 +0100)
The pfmf intercept handler should check if the EDAT 1 facility
is installed in the guest, not if it is installed in the host.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/priv.c
patch
|
blob
|
history
diff --git
a/arch/s390/kvm/priv.c
b/arch/s390/kvm/priv.c
index
77191b8
..
d76b51c
100644
(file)
--- a/
arch/s390/kvm/priv.c
+++ b/
arch/s390/kvm/priv.c
@@
-660,7
+660,7
@@
static int handle_pfmf(struct kvm_vcpu *vcpu)
kvm_s390_get_regs_rre(vcpu, ®1, ®2);
- if (!
MACHINE_HAS_PFMF
)
+ if (!
test_kvm_facility(vcpu->kvm, 8)
)
return kvm_s390_inject_program_int(vcpu, PGM_OPERATION);
if (vcpu->arch.sie_block->gpsw.mask & PSW_MASK_PSTATE)