Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package powerpc-utils for openSUSE:Factory checked in at 2022-03-02 18:20:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old) and /work/SRC/openSUSE:Factory/.powerpc-utils.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerpc-utils" Wed Mar 2 18:20:20 2022 rev:126 rq:958247 version:1.3.9 Changes: -------- --- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes 2022-02-18 23:02:50.865413288 +0100 +++ /work/SRC/openSUSE:Factory/.powerpc-utils.new.1958/powerpc-utils.changes 2022-03-02 18:20:31.540654721 +0100 @@ -1,0 +2,12 @@ +Fri Feb 25 19:10:27 UTC 2022 - Michal Suchanek <msucha...@suse.com> + +- Fix lsslot showing "Unknown slot type" for recent PCIe slot types (bsc#1196411 ltc#196505). + - lsslot-Add-new-DRC-type-description-strings.patch + +------------------------------------------------------------------- +Fri Feb 25 19:08:29 UTC 2022 - Michal Suchanek <msucha...@suse.com> + +- Fix setting HNV primary slave with NM (bsc#1195404 ltc#196259). + - 0007-Fix-NM-HNV-setting-primary-slave.patch + +------------------------------------------------------------------- New: ---- 0007-Fix-NM-HNV-setting-primary-slave.patch lsslot-Add-new-DRC-type-description-strings.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.11f340/_old 2022-03-02 18:20:32.224654745 +0100 +++ /var/tmp/diff_new_pack.11f340/_new 2022-03-02 18:20:32.228654746 +0100 @@ -44,6 +44,8 @@ Patch19: 0005-hcnmgr-maintain-hcnid-state-for-later-cleanup.patch Patch20: 0006-Add-hcn-init.service.suse.patch Patch21: lparstat-report-LPAR-name-from-lparcfg.patch +Patch22: 0007-Fix-NM-HNV-setting-primary-slave.patch +Patch23: lsslot-Add-new-DRC-type-description-strings.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libnuma-devel ++++++ 0007-Fix-NM-HNV-setting-primary-slave.patch ++++++ >From 4230bb3dd48d21e48a0812e497aa405d20a3ade9 Mon Sep 17 00:00:00 2001 From: Mingming Cao <m...@linux.vnet.ibm.com> Date: Thu, 24 Feb 2022 09:02:05 -0800 Subject: [PATCH] Fix NM HNV setting primary slave Signed-off-by: Mingming Cao <m...@linux.vnet.ibm.com> --- scripts/hcnmgr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hcnmgr b/scripts/hcnmgr index ce34179..6526b08 100644 --- a/scripts/hcnmgr +++ b/scripts/hcnmgr @@ -375,7 +375,7 @@ do_config_vdevice_nm() { # if the device is primary, and link is up, force it as primary se if [[ $MODE == "primary" ]]; then hcnlog INFO "Change bonding primary slave to $DEVNAME" - echo "$DEVNAME" >"$BOND_PATH"/active_slave + echo "$DEVNAME" >"$BOND_PATH"/primary fi hcnlog DEBUG "do_config_vdevice: exit" -- 2.35.1 ++++++ lsslot-Add-new-DRC-type-description-strings.patch ++++++ >From fe7c23df64d5679a01dfe52eeaae2cfec8cdead1 Mon Sep 17 00:00:00 2001 From: Tyrel Datwyler <tyr...@linux.ibm.com> Date: Wed, 23 Feb 2022 12:39:37 -0800 Subject: [PATCH] lsslot: Add new DRC type description strings for latest PCIe slot types Upstream: Submitted https://github.com/ibm-power-utilities/powerpc-utils/issues/78 The following Rev 4 and Rev 5 type PCIe slots can be reported by firmware on machines with such capable slots. DRC-TYPE Description 45 A U.2 PCI Express Rev 4 4x lane slot with 2x lanes connected 46 A PCI Express Rev 5 8x lane slot with 1 lane connected 47 A PCI Express Rev 5 8x lane slot with 4x lanes connected 48 A PCI Express Rev 5 8x lane slot with 8x lanes connected 49 A PCI Express Rev 5 16x lane slot with 1 lane connected 50 A PCI Express Rev 5 16x lane slot with 4x lanes connected 51 A PCI Express Rev 5 16x lane slot with 8x lanes connected 52 A U.2 PCI Express Rev 5 4x lane slot with 2x lanes connected 53 A U.2 PCI Express Rev 5 4x lane slot with 4x lanes connected Currently, the lsslot utility reports "Unknown" for the description of these pci devices. Update the php_slot_type_msg[] with these new slot descriptions so that lsslot correctly reports them. Signed-off-by: Tyrel Datwyler <tyr...@linux.ibm.com> --- src/drmgr/common.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/drmgr/common.c b/src/drmgr/common.c index ccc62a3..1f2168d 100644 --- a/src/drmgr/common.c +++ b/src/drmgr/common.c @@ -984,6 +984,15 @@ char *php_slot_type_msg[]={ "PCI-E capable, Rev 4, 16x lanes with 16x lanes connected", "U.2 PCI-E capable, Rev 3, 4x lanes with 4x lanes connected", "U.2 PCI-E capable, Rev 4, 4x lanes with 4x lanes connected", + "U.2 PCI-E capable, Rev 4, 4x lanes with 2x lanes connected", /* 45 */ + "PCI-E capable, Rev 5, 8x lanes with 1 lane connected", + "PCI-E capable, Rev 5, 8x lanes with 4x lanes connected", + "PCI-E capable, Rev 5, 8x lanes with 8x lanes connected", + "PCI-E capable, Rev 5, 16x lanes with 1 lane connected", + "PCI-E capable, Rev 5, 16x lanes with 4x lanes connected", /* 50 */ + "PCI-E capable, Rev 5, 16x lanes with 8x lanes connected", + "U.2 PCI-E capable, Rev 5, 4x lanes with 2x lanes connected", + "U.2 PCI-E capable, Rev 5, 4x lanes with 4x lanes connected", }; char * @@ -994,7 +1003,7 @@ node_type(struct dr_node *node) desc_msg_num = atoi(node->drc_type); if ((desc_msg_num >= 1 && desc_msg_num <= 8) || - (desc_msg_num >= 11 && desc_msg_num <= 44)) + (desc_msg_num >= 11 && desc_msg_num <= 53)) desc = php_slot_type_msg[desc_msg_num]; else { switch (node->dev_type) { -- 2.35.1