From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
To: Guenter Roeck <linux@roeck-us.net>, linux-hwmon@vger.kernel.org
Cc: Jean Delvare <jdelvare@suse.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: (lm90) Use worker for alarm notifications
Date: Wed, 29 Jun 2022 23:02:25 +0300 [thread overview]
Message-ID: <ba43ed2c-0290-ca5b-ab4b-1f25dad9d882@collabora.com> (raw)
In-Reply-To: <20220629154210.2389765-1-linux@roeck-us.net>
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@collabora.com>
> Fixes: e182cf579f0f ("hwmon: (lm90) Rework alarm/status handling")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Dmitry,
>
> can you give this patch a try in your system ?
It works, thanks!
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
--
Best regards,
Dmitry
next prev parent reply other threads:[~2022-06-29 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 15:42 [PATCH] hwmon: (lm90) Use worker for alarm notifications Guenter Roeck
2022-06-29 20:02 ` Dmitry Osipenko [this message]
2022-06-29 21:18 ` Guenter Roeck
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=ba43ed2c-0290-ca5b-ab4b-1f25dad9d882@collabora.com \
--to=dmitry.osipenko@collabora.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/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