7 Commits

Author SHA256 Message Date
93649efe08 Accepting request 1331992 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1331992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lsvpd?expand=0&rev=68
2026-02-09 14:35:28 +00:00
8d7731505f - Fix description for Nvidia specific Adapters (jsc#PED-14550)
* lsvpd-Fix-description-for-Nvidia-specific-Adapters.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/lsvpd?expand=0&rev=83
2026-02-09 10:57:52 +00:00
91d7ea0f4b Accepting request 1329778 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1329778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lsvpd?expand=0&rev=67
2026-01-29 16:46:41 +00:00
d9fa95f82b - Add FRU number for Spyre cards
* lsvpd-Add-FRU-number-for-Spyre-cards.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/lsvpd?expand=0&rev=81
2026-01-29 08:38:51 +00:00
25646e172e Accepting request 1325832 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1325832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lsvpd?expand=0&rev=66
2026-01-08 14:26:34 +00:00
9cb36e5b76 OBS-URL: https://build.opensuse.org/package/show/Base:System/lsvpd?expand=0&rev=79 2026-01-07 17:56:56 +00:00
772a07d050 - Update to version 1.7.17 (jsc#PED-14567, jsc#PED-14550)
* Add NVME-MI support for VPD data collection from NVMe devices.
  * Enhance tools to display custom VPD for Nvidia-specific adapters.
  * Enhance tools to display FC, CCIN VPD information for Spyre cards.
  * Enhance lscfg verbose output to include Feature Code field display.
  * Resolve critical race conditions that could cause SQLite logic errors
    under concurrent access.
- Update to version 1.7.16
  * Add support for Spyre device VPD data collection and retention
  * Enhance lsvpd to use IPS output for serial numbers and machine type/model
  * Add systemd service support for vpdupdate
  * Improve SCSI page code detection and fix comparison logic
  * Add device information display in tuple format

OBS-URL: https://build.opensuse.org/package/show/Base:System/lsvpd?expand=0&rev=78
2026-01-07 17:45:46 +00:00
6 changed files with 142 additions and 8 deletions

Binary file not shown.

3
lsvpd-1.7.17.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f76c36a46e801ebd6e1f53d06987f148e70c1a4b288da5aba0dce1b3c7b2bf0f
size 100276

View File

@@ -0,0 +1,27 @@
From 1d2dc3d83734ea7c669905993adcae386b1db91d Mon Sep 17 00:00:00 2001
From: Sathvika Vasireddy <sv@linux.ibm.com>
Date: Thu, 4 Dec 2025 21:32:42 +0530
Subject: [PATCH] lsvpd: Add FRU number for Spyre cards
Update setCustomVPDFields to print FRU number for Spyre devices.
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
---
src/internal/sys_interface/sysfstreecollector.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/internal/sys_interface/sysfstreecollector.cpp b/src/internal/sys_interface/sysfstreecollector.cpp
index 7af2fb7..f7e074a 100644
--- a/src/internal/sys_interface/sysfstreecollector.cpp
+++ b/src/internal/sys_interface/sysfstreecollector.cpp
@@ -1731,6 +1731,7 @@ ERROR:
case 0x101406A7:
case 0x101406A8:
fillMe->mFeatureCode.setValue("ECSE", 95, __FILE__, __LINE__);
+ fillMe->mFRU.setValue("03PN188", 100, __FILE__, __LINE__);
fillMe->addDeviceSpecific( "CC", "Customer Card ID Number", "2E1F", 95);
break;
case 0x15b31021: // Nvidia ConnectX-7 PF
--
2.51.0

View File

@@ -0,0 +1,66 @@
From c6fc2eed3940dce96830d32b2e5959c1a38e160e Mon Sep 17 00:00:00 2001
From: Sathvika Vasireddy <sv@linux.ibm.com>
Date: Mon, 19 Jan 2026 10:57:20 +0530
Subject: [PATCH] lsvpd: Fix description for Nvidia specific Adapters
- Update Fractal description to include 1Gb speed support
(25Gb/10Gb -> 25Gb/10Gb/1Gb)
- Correct Onion Creek description speed from 100GbE to 200GbE
- Fix indentation for mDescription.setValue() calls.
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
---
.../sys_interface/sysfstreecollector.cpp | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/internal/sys_interface/sysfstreecollector.cpp b/src/internal/sys_interface/sysfstreecollector.cpp
index f7e074a..b6f8a6a 100644
--- a/src/internal/sys_interface/sysfstreecollector.cpp
+++ b/src/internal/sys_interface/sysfstreecollector.cpp
@@ -1742,8 +1742,8 @@ ERROR:
fillMe->mFRU.setValue("03JP128", 95, __FILE__, __LINE__);
fillMe->mFeatureCode.setValue("EAPC / EAPD", 95, __FILE__, __LINE__);
fillMe->addDeviceSpecific("CE", "CCIN Extension", "EC26", 95);
- fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
- " PCIe4 4-Port 25Gb/10Gb RoCE SFP28 Adapter", 95, __FILE__, __LINE__);
+ fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
+ " PCIe4 4-Port 25Gb/10Gb/1Gb RoCE SFP28 Adapter", 95, __FILE__, __LINE__);
break;
case 0x15b30022: // CX7 Onion Creek PF
@@ -1752,8 +1752,8 @@ ERROR:
fillMe->mFRU.setValue("03JP136", 95, __FILE__, __LINE__);
fillMe->mFeatureCode.setValue("EAPE / EAPF", 95, __FILE__, __LINE__);
fillMe->addDeviceSpecific("CE", "CCIN Extension", "EC2E", 95);
- fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
- " PCIe5 2-Port 100GbE RoCE QSFP56 Adapter", 95, __FILE__, __LINE__);
+ fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
+ " PCIe5 2-Port 200GbE RoCE QSFP56 Adapter", 95, __FILE__, __LINE__);
break;
default:
@@ -1769,8 +1769,8 @@ ERROR:
fillMe->mFRU.setValue("03JP128", 95, __FILE__, __LINE__);
fillMe->mFeatureCode.setValue("EAPC / EAPD", 95, __FILE__, __LINE__);
fillMe->addDeviceSpecific("CE", "CCIN Extension", "EC26", 95);
- fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
- " PCIe4 4-Port 25Gb/10Gb RoCE SFP28 Adapter", 95, __FILE__, __LINE__);
+ fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
+ " PCIe4 4-Port 25Gb/10Gb/1Gb RoCE SFP28 Adapter", 95, __FILE__, __LINE__);
break;
case 0x15b30022: // CX7 Onion Creek SR-IOV
@@ -1779,8 +1779,8 @@ ERROR:
fillMe->mFRU.setValue("03JP136", 95, __FILE__, __LINE__);
fillMe->mFeatureCode.setValue("EAPE / EAPF", 95, __FILE__, __LINE__);
fillMe->addDeviceSpecific("CE", "CCIN Extension", "EC2E", 95);
- fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
- " PCIe5 2-Port 100GbE RoCE QSFP56 Adapter", 95, __FILE__, __LINE__);
+ fillMe->mDescription.setValue(fillMe->mDescription.getValue() +
+ " PCIe5 2-Port 200GbE RoCE QSFP56 Adapter", 95, __FILE__, __LINE__);
break;
default:
--
2.51.0

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Feb 9 10:31:01 UTC 2026 - Michal Suchanek <msuchanek@suse.de>
- Fix description for Nvidia specific Adapters (jsc#PED-14550)
* lsvpd-Fix-description-for-Nvidia-specific-Adapters.patch
-------------------------------------------------------------------
Thu Jan 29 08:35:52 UTC 2026 - Michal Suchanek <msuchanek@suse.de>
- Add FRU number for Spyre cards
* lsvpd-Add-FRU-number-for-Spyre-cards.patch
-------------------------------------------------------------------
Wed Jan 7 17:31:58 UTC 2026 - Michal Suchanek <msuchanek@suse.de>
- Update to version 1.7.17 (jsc#PED-14567, jsc#PED-14550)
* Add NVME-MI support for VPD data collection from NVMe devices.
* Enhance tools to display custom VPD for Nvidia-specific adapters.
* Enhance tools to display FC, CCIN VPD information for Spyre cards.
* Enhance lscfg verbose output to include Feature Code field display.
* Resolve critical race conditions that could cause SQLite logic errors
under concurrent access.
- Update to version 1.7.16
* Add support for Spyre device VPD data collection and retention
* Enhance lsvpd to use IPS output for serial numbers and machine type/model
* Add systemd service support for vpdupdate
* Improve SCSI page code detection and fix comparison logic
* Add device information display in tuple format
-------------------------------------------------------------------
Mon Oct 2 17:43:06 UTC 2023 - Michal Suchanek <msuchanek@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package lsvpd
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,22 @@
Name: lsvpd
Version: 1.7.15
Version: 1.7.17
Release: 0
Summary: VPD Hardware Inventory Utilities for Linux
License: GPL-2.0-or-later
Group: System/Monitoring
URL: https://github.com/power-ras/lsvpd
Source: https://github.com/power-ras/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: lsvpd-Add-FRU-number-for-Spyre-cards.patch
Patch2: lsvpd-Fix-description-for-Nvidia-specific-Adapters.patch
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: librtas-devel
BuildRequires: libtool
BuildRequires: libvpd-devel
BuildRequires: sg3_utils-devel
BuildRequires: systemd-rpm-macros
BuildRequires: zlib-devel
Requires: /bin/sed
Recommends: hwdata
@@ -46,8 +49,7 @@ system-specific information. lsmcode lists microcode and firmware
levels.
%prep
%setup -q
%autopatch -p1
%autosetup -p1
%build
export CFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"%{_datadir}/hwdata/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"%{_datadir}/hwdata/usb.ids\"'"
@@ -76,12 +78,21 @@ if [ -e %{_sysconfdir}/udev/rules.d/99-lsvpd.disabled ] ; then
rm %{_sysconfdir}/udev/rules.d/99-lsvpd.disabled
fi
%pre
%service_add_pre vpdupdate.service
%post
if [ -d %{_localstatedir}/lib/lsvpd ] ; then
rm -rf %{_localstatedir}/lib/lsvpd
fi
%{_sbindir}/vpdupdate
exit 0
%service_add_post vpdupdate.service
%preun
%service_del_preun vpdupdate.service
%postun
%service_del_postun vpdupdate.service
%files
%license COPYING
@@ -93,5 +104,6 @@ exit 0
%endif
%attr (755,root,root) %{_sbindir}/*
%{_mandir}/*/*
%{_unitdir}/vpdupdate.service
%changelog