From 0c0c1c5d74858332ef197bbb70cecea0c10fea598cfb0d7f4d500fb0f35effbb Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Fri, 30 Sep 2022 13:09:56 +0000 Subject: [PATCH] Accepting request 1007257 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) - Generic - Added support for NVIDIA ConnectX-7 adapter cards. - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. - mstfwreset - For some configuration changes done using mstconfig, PCI rescan by the user is required. - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. - mstflint - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying a firmware cable transceiver is now done using the "mstflint" tool. - cable/transceivers burning commands provide now validation and extract version from the image files. - Modified the output of the PCIe link information, removed the device status filed. - When downgrading to a firmware version that does not support the flash type of the device, mstflint will present the user a clear error of such scenario. - mlxconfig - Enable the users to apply token via MTUSB connected device. - mstresourceparse - mstresourceparse will present the union fields according to the selector. Unions that do not have a selector, will be presented with all the fields as before. - mstresourcedump - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. - mstlink - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. - Removed the device status field from the PCIe info section. - Added support for "show_eye" command for ConnectX-7 over PCIe links. - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. - Added support for the PRBS test mode of Active/Optical CMIS modules. - Added support for additional configuration flags of the module control parameters. - Added support for new PRBS TX/RX patterns (--tx_prbs & --rx_prbs ). - Added new show counters for 16nm devices. To see them run the "show_counter" command. - Extended the list of the cable information received for 16nm devices when running the "show_module" command. - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. - Extended the list of the cable information (LOL, LOS, FSM, and module status) for CMIS when running the "show_module" command. - mstdump - Added an optional parameter of the CSV path (-c | --csv) which loads the provides the CSV from a fixed location as a DB instead of the default one. - mstprivhost - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. - Refresh patches against latest sources: - Remove-date-time-info-from-build.patch - Fix-gcc7-and-gcc8.patch OBS-URL: https://build.opensuse.org/request/show/1007257 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=45 --- Fix-gcc7-and-gcc8.patch | 12 +++--- Remove-date-time-info-from-build.patch | 20 +++++----- mstflint-4.17.0-1.tar.gz | 3 -- mstflint-4.21.0-1.tar.gz | 3 ++ mstflint.changes | 53 ++++++++++++++++++++++++++ mstflint.spec | 4 +- 6 files changed, 74 insertions(+), 21 deletions(-) delete mode 100644 mstflint-4.17.0-1.tar.gz create mode 100644 mstflint-4.21.0-1.tar.gz diff --git a/Fix-gcc7-and-gcc8.patch b/Fix-gcc7-and-gcc8.patch index 5be13ab..beb868d 100644 --- a/Fix-gcc7-and-gcc8.patch +++ b/Fix-gcc7-and-gcc8.patch @@ -1,4 +1,4 @@ -commit 7d87bd0f4679e7547678e2d26fca1277d2b8cbbd +commit 6a8758e9353447abdb9366638790984e84b04eb1 Author: Nicolas Morey-Chaisemartin Date: Wed Aug 9 17:31:57 2017 +0200 @@ -9,18 +9,18 @@ Date: Wed Aug 9 17:31:57 2017 +0200 Signed-off-by: Nicolas Morey-Chaisemartin diff --git configure.ac configure.ac -index 3a9246b87e89..7422cbc2103d 100644 +index 4d549ee4cb79..c8e15447f5e1 100644 --- configure.ac +++ configure.ac -@@ -296,6 +296,7 @@ AC_SEARCH_LIBS([sqlite3_initialize], [sqlite3], [SQLITE_SYSTEM_AVAILABLE="yes"], - AM_CONDITIONAL([USE_LOCAL_SQLITE], [test "$SQLITE_SYSTEM_AVAILABLE" = no]) +@@ -308,6 +308,7 @@ AM_CONDITIONAL([USE_LOCAL_SQLITE], [test "$SQLITE_SYSTEM_AVAILABLE" = no]) + CFLAGS="$CFLAGS -DMST_UL" +CPPFLAGS="$CPPFLAGS -DMST_UL" CXXFLAGS="$CXXFLAGS -DMST_UL" - AM_CFLAGS="-Wall" -@@ -314,6 +315,14 @@ AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CFLAGS="$CFLAGS -Wno-implici + +@@ -336,6 +337,14 @@ AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CFLAGS="$CFLAGS -Wno-implici AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CFLAGS="$CFLAGS -Wno-cast-function-type"], [], []) CFLAGS="$OLD_CFLAGS" diff --git a/Remove-date-time-info-from-build.patch b/Remove-date-time-info-from-build.patch index 611acec..a44d549 100644 --- a/Remove-date-time-info-from-build.patch +++ b/Remove-date-time-info-from-build.patch @@ -1,24 +1,24 @@ -commit cba2038916c5862ea38862b60939157f8a986226 -Author: Nicolas Morey-Chaisemartin -Date: Thu May 18 07:48:13 2017 +0200 +commit 59982ffad738c25082053bb4a87aa7fb97ebc796 +Author: Nicolas Morey-Chaisemartin +Date: Fri Sep 30 14:10:47 2022 +0200 Remove date/time info from build Signed-off-by: Nicolas Morey-Chaisemartin diff --git common/tools_version.h common/tools_version.h -index 32fe3c7e0684..7ce75ce3cdd5 100644 +index c656076c13b4..021da5429402 100644 --- common/tools_version.h +++ common/tools_version.h -@@ -74,10 +74,8 @@ int get_version_string(char *buf, int buf_size, const char *exe_name, const char +@@ -74,8 +74,9 @@ static inline int get_version_string(char* buf, int buf_size, const char* exe_na len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version); } // cut out first and last "$" from the SVN version string: -- len += snprintf(buf + len, buf_size - len, "%s, built on %s, %s. Git SHA Hash: %s", +- len += snprintf(buf + len, buf_size - len, "%s, built on %s, %s. Git SHA Hash: %s", MSTFLINT_VERSION_STR, __DATE__, +- __TIME__, TOOLS_GIT_SHA); + len += snprintf(buf + len, buf_size - len, "%s. Git SHA Hash: %s", - MSTFLINT_VERSION_STR, -- __DATE__, -- __TIME__, - TOOLS_GIT_SHA); ++ MSTFLINT_VERSION_STR, ++ TOOLS_GIT_SHA); return len; } + diff --git a/mstflint-4.17.0-1.tar.gz b/mstflint-4.17.0-1.tar.gz deleted file mode 100644 index 3544bcb..0000000 --- a/mstflint-4.17.0-1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe6899afd8d9c2c60ceb8482ebc790fc3d1670fc213ddb8093b56b4276bc1b0c -size 5762849 diff --git a/mstflint-4.21.0-1.tar.gz b/mstflint-4.21.0-1.tar.gz new file mode 100644 index 0000000..b3815be --- /dev/null +++ b/mstflint-4.21.0-1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d3afabed38e0b1fade1371ec87d4c8bcd85436e9aa478962925754d87edde26 +size 6649151 diff --git a/mstflint.changes b/mstflint.changes index e91d867..a0b640a 100644 --- a/mstflint.changes +++ b/mstflint.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Fri Sep 30 12:11:40 UTC 2022 - Nicolas Morey-Chaisemartin + +- Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) + - Generic + - Added support for NVIDIA ConnectX-7 adapter cards. + - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. + - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. + - mstfwreset + - For some configuration changes done using mstconfig, PCI rescan by the user is required. + - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only + to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. + In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. + - mstflint + - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying + a firmware cable transceiver is now done using the "mstflint" tool. + - cable/transceivers burning commands provide now validation and extract version from the image files. + - Modified the output of the PCIe link information, removed the device status filed. + - When downgrading to a firmware version that does not support the flash type of + the device, mstflint will present the user a clear error of such scenario. + - mlxconfig + - Enable the users to apply token via MTUSB connected device. + - mstresourceparse + - mstresourceparse will present the union fields according to the selector. + Unions that do not have a selector, will be presented with all the fields as before. + - mstresourcedump + - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. + - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. + - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. + - mstlink + - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. + - Removed the device status field from the PCIe info section. + - Added support for "show_eye" command for ConnectX-7 over PCIe links. + - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. + - Added support for the PRBS test mode of Active/Optical CMIS modules. + - Added support for additional configuration flags of the module control parameters. + - Added support for new PRBS TX/RX patterns (--tx_prbs & --rx_prbs ). + - Added new show counters for 16nm devices. To see them run the "show_counter" command. + - Extended the list of the cable information received for 16nm devices when running the "show_module" command. + - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. + - Extended the list of the cable information (LOL, LOS, FSM, and module status) + for CMIS when running the "show_module" command. + - mstdump + - Added an optional parameter of the CSV path (-c | --csv) + which loads the provides the CSV from a fixed location as a DB instead of the default one. + - mstprivhost + - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. +- Refresh patches against latest sources: + - Remove-date-time-info-from-build.patch + - Fix-gcc7-and-gcc8.patch + + + ------------------------------------------------------------------- Wed Jul 7 11:31:14 UTC 2021 - Nicolas Morey-Chaisemartin diff --git a/mstflint.spec b/mstflint.spec index dd90ada..92b8755 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,7 +1,7 @@ # # spec file for package mstflint # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define extra_version -1 Name: mstflint -Version: 4.17.0 +Version: 4.21.0 Release: 0 Summary: Mellanox Firmware Burning and Diagnostics Tools License: BSD-2-Clause OR GPL-2.0-only