Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2495287pxj; Mon, 31 May 2021 03:45:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/lk4yx72sdIUNM1G/+sysyV7p0HP5WR28KTvrJP9YwSFpiUYWIgCyjW3dbPhf44EYc/Nt X-Received: by 2002:a17:906:b14f:: with SMTP id bt15mr23127803ejb.126.1622457914069; Mon, 31 May 2021 03:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622457914; cv=none; d=google.com; s=arc-20160816; b=IlI5N6keXJ2b5t/at4YGlayiogttBYUaQiyRBm7J1Nyvt0B0xj64kW9PMNnRl6JJSg 0WEejLTlVrkL72eGbe+vNGM8vL1wqA+Dv+zJrVtWqlmTrg8QNdh4svIXifWOLm2o1DKJ cqh5jPP/XFgeR5bLtU/yOcAqdYQ6ZdTy6HfDQSn+t+kacHEc+IChqXj/j2sUlLV7U+ZU MTYhTiK9aXsAicAMxIUCQl59OLdAwzubMJeqezrwbp3XYyh2EDX7Q0lV1fF17+U7duvH sCYrFKrgOxYEJjqvBQ405s/pcxNf49aD35kZPzJBUcsTygujOIK3jGSaFJeauPkwHtpO p/OQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=KRDWLXAck1raFp8VVUs1f+mKxKULvRviPycYi4op11g=; b=ietV/ihg2jOWuVpLDb7mp9gZOFI0SLoEMH/x1iEGebtoZvoJRIy15lhnOb9SQd1lkU UFEz9gO+JrSVUzYdRoGDgqpHsZODbowG0VCYhjpUzGMA7nLtPsN48622SG6td/OhcCnL eD/moIKibVq67JdehYrcOos9X581s/V6plUsV3Yp42W4URqVezUtQE7t85LbVLB7BjkR DRFReqjh99d5Vd/a6do240QDXKvfwVR3zIVB+BNlEgC+SnQbYHxmg2KiDJUnS0pO1zF9 ij4B+uf5cvDFB/mlWNqy+G6Bya3aCWJVYxBqv1h5V5ZlFe6Eprt1sdX0/AkZz6aSuWvF 2vRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m7XodNLp; 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 gb8si15952177ejc.558.2021.05.31.03.44.50; Mon, 31 May 2021 03:45:14 -0700 (PDT) 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=m7XodNLp; 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 S231296AbhEaKpR (ORCPT + 99 others); Mon, 31 May 2021 06:45:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbhEaKpD (ORCPT ); Mon, 31 May 2021 06:45:03 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38F1EC061574; Mon, 31 May 2021 03:43:22 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id h24so12079241ejy.2; Mon, 31 May 2021 03:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KRDWLXAck1raFp8VVUs1f+mKxKULvRviPycYi4op11g=; b=m7XodNLph4OruuhYIefg83obccGHvKBocm2gLu9zwfuxGpyDF6izlQEsgL7d8Or9W4 XirSMhU2x7KqxLD/r8YDhtI8NBqmACPnpQR5VnElxvS3KdG9IZJUWlxgq114rWEs15xk iZTX8SkVmaxM4L97H9+lOnIvlIlbnKrwP98tGluWZSADdli5DFrM5uHdfNiV1xO2idLf lK41Y7Rpcbu8wn+8URGQ/1XVEDkCbSlhs0bsfZ0S9j+oWl42EdPHMe2bDkEnehHsIlH2 1qrABwYZyhQdinjbqy7K/IeNwsk9L4+hFQ95/TitqV+27Pfi4FqvszjwZaogHIXUq5iB lJ2Q== 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:mime-version :content-transfer-encoding; bh=KRDWLXAck1raFp8VVUs1f+mKxKULvRviPycYi4op11g=; b=CCkEVOhrUELVPcp8s8XTSHHtbXyNw2GVO+pOUr7/yv301/XS5RtJks3H7Iwa3WlH2S TkXERkWAA2KMDOF6HTCaArb8XLn27QIe3EBsdV+6xPjMjANa7LKIcKCh5UOG/mQtwvjG z+MWucLHsc5l3U4g2u8D02oUcdL1N940STkPVGToEPQPNyjNxwWmULtltwJy/5qfAqL7 zX/Q29z4cOCJYZWgp/jSoh/Z2faAoZuT6gYtRyfWCSkhYvgeZ9JGCPqm/M5HQcsUhAbI eYYApZExC3zQQAgLi6KbRrK91PBjQecZiPUHAIUW1SenOb5kCorrth3JZ8PhtB/uga2B 509g== X-Gm-Message-State: AOAM533CBKhYGo25d9NN9P11EZc03UiGi89mYmhN40eVH8xRE6Z/nj8I DEE9RQUhdQEWjmaUXMdWcJA= X-Received: by 2002:a17:907:7713:: with SMTP id kw19mr3821943ejc.249.1622457800884; Mon, 31 May 2021 03:43:20 -0700 (PDT) Received: from localhost.localdomain (ip5f5bec5d.dynamic.kabel-deutschland.de. [95.91.236.93]) by smtp.gmail.com with ESMTPSA id dk9sm5741035ejb.91.2021.05.31.03.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 03:43:20 -0700 (PDT) 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 Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] Several minor changes for UFS Date: Mon, 31 May 2021 12:43:04 +0200 Message-Id: <20210531104308.391842-1-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Changelog: v1--v2: 1. Add a new cleanup patch 1/4 2. Make the patch 3/4 much readable by initializing a variable 'header'. Bean Huo (4): scsi: ufs: Cleanup ufshcd_add_command_trace() scsi: ufs: Let UPIU completion trace print RSP UPIU header scsi: ufs: Let command trace only for the cmd != null case scsi: ufs: Use UPIU query trace in devman_upiu_cmd drivers/scsi/ufs/ufshcd.c | 59 ++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 25 deletions(-) -- 2.25.1