Re: [PATCH v4 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-17 Thread Can Guo
On 2020-12-15 13:43, Stanley Chu wrote: Hi Can, On Sun, 2020-12-13 at 08:31 -0800, Can Guo wrote: In contexts like suspend, shutdown and error handling, we need to suspend devfreq to make sure these contexts won't be disturbed by clock scaling. However, suspending devfreq is not enough since

Re: [PATCH v4 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-16 Thread Bean Huo
On Sun, 2020-12-13 at 08:31 -0800, Can Guo wrote: > In contexts like suspend, shutdown and error handling, we need to > suspend > devfreq to make sure these contexts won't be disturbed by clock > scaling. > However, suspending devfreq is not enough since users can still > trigger a > clock scaling

Re: [PATCH v4 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-14 Thread Stanley Chu
Hi Can, On Sun, 2020-12-13 at 08:31 -0800, Can Guo wrote: > In contexts like suspend, shutdown and error handling, we need to suspend > devfreq to make sure these contexts won't be disturbed by clock scaling. > However, suspending devfreq is not enough since users can still trigger a > clock

[PATCH v4 1/3] scsi: ufs: Protect some contexts from unexpected clock scaling

2020-12-13 Thread Can Guo
In contexts like suspend, shutdown and error handling, we need to suspend devfreq to make sure these contexts won't be disturbed by clock scaling. However, suspending devfreq is not enough since users can still trigger a clock scaling by manipulating the sysfs node clkscale_enable and devfreq