Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp257882pxb; Mon, 8 Feb 2021 22:32:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4Bbpepp3a/g+B1rYK1X1i1yXFnul2PEUOugOyJ/IalX/go8V/GVQBOqn1p+2ZGsRfBnuB X-Received: by 2002:a17:906:488:: with SMTP id f8mr20126717eja.311.1612852371463; Mon, 08 Feb 2021 22:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612852371; cv=none; d=google.com; s=arc-20160816; b=Gtwlk/3HFrxoEH6Vndu3njZjxRO3tGaXMMJGtfvFJYGA0j+m7Mb10Amx3bRYuUwrIJ HzVIYrfT38HxA8zF02A+xm8ekRq/fn75L8X50OdjhLPBdHw6BPcH9F/ZSLf7vJjhXdVm uUA2zI+0MWdz5FmBykfWBTb6yrDoIXyn5rOS5Z+nfe0rWsr/ZfJEIGuwFvcN4JCKHvUP 6UztkwqxZ006PfYr36XXDrPfZMgN3rO4fBLY3mSK5Hj48lVVa5CSaGdPUC+3oWJVAERq X9e9h72nwBGCjmeisfnr7lv1RoyxbUM4sm3IVCUn3tYU9vy1S70BI4SI9VUxeR9oh3NY bOPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=UwnNfCD27ffn7oL+/WM8F5fJleuS5sCte6jAf1cmXE0=; b=TokXy8bmsP3p2OUxxayo4GdFzD7l7X4jf0eeYWjXCK3vg2trVhL1wfQI41IH7VitrL 5GdCyEDgrTHPFkpIzWeJGCRxaBk99NW9fns7akdvST0v89/VsMsviomFGSnlWgvmTVeh YQNQCbiB7q7KQEasFadrDqRyzlpfQsW9P34kpr994lj85JY1DCE6p/F1fR02/Zguoua9 Edefa4kpS93BAXArC9/ZEmZVYvZ806FqeBCRd58G057zCzoM3i8BqlBTXEOBr7O4jcMR jhSRoMM3SAzOPtbZsw/EQTClkwgGKHGGic2FcBbLmRf3LT+S7xpkuJmER/vzcSX4Agz8 TT2g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di1si13551004edb.489.2021.02.08.22.32.28; Mon, 08 Feb 2021 22:32:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230346AbhBIGbk (ORCPT + 99 others); Tue, 9 Feb 2021 01:31:40 -0500 Received: from mga07.intel.com ([134.134.136.100]:37168 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbhBIGZU (ORCPT ); Tue, 9 Feb 2021 01:25:20 -0500 IronPort-SDR: ZHj4i/RB6o/zF4TvEHt2Yt1XHoAaVX4/Buq+nCcu5jAgbvFDXtAsWwI22MfFavlmvSRw835+e8 GnCwf4Q9PLGA== X-IronPort-AV: E=McAfee;i="6000,8403,9889"; a="245904362" X-IronPort-AV: E=Sophos;i="5.81,164,1610438400"; d="scan'208";a="245904362" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2021 22:24:38 -0800 IronPort-SDR: rFhM6d2jyaZAITfd/ARuYEQ9kL1PMazbr9zTRnID6C/X0xWaZUr4EfKjR7KdJZukmHR+b8l+/Y bCAzsrcetgUw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,164,1610438400"; d="scan'208";a="398681940" Received: from ahunter-desktop.fi.intel.com ([10.237.72.149]) by orsmga007.jf.intel.com with ESMTP; 08 Feb 2021 22:24:35 -0800 From: Adrian Hunter To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Alim Akhtar , Avri Altman , Bean Huo , Can Guo , Stanley Chu Subject: [PATCH V2 0/4] scsi: ufs-debugfs: Add UFS Exception Event reporting Date: Tue, 9 Feb 2021 08:24:33 +0200 Message-Id: <20210209062437.6954-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.17.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Here are V2 patches to add a tracepoint for UFS Exception Events and to allow users to enable specific exception events without affecting the driver's use of exception events. Changes in V2: scsi: ufs: Add exception event tracepoint Change status field from "exception event status" to "status" scsi: ufs: Add exception event definitions Add Reviewed-by: Bean Huo Adrian Hunter (4): scsi: ufs: Add exception event tracepoint scsi: ufs: Add exception event definitions scsi: ufs-debugfs: Add user-defined exception_event_mask scsi: ufs-debugfs: Add user-defined exception event rate limiting drivers/scsi/ufs/ufs-debugfs.c | 90 ++++++++++++++++++++++++++++++++++++++++++ drivers/scsi/ufs/ufs-debugfs.h | 2 + drivers/scsi/ufs/ufs.h | 10 ++++- drivers/scsi/ufs/ufshcd.c | 87 +++++++++++++++++++++++++--------------- drivers/scsi/ufs/ufshcd.h | 26 +++++++++++- include/trace/events/ufs.h | 21 ++++++++++ 6 files changed, 201 insertions(+), 35 deletions(-) Regards Adrian