Re: [PATCH v2 3/5] hwmon: (sch5627) Use regmap for pwm map register caching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 07, 2023 at 07:26:37AM +0200, Armin Wolf wrote:
> Accessing virtual registers is very inefficient, so pwm map values
> should be cached when possible, else userspace could effectively do
> a DOS attack by reading pwm map values in a while loop.
> Use the regmap cache to cache those values.
> 
> Tested on a Fujitsu Esprimo P720.
> 
> Signed-off-by: Armin Wolf <W_Armin@xxxxxx>

Applied.

Thanks,
Guenter



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux