Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/lsvpd-1.7.15.tar.gz
|
SOURCES/lsvpd-1.7.17.tar.gz
|
||||||
|
|||||||
1
.lsvpd.metadata
Normal file
1
.lsvpd.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
08b1b8cc6f1c609a308ca7624d2660724bba463f SOURCES/lsvpd-1.7.17.tar.gz
|
||||||
22
SOURCES/lsvpd-add-FRU-number-for-Spyre-cards.patch
Normal file
22
SOURCES/lsvpd-add-FRU-number-for-Spyre-cards.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
commit 1d2dc3d83734ea7c669905993adcae386b1db91d
|
||||||
|
Author: Sathvika Vasireddy <sv@linux.ibm.com>
|
||||||
|
Date: Thu Dec 4 21:32:42 2025 +0530
|
||||||
|
|
||||||
|
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>
|
||||||
|
|
||||||
|
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
|
||||||
102
SPECS/lsvpd.spec
102
SPECS/lsvpd.spec
@ -1,11 +1,14 @@
|
|||||||
Name: lsvpd
|
Name: lsvpd
|
||||||
Version: 1.7.15
|
Version: 1.7.17
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: VPD/hardware inventory utilities for Linux
|
Summary: VPD/hardware inventory utilities for Linux
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/power-ras/%{name}/releases
|
URL: https://github.com/power-ras/%{name}/releases
|
||||||
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
# upstream patches
|
||||||
|
# lsvpd: Enhance tools to print device information in tuple format
|
||||||
|
Patch10: lsvpd-add-FRU-number-for-Spyre-cards.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libvpd-devel >= 2.2.9
|
BuildRequires: libvpd-devel >= 2.2.9
|
||||||
@ -13,8 +16,10 @@ BuildRequires: sg3_utils-devel
|
|||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: librtas-devel
|
BuildRequires: librtas-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
Requires: systemd
|
||||||
|
|
||||||
Requires(post): %{_sbindir}/vpdupdate
|
Requires(post): %{_sbindir}/vpdupdate
|
||||||
|
|
||||||
@ -44,10 +49,20 @@ on POWER PC based systems.
|
|||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
# Post-install script for vpdupdate
|
||||||
|
# Always enable the service
|
||||||
|
systemctl -q enable vpdupdate.service >/dev/null 2>&1 || :
|
||||||
|
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%{_sbindir}/vpdupdate &
|
%{_sbindir}/vpdupdate &
|
||||||
# Ignore the vpdupdate failures and enforce a success
|
# Ignore the vpdupdate failures and enforce a success
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
%preun
|
||||||
|
# Pre-uninstall script for vpdupdate
|
||||||
|
systemctl -q disable vpdupdate.service >/dev/null 2>&1 || :
|
||||||
|
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -66,40 +81,89 @@ exit 0
|
|||||||
%config %{_sysconfdir}/lsvpd/cpu_mod_conv.conf
|
%config %{_sysconfdir}/lsvpd/cpu_mod_conv.conf
|
||||||
%config %{_sysconfdir}/lsvpd/nvme_templates.conf
|
%config %{_sysconfdir}/lsvpd/nvme_templates.conf
|
||||||
%dir %{_sysconfdir}/lsvpd
|
%dir %{_sysconfdir}/lsvpd
|
||||||
|
%{_unitdir}/vpdupdate.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 08 2023 Than Ngo <than@redhat.com> - 1.7.15-1
|
* Tue Dec 09 2025 Than Ngo <than@redhat.com> - 1.7.17-1
|
||||||
- Resolves: RHEL-11453, update to 1.7.15
|
- Resolves: RHEL-115187, Enhance lsvpd to update VPD for Nvidia OTS Adapters
|
||||||
|
- Resolves: RHEL-102476, Update to 1.7.17
|
||||||
|
|
||||||
* Wed Mar 22 2023 Than Ngo <than@redhat.com> - 1.7.14-3
|
* Fri Dec 08 2023 Than Ngo <than@redhat.com> - 1.7.15-1
|
||||||
- Resolves: #2177981, lsvpd is not reporting the correct I/O microcode
|
- Resolves: RRHEL-11475, update to 1.7.15
|
||||||
|
|
||||||
|
* Tue Apr 11 2023 Than Ngo <than@redhat.com> - 1.7.14-4
|
||||||
|
- Related: #2181241, backport upstream patch to update update nvme_templates
|
||||||
|
with logpage format for 0005 and 0006 versions
|
||||||
|
|
||||||
|
* Fri Mar 24 2023 Than Ngo <than@redhat.com> - 1.7.14-3
|
||||||
|
- Resolves: #2181241, lsvpd is not reporting the correct I/O microcode
|
||||||
for HBA, PCIe, SAS adapters, HDD, etc
|
for HBA, PCIe, SAS adapters, HDD, etc
|
||||||
|
|
||||||
* Sun Feb 05 2023 Than Ngo <than@redhat.com> - 1.7.14-2
|
* Sun Feb 05 2023 Than Ngo <than@redhat.com> - 1.7.14-2
|
||||||
- Resolves: #2164976, add NVME f1h log page VPD information
|
- Resolves: #2164975, add NVME f1h log page VPD information
|
||||||
|
|
||||||
* Fri May 13 2022 Than Ngo <than@redhat.com> - 1.7.14-1
|
* Fri May 06 2022 Than Ngo <than@redhat.com> - 1.7.14-1
|
||||||
- Resolves: #2051316, rebase to 1.7.14
|
- Resolves: #2051289, rebase to 1.7.14
|
||||||
|
|
||||||
* Tue Sep 28 2021 Than Ngo <than@redhat.com> - 1.7.13-1
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.12-3
|
||||||
- Resolves: #1993557, rebase to 1.7.13
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
- Resolves: #2000736, incorrect location code for USB devices
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Than Ngo <than@redhat.com> - 1.7.12-2
|
||||||
|
- Resolves: #1955158, rebuilt against new sg3_utils >= 1.46
|
||||||
|
|
||||||
* Mon May 17 2021 Than Ngo <than@redhat.com> - 1.7.12-1
|
* Mon May 17 2021 Than Ngo <than@redhat.com> - 1.7.12-1
|
||||||
- Resolves: #1844428, rebase to 1.7.12
|
- Resolves: #1869564, rebase to 1.7.12
|
||||||
|
|
||||||
* Tue Jan 26 2021 Than Ngo <than@redhat.com> - 1.7.11-2
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.11-6
|
||||||
- Resolves: #1920497, Vendor and Device information mismatch for usb-xhci
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
* Mon Apr 06 2020 Than Ngo <than@redhat.com> - 1.7.11-1
|
* Tue Feb 09 2021 Than Ngo <than@redhat.com> - 1.7.11-5
|
||||||
- Resolves: #1779204, rebase 1.7.11
|
- Fix, Vendor and Device information mismatch for usb-xhci
|
||||||
|
|
||||||
* Tue Nov 05 2019 Than Ngo <than@redhat.com> - 1.7.10-1
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.11-4
|
||||||
- Rebase to 1.7.10
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 27 2020 Jeff Law <law@redhat.com> - 1.7.11-3
|
||||||
|
- Force C++14 as this code is not C++17 ready
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.11-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 08 2020 Than Ngo <than@redhat.com> - 1.7.11-1
|
||||||
|
- update to 1.7.11
|
||||||
|
|
||||||
|
* Mon Apr 20 2020 Dan Horák <dan@danny.cz> - 1.7.10-3
|
||||||
|
- rebuilt for sg3_utils 1.45 (#1809392)
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 02 2019 Than Ngo <than@redhat.com> - -1
|
||||||
|
- rebase to 1.7.10
|
||||||
|
- update Url
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 20 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 1.7.9-3
|
||||||
|
- Add gcc-c++ as BuildRequires
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 06 2018 Sinny Kumari<sinnykumari@fedoraproject.org> - 1.7.9-1
|
* Fri Jul 06 2018 Sinny Kumari<sinnykumari@fedoraproject.org> - 1.7.9-1
|
||||||
- Rebase to 1.7.9
|
- Rebase to 1.7.9
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.8-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Dec 20 2017 Sinny Kumari <sinnykumari@fedoraproject.org> - 1.7.8-4
|
||||||
|
- Add patches from upstream master branch to include fixes
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.8-3
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.8-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user