Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp328255pxu; Tue, 5 Jan 2021 12:05:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqOaa3fgKIKIiGWLXYyw3Hh4D1Dx6DaL5byJMuAujW0l3aF/YLk2dzODSBJT4MJXsk8bmp X-Received: by 2002:a17:907:2052:: with SMTP id pg18mr664578ejb.153.1609877134775; Tue, 05 Jan 2021 12:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609877134; cv=none; d=google.com; s=arc-20160816; b=x5/ZxTdIp7yu5CWoVEQ03G877eDbrDjoOtpXzWcoCm092L6VuFSDFayVGRShfXSAN9 wMIvziGU01vIzqM2AyuJzlvM6pRh8MDUQF2WcA/V2EEQLlVGhx4qMEkJk44qYdibeZb6 bQ+f7Dkke+s6VLs4moOd0dy/u9IDV44AJoqG7eft6mJ9dthPOj0p5ZRiQUZ7/e2XuB2S XEcoCwJU6G/QVJCEBGLVI4ZIWWBh/dN3xCce74GsRnX3IHlL4ohJVr/yb0htWvQHITdj 5BiHh3HxvAnANoMPDw6iTNMqn4LK/a7QRsU+C3MaHAArn9HH1wT/NlK+byV/b2ILYlZ4 9yfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=qPPsLZerWFE51BU3W/KJIZQXqWk6zyP9GwJShb46KIw=; b=ZF0pid2qId148OqVkZ93IUeNYR8jcdwAhpkp5F3ObInUzG9kBxGo2hMS85BFcbKBm4 Ej8WOPI0AYdQcURYZ+qtXW7O3ktNtLyPu0lHUKJschI5JyvoSToZcZaq+w6Bw9QvHg5/ FoLmylRwwU2L+j0ZMHStuLrt8PaKP8rhHwaL/wvDxAO/cneKqUJUmjrIkJyV2aCKGbXe 4XtNnHndlr5RXbwjtHBuv+lAevqDneAkG7nCvoLRshK7ZkJeb9ihHrMzXIuA9KaUiyiu QgCdCPyR6iKwe64gd7ex4Uq76U/63t15UlHAhccd8n4lpB9JlyC0QhbPPhfdvR0udbpq F+Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dneJjqT+; 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 d27si82171ejc.384.2021.01.05.12.05.11; Tue, 05 Jan 2021 12:05:34 -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=dneJjqT+; 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 S1729427AbhAELfk (ORCPT + 99 others); Tue, 5 Jan 2021 06:35:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbhAELfk (ORCPT ); Tue, 5 Jan 2021 06:35:40 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A47D0C061574; Tue, 5 Jan 2021 03:34:59 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id c7so30716709edv.6; Tue, 05 Jan 2021 03:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qPPsLZerWFE51BU3W/KJIZQXqWk6zyP9GwJShb46KIw=; b=dneJjqT+vxmq/8CRmRyETdxa85FevxqTJHh6UJ1r6jU07KcM57uUImPCeGBwgKZP3M Hxgri8LVjpd1YZvCq7JQKnoYEl8OOwDjmZtYE0ncSjRtYI5Wacy9IyJqLwTrEAQ7Pca4 fIIJuxfETbRMnkQrSCoHfQAipUwflyhCpqj+vMjdGRXL5t4DdBDpyoGTcnhOwyWUPhyU lu+MzVBoa04xeWunzW77P/mDzlCuUFZtxcgx24UdAX3P+aT4/Cc67cclE+Ab+7NifZPS s7ghnoRZYNpSa3LR6N00x2lW5/LVKMdj3sUrkIN8D1eVn1VXnEBYy9pe8itEM71Rt4yc pQvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qPPsLZerWFE51BU3W/KJIZQXqWk6zyP9GwJShb46KIw=; b=XHInebBYvow0y6FJsg5z/9nd8y70R8m10r4NluLw9SkAvU+COEdGGgrVIAUQClkWk+ ylS6BPbtxSQO7WCGSLa+rCwxKVAcJVdvAzUjbquptcalqTuMXjiiLj1Ot/3kej/BpJB/ 5qAH0IK6inlwlWT+3nEZEPsAWEI/Igp44jwkc7/mrQH1ItsC/SPRpYKpTNIbMb87uaaf DfFceSNcc3KK2L+/LMZZGxbklqjzWsKD6o+x2tUSDOctzC1D9RVGH9jqJVaPrrQ7aOOO aPPZ6li00HxVMhfebuT2Hjh5t0PVfsANai/YPRjOR39wApiklS/C085b1B15R6eXhNNB M/ew== X-Gm-Message-State: AOAM5308VzUm6ZSOjUL33tGfxjZYrSyyy+UnXYjSuTdlWZvyfWHs1zrj Fnz6uVxBnn9VA6RcNn8aAAcypJlOHXV+Vg== X-Received: by 2002:a50:9354:: with SMTP id n20mr76891365eda.231.1609846498475; Tue, 05 Jan 2021 03:34:58 -0800 (PST) Received: from localhost.localdomain (ip5f5bfcff.dynamic.kabel-deutschland.de. [95.91.252.255]) by smtp.gmail.com with ESMTPSA id n17sm24640772ejh.49.2021.01.05.03.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 03:34:58 -0800 (PST) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.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, rostedt@goodmis.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/6] Several changes for the UPIU trace Date: Tue, 5 Jan 2021 12:34:40 +0100 Message-Id: <20210105113446.16027-1-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Changelog: V3--v4: 1. Rebase patch onto 5.12/scsi-queue 2. Incorporate Avri's suggestion in patch 2/6 V2--V3: 1. Fix a typo in patch 1/6 (Reported-by: Joe Perches ) V1--V2: 1. Convert __get_str(str) to __print_symbolic() 2. Add new patches 1/6, 2/6,3/6 3. Use __print_symbolic() in patch 6/6 Bean Huo (6): scsi: ufs: Remove stringize operator '#' restriction scsi: ufs: Use __print_symbolic() for UFS trace string print scsi: ufs: Don't call trace_ufshcd_upiu() in case trace poit is disabled scsi: ufs: Distinguish between query REQ and query RSP in query trace scsi: ufs: Distinguish between TM request UPIU and response UPIU in TM UPIU trace scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM drivers/scsi/ufs/ufs.h | 17 ++++++ drivers/scsi/ufs/ufshcd.c | 72 ++++++++++++++++--------- include/trace/events/ufs.h | 108 +++++++++++++++++++++++-------------- 3 files changed, 131 insertions(+), 66 deletions(-) -- 2.17.1