Re: [PATCH V2 4/4] scsi: ufs-debugfs: Add user-defined exception event rate limiting

2021-02-15 Thread Bean Huo
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 >

[PATCH V2 4/4] scsi: ufs-debugfs: Add user-defined exception event rate limiting

2021-02-08 Thread Adrian Hunter
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,