From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:59506 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2393980AbfJPOUu (ORCPT ); Wed, 16 Oct 2019 10:20:50 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9GE3Al0010990 for ; Wed, 16 Oct 2019 10:20:48 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vp4f6s6wu-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 16 Oct 2019 10:20:48 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 16 Oct 2019 15:20:47 +0100 From: Eric Farman Subject: [PATCH v3 0/4] vfio-ccw: A couple trace changes Date: Wed, 16 Oct 2019 16:20:36 +0200 Message-Id: <20191016142040.14132-1-farman@linux.ibm.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: Cornelia Huck , Halil Pasic Cc: Steffen Maier , Jason Herne , Jared Rossi , linux-s390@vger.kernel.org, kvm@vger.kernel.org, Eric Farman Here a couple updates to the vfio-ccw traces in the kernel, based on things I've been using locally. Perhaps they'll be useful for future debugging. v2 -> v3: - Added Conny's r-b to patches 1, 2, 4 - s/command=%d/command=0x%x/ in patch 3 [Cornelia Huck] v1/RFC -> v2: - Convert state/event=%x to %d [Steffen Maier] - Use individual fields for cssid/ssid/sch_no, to enable filtering by device [Steffen Maier] - Add 0x prefix to remaining %x substitution in existing trace Eric Farman (4): vfio-ccw: Refactor how the traces are built vfio-ccw: Trace the FSM jumptable vfio-ccw: Add a trace for asynchronous requests vfio-ccw: Rework the io_fctl trace drivers/s390/cio/Makefile | 4 +- drivers/s390/cio/vfio_ccw_cp.h | 1 + drivers/s390/cio/vfio_ccw_fsm.c | 11 +++-- drivers/s390/cio/vfio_ccw_private.h | 1 + drivers/s390/cio/vfio_ccw_trace.c | 14 ++++++ drivers/s390/cio/vfio_ccw_trace.h | 76 ++++++++++++++++++++++++++--- 6 files changed, 93 insertions(+), 14 deletions(-) create mode 100644 drivers/s390/cio/vfio_ccw_trace.c -- 2.17.1