From: Tony Hutter <hutter2@llnl.gov>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-leds@vger.kernel.org, Bjorn Helgaas <helgaas@kernel.org>,
Lukas Wunner <lukas@wunner.de>,
mariusz.tkaczyk@linux.intel.com, minyard@acm.org,
linux-pci@vger.kernel.org,
openipmi-developer@lists.sourceforge.net,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 RESEND] PCI: Introduce Cray ClusterStor E1000 NVMe slot LED driver
Date: Tue, 20 May 2025 14:26:42 -0700 [thread overview]
Message-ID: <d60fc671-b027-4cc5-8688-ca5438a3397d@llnl.gov> (raw)
In-Reply-To: <aCsNMvfSWptltx5k@duo.ucw.cz>
Hi Pavel
> We have LED subsystem.
>
> And this should use it.
This came up in an earlier discussion, and I touched on it in my changelog:
- Kept the /sys/bus/pci/slots/<slot>/attention interface rather
than using NPEM/_DSM or led_classdev as suggested. The "attention"
interface is more beneficial for our site, since it allows us to
control the NVMe slot LEDs agnostically across different enclosure
vendors and kernel versions using the same scripts.
Basically, /sys/bus/pci/slots/<slot>/attention is already the standard way to control PCI slot LEDs. Our management scripts have used it for years to mark faulted drives for replacement.
I think you can make the case that the PCI hotplug subsystem itself should be updated to export their "attention" values via the LED subsystem. Then all PCI hotplug slots (including Cray E1000) would be exported via the LED subsystem. That work goes beyond the scope of this driver though.
-Tony
next prev parent reply other threads:[~2025-05-20 21:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-09 0:21 Tony Hutter
2025-05-19 10:51 ` Pavel Machek
2025-05-20 21:26 ` Tony Hutter [this message]
2025-05-21 8:22 ` ALOK TIWARI
-- strict thread matches above, loose matches on Subject: below --
2025-02-26 1:13 [PATCH v3] " Tony Hutter
2025-04-04 22:16 ` [PATCH v3 RESEND] " Tony Hutter
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=d60fc671-b027-4cc5-8688-ca5438a3397d@llnl.gov \
--to=hutter2@llnl.gov \
--cc=helgaas@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=mariusz.tkaczyk@linux.intel.com \
--cc=minyard@acm.org \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=pavel@ucw.cz \
/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®