[PATCH v2 0/3] Support for Marvell SATA HDD LEDs on IBM Power System S822LC for HPC

Mauricio Faria de Oliveira <[email protected]> Tue, 8 Nov 2016 14:26:07 -0200
Newsgroups gmane.linux.tools.diag.devel
Message-ID <[email protected]>
This patch-set introduces support for the identification/fault LEDs of the
Marvell SATA HDD controller present in the IBM Power System S822LC for HPC
(a.k.a. Garrison/Minsky).

Patch 1/3 implements the 'indicator' interface required by lpd/usysident.
Patch 2/3 introduces one quirk for non-unique location code on the disks.
Patch 3/3 guarantees the usysident program runs without kernel LEDs when
          there is Marvell HDD LEDs available.

It is verified on commit 44dcd23 "Fix systemd executable permission for
scripts opal_errd.service and rtas_errd.service" (v2.7.2 + 1 commit).

Mauricio Faria de Oliveira (3):
  lpd: Add support for Marvell HDD LEDs on S822LC for HPC
  lpd: marvell: handle non-unique/duplicate location codes
  lpd: marvell: do not exit early on empty /sys/class/leds dir (OPAL)

 lpd/Makefile            |   2 +-
 lpd/indicator.h         |   3 +-
 lpd/indicator_marvell.c | 552 ++++++++++++++++++++++++++++++++++++++++++++++++
 lpd/indicator_marvell.h |  27 +++
 lpd/indicator_opal.c    |  62 +++++-
 lpd/usysident.c         |  48 ++++-
 6 files changed, 688 insertions(+), 6 deletions(-)
 create mode 100644 lpd/indicator_marvell.c
 create mode 100644 lpd/indicator_marvell.h

-- 
1.8.3.1


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi