public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Bean Huo <huobean@gmail.com>
To: Adrian Hunter <adrian.hunter@intel.com>,
	"Martin K . Petersen" <martin.petersen@oracle.com>,
	"James E . J . Bottomley" <jejb@linux.ibm.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Alim Akhtar <alim.akhtar@samsung.com>,
	Avri Altman <avri.altman@wdc.com>, Can Guo <cang@codeaurora.org>,
	Stanley Chu <stanley.chu@mediatek.com>
Subject: Re: [PATCH V2 4/4] scsi: ufs-debugfs: Add user-defined exception event rate limiting
Date: Mon, 15 Feb 2021 18:10:39 +0100	[thread overview]
Message-ID: <d00dacbd2a1b57dfdecd184303ab2bee47f3d7f9.camel@gmail.com> (raw)
In-Reply-To: <20210209062437.6954-5-adrian.hunter@intel.com>

On Tue, 2021-02-09 at 08:24 +0200, Adrian Hunter wrote:
> An enabled user-specified exception event that does not clear quickly
> will
> repeatedly cause the handler to run. That could unduly disturb the
> driver
> behaviour being tested or debugged. To prevent that add debugfs file
> exception_event_rate_limit_ms. When a exception event happens, it is
> disabled, and then after a period of time (default 20ms) the
> exception
> event is enabled again.
> 
> Note that if the driver also has that exception event enabled, it
> will not
> be disabled.
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Bean Huo <beanhuo@micron.com>


  reply	other threads:[~2021-02-15 17:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09  6:24 [PATCH V2 0/4] scsi: ufs-debugfs: Add UFS Exception Event reporting Adrian Hunter
2021-02-09  6:24 ` [PATCH V2 1/4] scsi: ufs: Add exception event tracepoint Adrian Hunter
2021-02-10 18:09   ` Avri Altman
2021-02-14 10:47   ` Bean Huo
2021-02-09  6:24 ` [PATCH V2 2/4] scsi: ufs: Add exception event definitions Adrian Hunter
2021-02-09  6:24 ` [PATCH V2 3/4] scsi: ufs-debugfs: Add user-defined exception_event_mask Adrian Hunter
2021-02-15 17:10   ` Bean Huo
2021-02-09  6:24 ` [PATCH V2 4/4] scsi: ufs-debugfs: Add user-defined exception event rate limiting Adrian Hunter
2021-02-15 17:10   ` Bean Huo [this message]
2021-03-04  4:15 ` [PATCH V2 0/4] scsi: ufs-debugfs: Add UFS Exception Event reporting Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d00dacbd2a1b57dfdecd184303ab2bee47f3d7f9.camel@gmail.com \
    --to=huobean@gmail.com \
    --cc=adrian.hunter@intel.com \
    --cc=alim.akhtar@samsung.com \
    --cc=avri.altman@wdc.com \
    --cc=cang@codeaurora.org \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=stanley.chu@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox