aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-07-16 04:24:07 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-07-29 05:02:34 -0400
commitab7090a611c6f4ea327c811c08458147e54130d2 (patch)
treeeef666f69ac35d1a01447c5959c80edfd8296ec6 /arch/s390/kvm
parented2afcfa13e9c44340780123a07350e14bacd4b5 (diff)
KVM: s390: add more debug data for the pfault diagnoses
We're not only interested in the address of the control block, but also in the requested subcommand and for the token subcommand, in the specified token address and masks. Suggested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r--arch/s390/kvm/diag.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kvm/diag.c b/arch/s390/kvm/diag.c
index 18717547e3ae..5fbfb88f8477 100644
--- a/arch/s390/kvm/diag.c
+++ b/arch/s390/kvm/diag.c
@@ -88,6 +88,9 @@ static int __diag_page_ref_service(struct kvm_vcpu *vcpu)
88 88
89 switch (parm.subcode) { 89 switch (parm.subcode) {
90 case 0: /* TOKEN */ 90 case 0: /* TOKEN */
91 VCPU_EVENT(vcpu, 3, "pageref token addr 0x%llx "
92 "select mask 0x%llx compare mask 0x%llx",
93 parm.token_addr, parm.select_mask, parm.compare_mask);
91 if (vcpu->arch.pfault_token != KVM_S390_PFAULT_TOKEN_INVALID) { 94 if (vcpu->arch.pfault_token != KVM_S390_PFAULT_TOKEN_INVALID) {
92 /* 95 /*
93 * If the pagefault handshake is already activated, 96 * If the pagefault handshake is already activated,
@@ -117,6 +120,7 @@ static int __diag_page_ref_service(struct kvm_vcpu *vcpu)
117 * the cancel, therefore to reduce code complexity, we assume 120 * the cancel, therefore to reduce code complexity, we assume
118 * all outstanding tokens are already pending. 121 * all outstanding tokens are already pending.
119 */ 122 */
123 VCPU_EVENT(vcpu, 3, "pageref cancel addr 0x%llx", parm.token_addr);
120 if (parm.token_addr || parm.select_mask || 124 if (parm.token_addr || parm.select_mask ||
121 parm.compare_mask || parm.zarch) 125 parm.compare_mask || parm.zarch)
122 return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION); 126 return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);