lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 29 Jun 2022 23:02:25 +0300
From:   Dmitry Osipenko <dmitry.osipenko@...labora.com>
To:     Guenter Roeck <linux@...ck-us.net>, linux-hwmon@...r.kernel.org
Cc:     Jean Delvare <jdelvare@...e.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: (lm90) Use worker for alarm notifications

On 6/29/22 18:42, Guenter Roeck wrote:
> Reporting alarms using hwmon_notify_event() may result in a callback
> from the thermal subsystem. This means that such notifications must
> not hold the update lock to avoid a deadlock. To avoid this situation,
> use a worker to handle notifications.
> 
> Reported-by: Dmitry Osipenko <dmitry.osipenko@...labora.com>
> Fixes: e182cf579f0f ("hwmon: (lm90) Rework alarm/status handling")
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
> Dmitry,
> 
> can you give this patch a try in your system ?

It works, thanks!

Tested-by: Dmitry Osipenko <dmitry.osipenko@...labora.com>

-- 
Best regards,
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ