From: Christian Borntraeger Subject: Re: kvm-s390: Dont exit SIE on SIGP sense running Date: Mon, 21 Jun 2010 12:15:33 +0200 Message-ID: <201006211215.33599.borntraeger@de.ibm.com> References: <201006172316.21684.borntraeger@de.ibm.com> <4C1F2286.7090108@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, Heiko Carstens , Martin Schwidefsky , Carsten Otte To: Avi Kivity Return-path: Received: from mtagate4.uk.ibm.com ([194.196.100.164]:32904 "EHLO mtagate4.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932126Ab0FUKPh (ORCPT ); Mon, 21 Jun 2010 06:15:37 -0400 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate4.uk.ibm.com (8.13.1/8.13.1) with ESMTP id o5LAFaHU003382 for ; Mon, 21 Jun 2010 10:15:36 GMT Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5LAFadg1536064 for ; Mon, 21 Jun 2010 11:15:36 +0100 Received: from d06av03.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5LAFZGE024538 for ; Mon, 21 Jun 2010 11:15:35 +0100 In-Reply-To: <4C1F2286.7090108@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Am Montag 21 Juni 2010, 10:27:50 schrieb Avi Kivity: [...] > > VCPU_EVENT(vcpu, 3, "%s", "free cpu"); > > + clear_bit(63 - vcpu->vcpu_id, (unsigned long *)&vcpu->kvm->arch.sca->mcn); > > if (vcpu->kvm->arch.sca->cpu[vcpu->vcpu_id].sda == > > (__u64) vcpu->arch.sie_block) > > vcpu->kvm->arch.sca->cpu[vcpu->vcpu_id].sda = 0; > > > > Unrelated, do these VCPU_EVENTs want to become ftrace tracepoints? > > Hmm, dont know. Currently this calls into a s390 debug tracing facility (arch/s390/kernel/debug.c) which is heavily used by our service folks. There are commands for crash and lcrash to show these s390 debug traces from a dump. Maybe its worth to investigate if we should change some of these events to have both ftrace-tracepoints and the debug traces. Christian