Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3498173pxu; Tue, 8 Dec 2020 13:45:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/Pikjpspgbo5VhDeZz2llMwUzgjE945QQtD9Ys3N3FDV5+eU7fNWXpC3xm4SNRLxMRPsc X-Received: by 2002:a17:907:d28:: with SMTP id gn40mr21675420ejc.33.1607463948999; Tue, 08 Dec 2020 13:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607463948; cv=none; d=google.com; s=arc-20160816; b=KBjol4DYf6biTMz3mdmFVunPI36+imuhRYglVniPBiqfHbZBZ+1A+XlKwmk8khyczT vC8OcX1C03E7aAChv9TBNrTus82GrVCL/Dei1CmVE5da9r72uzdK8D6x1fNU4HfMLajz w5l+wVXqws5+E6xjWbfIpIXz52VbqrEdjDsPm+A6aCL+FYtTEsh3NfixFL74K80zRIaQ HnHzbUV3ruqgPiZBnHb9qqdmgjvGp7ITllJeKi6lZJ5frVqQcukkJmxSNKPA24rrc44F MkgpG2VjOqOd8egjc6gKwhcf5iBGSx6aR2v18TDBWstkcH1JVw5HIVn4yvGPhbkDJWSB Gt1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=h4DTYQeYJg/FEdSffrAfQrBpakqJmGcXZl/saAgMsOQ=; b=UROcKJ4glmXLdjqiGGwrYXAK4q9uveBnMi7nlB4v5JFi4DFKYPBWIAQ2sMCTCsOv++ OtZmQ79n7KEcCy6oPkXav/ZClGXo8m993bSM3aGg3vRvM1IgVNdsBgq3ylx3yybQatXb G3SvqQtXJgnNMLkF2KnDdO5P+bVRn7pwB35i/ngtAZYp3rO09uq9blvjPmgtQpw6nSVB sB3Qu1KcxlBcl8Z+vLUhgwfkXsBCxB6wzC7RvxsbunEajvOP6/6M0h7Y/gtqeNUaYAyp jZN/rhU5cFBk6kYBu/lBNKl2WDoQXW5+Z2ksZZV6v6FZ7+yO3glkwwP8wvvdYG+I2AIa 5fNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=stfm1gSf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq20si10512889edb.563.2020.12.08.13.45.23; Tue, 08 Dec 2020 13:45:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=stfm1gSf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728923AbgLHVnR (ORCPT + 99 others); Tue, 8 Dec 2020 16:43:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbgLHVnR (ORCPT ); Tue, 8 Dec 2020 16:43:17 -0500 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 100F7C0613CF; Tue, 8 Dec 2020 13:42:37 -0800 (PST) Received: by mail-ed1-x541.google.com with SMTP id dk8so16277770edb.1; Tue, 08 Dec 2020 13:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=h4DTYQeYJg/FEdSffrAfQrBpakqJmGcXZl/saAgMsOQ=; b=stfm1gSfOfW8hHFXQ8m4sFhxzfgIuQ/abOjFm1uASl+qgNli4eT+noBozuz6JdOAIF TdPIQCxFFp4O9qW7trBdflCeYa+QZT9JKmpoPYx0SmWbpQAclCusAFM+ZlSNPYZSh3K2 wGnjjTz0WIZMtahb0/yRirP2p+d8HLbd2if5xi6fxf0xvP/RySVQo2N6bNtrsKcuT3GH GAIK4fL6uTtSAPua56csAIYssOCmwq+vW5iWEhVPlZEW+szhQCWnJEBDg3No1A/RRrAa f4z8tkitbfrlO2rROm+TqqAoIJKMO93Rj0MhTvvQqoRn+n/JNl0MYOLk8a6ffrCR7jkF YyZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=h4DTYQeYJg/FEdSffrAfQrBpakqJmGcXZl/saAgMsOQ=; b=eFDjHRsQKchTi/zz0sC56v1xlTysnOXY4uV8ZvgHsuuMdD4efkmdvqCGnQBgtR/RUe TBARcrJcqPp8an/oBMW17inZM1An5/k7OxrZddkq0LG7YDXYbvoiqXPlXM2/jXe8pMVo gC/gR9O+p7dJCxPJdzWgawbuCe3JejNmlLZDqBkFDMzxORF8B/l4zvJauZBPRdbGQ2ph gNIXeT2OwyzBRUxdXY0InyTXlHQ1sx4Z3gT0c09VwrQMprfIyJ7hizq7CjN6tuTpPD8O J5dFDeJAIuFw5Ef1WaVo2IW7OyObzo4snJYfq1ilRDJ97dIzrH1x3eSvOxCu2tkWmRvL D9eQ== X-Gm-Message-State: AOAM5305gO7lrk0cm0rwlAroXlgpyMfyVzcq3ySj4hfGnX78l73JdlcM 8soWsEHQ3qpdNVQ4YRxij99GSfZEFYY= X-Received: by 2002:a50:ccdb:: with SMTP id b27mr23337edj.20.1607463755817; Tue, 08 Dec 2020 13:42:35 -0800 (PST) Received: from ubuntu-laptop (ip5f5bfce9.dynamic.kabel-deutschland.de. [95.91.252.233]) by smtp.googlemail.com with ESMTPSA id c25sm16974995ejx.39.2020.12.08.13.42.34 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Dec 2020 13:42:35 -0800 (PST) Message-ID: Subject: Re: [PATCH v1 3/3] scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM From: Bean Huo To: Avri Altman , "alim.akhtar@samsung.com" , "asutoshd@codeaurora.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "beanhuo@micron.com" , "bvanassche@acm.org" , "tomas.winkler@intel.com" , "cang@codeaurora.org" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rostedt@goodmis.org" Date: Tue, 08 Dec 2020 22:42:34 +0100 In-Reply-To: References: <20201206164226.6595-1-huobean@gmail.com> <20201206164226.6595-4-huobean@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-12-08 at 08:35 +0000, Avri Altman wrote: > > didn't differenciate them. we take all of these as CDB. This is > > wrong. > > > > I want to make it clearer and make UPIU trace in line with the > > Spec. > > what's more, how do you filter OSF, TM parameters with current > > UPIU > > trace? you take all of them as CDB? if so, I think, it's better to > > change parser. > > Indeed, it is just a small change, but breaking user-space is not an > acceptable approach. > Also, the upiu tracer was never meant to be human-readable: it just > dump the upiu, > Which contains all the info required to parse it anyway, > So breaking user-space just to making it more readable doesn't really > make sense? > > Looking at the previous 2 patches of this series, I was hoping that > you will do the same for > Command upiu, as well? > Again - same comment: if you are doing that need to change the str > not to break current parsers. > > Thanks, > Avri will not change original CDB format, just add new OSF, TM. the string format will not be change. The current the HDR and CDB in the send and complete trace are the same, I guess, you even didn't trace CDB in your parser, they cannot tell you the request execution result. Bean