mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Matt Turner <mattst88@gmail.com>,
	Richard Henderson <richard.henderson@linaro.org>,
	Magnus Lindholm <linmag7@gmail.com>
Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v4 7/7] hwmon: (marvel-env) Notify userspace of environmental events
Date: Wed, 18 Nov 2026 20:18:26 -0800	[thread overview]
Message-ID: <03605d5d-43cf-4b24-bd21-3e29b18e590e@roeck-us.net> (raw)
In-Reply-To: <20261118-marvel-env-v4-7-200317e496c2@gmail.com>

On 11/18/26 16:09, Matt Turner wrote:
> The firmware reports each change of a sensor's state as a system event
> machine check. On one, reread every node from a workqueue and notify
> userspace of each alarm attribute whose value changed. The notifier runs
> in machine check context, so it only queues an irq_work, which queues
> the work. The work takes the hwmon device lock to serialize the refresh
> with the sysfs callbacks.
> 
> Signed-off-by: Matt Turner <mattst88@gmail.com>
> Reviewed-by: Magnus Lindholm <linmag7@gmail.com>

Acked-by: Guenter Roeck <linux@roeck-us.net>


      reply	other threads:[~2026-11-19  4:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  0:09 [PATCH v4 0/7] alpha: marvel: environmental sensors Matt Turner
2026-11-19  0:09 ` [PATCH v4 1/7] alpha: marvel: fix the environmental subpacket layout Matt Turner
2026-11-19  0:09 ` [PATCH v4 2/7] alpha: marvel: report environmental events without VERBOSE_MCHECK Matt Turner
2026-11-19  0:09 ` [PATCH v4 3/7] alpha: marvel: refresh environmental readings through the console Matt Turner
2026-11-19  0:09 ` [PATCH v4 4/7] alpha: marvel: notify environmental events Matt Turner
2026-11-19  0:09 ` [PATCH v4 5/7] alpha: marvel: register a platform device for the environmental sensors Matt Turner
2026-11-19  0:09 ` [PATCH v4 6/7] hwmon: Add driver for Marvel AlphaServer " Matt Turner
2026-11-19  4:17   ` Guenter Roeck
2026-11-19  0:09 ` [PATCH v4 7/7] hwmon: (marvel-env) Notify userspace of environmental events Matt Turner
2026-11-19  4:18   ` Guenter Roeck [this message]

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=03605d5d-43cf-4b24-bd21-3e29b18e590e@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=linmag7@gmail.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mattst88@gmail.com \
    --cc=richard.henderson@linaro.org \
    /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

all inboxes | Powered by JetHome®