summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/priv.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2017-02-09 17:15:41 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-03-16 13:04:37 +0100
commit4d5f2c04c8a462a1c7ad3fdc138515c84fa65379 (patch)
treefe729f9b00a8d6e705a3c79775d33b7a9d9bfb63 /arch/s390/kvm/priv.c
parentLinux 4.11-rc2 (diff)
downloadlinux-4d5f2c04c8a462a1c7ad3fdc138515c84fa65379.tar.xz
linux-4d5f2c04c8a462a1c7ad3fdc138515c84fa65379.zip
KVM: s390: log runtime instrumentation enablement
We handle runtime instrumentation enablement either lazy or via sync_regs on migration. Make sure to add a debug log entry for that per CPU on the first occurrence. Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/priv.c')
-rw-r--r--arch/s390/kvm/priv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c
index 64b6a309f2c4..93d6cde8c3ea 100644
--- a/arch/s390/kvm/priv.c
+++ b/arch/s390/kvm/priv.c
@@ -37,6 +37,7 @@
static int handle_ri(struct kvm_vcpu *vcpu)
{
if (test_kvm_facility(vcpu->kvm, 64)) {
+ VCPU_EVENT(vcpu, 3, "%s", "ENABLE: RI (lazy)");
vcpu->arch.sie_block->ecb3 |= 0x01;
kvm_s390_retry_instr(vcpu);
return 0;