From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933115AbbCRNU4 (ORCPT ); Wed, 18 Mar 2015 09:20:56 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:51348 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932899AbbCRNUu (ORCPT ); Wed, 18 Mar 2015 09:20:50 -0400 Message-ID: <3a376180355468208318b10f7516cec8.squirrel@www.codeaurora.org> In-Reply-To: <1426175700-23152-4-git-send-email-gbroner@codeaurora.org> References: <1426175700-23152-1-git-send-email-gbroner@codeaurora.org> <1426175700-23152-4-git-send-email-gbroner@codeaurora.org> Date: Wed, 18 Mar 2015 13:20:49 -0000 Subject: Re: [PATCH v7 3/3] scsi: ufs: add trace events and dump prints for debug From: "Dov Levenglick" To: "Gilad Broner" Cc: james.bottomley@hansenpartnership.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, santoshsy@gmail.com, linux-scsi-owner@vger.kernel.org, subhashj@codeaurora.org, ygardi@codeaurora.org, draviv@codeaurora.org, "Gilad Broner" , "Lee Susman" , "Sujit Reddy Thumma" , "Vinayak Holikatti" , "James E.J. Bottomley" , "Steven Rostedt" , "Ingo Molnar" User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Add trace events to driver to allow monitoring and profilig > of activities such as PM suspend/resume, hibernate enter/exit, > clock gating and clock scaling up/down. > In addition, add UFS host controller register dumps to provide > detailed information in case of errors to assist in analysis > of issues. > > Signed-off-by: Dolev Raviv > Signed-off-by: Subhash Jadavani > Signed-off-by: Lee Susman > Signed-off-by: Sujit Reddy Thumma > Signed-off-by: Yaniv Gardi > --- > drivers/scsi/ufs/ufs-qcom.c | 53 +++++ > drivers/scsi/ufs/ufshcd.c | 511 > +++++++++++++++++++++++++++++++++++++++++--- > drivers/scsi/ufs/ufshcd.h | 49 ++++- > drivers/scsi/ufs/ufshci.h | 1 + > include/trace/events/ufs.h | 213 ++++++++++++++++++ > 5 files changed, 790 insertions(+), 37 deletions(-) > create mode 100644 include/trace/events/ufs.h > [removed ~1500 lines of code] Reviewed-by: Dov Levenglick > -- > Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project