Hello community, here is the log from the commit of package powerpc-utils for openSUSE:Factory checked in at 2017-06-07 09:54:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old) and /work/SRC/openSUSE:Factory/.powerpc-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerpc-utils" Wed Jun 7 09:54:10 2017 rev:83 rq:500613 version:1.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes 2017-04-17 10:21:30.191069581 +0200 +++ /work/SRC/openSUSE:Factory/.powerpc-utils.new/powerpc-utils.changes 2017-06-07 09:54:22.147622277 +0200 @@ -1,0 +2,24 @@ +Fri Jun 2 11:03:13 UTC 2017 - msucha...@suse.com + +- add powerpc-utils.bug-1042239_lsslot-Rectify-usr_drc_name-check.patch + lsslot doesn't display the slot information (bsc#1042239) + +------------------------------------------------------------------- +Tue May 30 08:50:53 UTC 2017 - msucha...@suse.com + +- add patches to enable support for vNIC devices (bsc#1041531) + * powerpc-utils.bug-1041531_lsdevinfo-Add-support-for-vNIC-devices.patch + * powerpc-utils.bug-1041531_ofpathname-Add-support-for-vNIC-devices.patch + +------------------------------------------------------------------- +Mon May 29 06:36:47 UTC 2017 - jloe...@suse.com + +- avoid duplicate entries of a Open Firmware device path to logical + device path for vfc-client devices (bsc#1039711) +- test for zlib presence at configuration time (bsc#1040076) + +- added patches: + * powerpc-utils.bug-1039711_ofpathname-avoid-duplicate-entries-of-vFC-devices.patch + * powerpc-utils.bug-1040076_test-for-zlib-presence-at-configuration-time.patch + +------------------------------------------------------------------- New: ---- powerpc-utils.bug-1039711_ofpathname-avoid-duplicate-entries-of-vFC-devices.patch powerpc-utils.bug-1040076_test-for-zlib-presence-at-configuration-time.patch powerpc-utils.bug-1041531_lsdevinfo-Add-support-for-vNIC-devices.patch powerpc-utils.bug-1041531_ofpathname-Add-support-for-vNIC-devices.patch powerpc-utils.bug-1042239_lsslot-Rectify-usr_drc_name-check.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.cvulKv/_old 2017-06-07 09:54:22.867520543 +0200 +++ /var/tmp/diff_new_pack.cvulKv/_new 2017-06-07 09:54:22.867520543 +0200 @@ -30,6 +30,11 @@ Patch2: ofpathname_powernv.patch Patch3: systemd-dir.patch Patch4: libvirt-service-dep.patch +Patch5: powerpc-utils.bug-1039711_ofpathname-avoid-duplicate-entries-of-vFC-devices.patch +Patch6: powerpc-utils.bug-1040076_test-for-zlib-presence-at-configuration-time.patch +Patch7: powerpc-utils.bug-1041531_lsdevinfo-Add-support-for-vNIC-devices.patch +Patch8: powerpc-utils.bug-1041531_ofpathname-Add-support-for-vNIC-devices.patch +Patch9: powerpc-utils.bug-1042239_lsslot-Rectify-usr_drc_name-check.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: librtas-devel @@ -59,6 +64,11 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 %build autoreconf -fvi ++++++ libvirt-service-dep.patch ++++++ --- /var/tmp/diff_new_pack.cvulKv/_old 2017-06-07 09:54:22.895516587 +0200 +++ /var/tmp/diff_new_pack.cvulKv/_new 2017-06-07 09:54:22.895516587 +0200 @@ -1,7 +1,7 @@ -Index: powerpc-utils-1.3.1/systemd/smt_off.service.in +Index: powerpc-utils-1.3.3/systemd/smt_off.service.in =================================================================== ---- powerpc-utils-1.3.1.orig/systemd/smt_off.service.in -+++ powerpc-utils-1.3.1/systemd/smt_off.service.in +--- powerpc-utils-1.3.3.orig/systemd/smt_off.service.in ++++ powerpc-utils-1.3.3/systemd/smt_off.service.in @@ -1,6 +1,6 @@ [Unit] Description=ppc64 set SMT off ++++++ powerpc-utils.bug-1039711_ofpathname-avoid-duplicate-entries-of-vFC-devices.patch ++++++ >From 25b8f7d67fb3acee0970cd36f24dc17fac1f6dc3 Mon Sep 17 00:00:00 2001 From: Pawan K Singh5 <pawan...@linux.vnet.ibm.com> Date: Mon, 10 Apr 2017 15:00:28 +0530 Subject: [PATCH] ofpathname : avoid duplicate entries of vFC devices Adding support to avoid the duplicate entries of a Open Firmware device path to logical device path for vfc-client devices. The problem can be reproduced with the bootlist command # bootlist -m normal /dev/sdd /dev/sds /dev/sdf /dev/sdv # bootlist -m normal -r /vdevice/vfc-client@30000899/disk@500507680b2255fe /vdevice/vfc-client@30000899/disk@500507680b2255ff /vdevice/vfc-client@3000089a/disk@500507680b2255fe /vdevice/vfc-client@3000089a/disk@500507680b2255ff # bootlist -m normal -o sda---------------->expected "sdd" sdp---------------->expected "sds" sda---------------->expected "sdf" sdp---------------->expected "sdv" So, this patch check the duplicate entries of logical names of vFC devices at of2l_vfc() and display specified bootlist : # bootlist -m normal -r /vdevice/vfc-client@30000899/disk@500507680b2255fe /vdevice/vfc-client@30000899/disk@500507680b2255ff /vdevice/vfc-client@3000089a/disk@500507680b2255fe /vdevice/vfc-client@3000089a/disk@500507680b2255ff # bootlist -m normal -o sdd sds sdf sdv Signed-off-by: Pawan K Singh5 <pawan...@linux.vnet.ibm.com> Signed-off-by: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> --- scripts/ofpathname | 2 ++ 1 file changed, 2 insertions(+) Index: powerpc-utils-1.3.3/scripts/ofpathname =================================================================== --- powerpc-utils-1.3.3.orig/scripts/ofpathname +++ powerpc-utils-1.3.3/scripts/ofpathname @@ -1494,8 +1494,10 @@ of2l_vfc() local wwpn=`get_fc_wwpn "$link/../../fc_remote_ports*"` if [[ $vfc_lun = $OF_LUN && $wwpn = $OF_WWPN ]]; then + if [[ $OF_PATH = $DEVPATH ]]; then LOGICAL_DEVNAME="${dir##*/}" return + fi fi done } ++++++ powerpc-utils.bug-1040076_test-for-zlib-presence-at-configuration-time.patch ++++++ >From 7539330a301ff9ac7d6fd5e1cf974bb9999100b2 Mon Sep 17 00:00:00 2001 From: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> Date: Fri, 19 May 2017 16:02:51 -0400 Subject: [PATCH] Test for zlib presence at configuration time The nvram utility links with zlib and compilation will fail if zlib.h or libz.so are not present. Check and warn at configuration time. Signed-off-by: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) Index: powerpc-utils-1.3.3/configure.ac =================================================================== --- powerpc-utils-1.3.3.orig/configure.ac +++ powerpc-utils-1.3.3/configure.ac @@ -37,6 +37,11 @@ AC_FUNC_MALLOC AC_FUNC_MKTIME AC_CHECK_FUNCS([memset strchr strcspn strdup strerror strrchr strstr strtol strtoul strtoull gettimeofday]) +# check for zlib +AC_CHECK_HEADER(zlib.h, + [AC_CHECK_LIB(z, inflate, [], [AC_MSG_FAILURE([zlib library is required for compilation])])], + [AC_MSG_FAILURE([zlib.h is required for compiliation])]) + # check for librtas AC_ARG_WITH([librtas], [AS_HELP_STRING([--without-librtas], ++++++ powerpc-utils.bug-1041531_lsdevinfo-Add-support-for-vNIC-devices.patch ++++++ >From 74715cc0e4db0e2738be7a19c852816c285d8284 Mon Sep 17 00:00:00 2001 From: Nathan Fontenot <nf...@linux.vnet.ibm.com> Date: Mon, 22 May 2017 16:40:58 -0400 Subject: [PATCH] lsdevinfo: Add support for vNIC devices Add support to dump information about vNIC devices so that device info requests from the HMC can retrieve data about vNIC devices. Signed-off-by: Nathan Fontenot <nf...@linux.vnet.ibm.com> [tyreld: fixed up trailing whitespace] Signed-off-by: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> --- scripts/lsdevinfo | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/scripts/lsdevinfo b/scripts/lsdevinfo index 2bba357..694ddf3 100755 --- a/scripts/lsdevinfo +++ b/scripts/lsdevinfo @@ -222,6 +222,27 @@ show_eth () fi } +# Look at every vNIC device +for dev in $($LS -d /proc/device-tree/vdevice/vnic* 2> /dev/null); do + # use ofpathname to get the device name (i.e. eth0) + name=$($OFPATHNAME -l $(echo $dev | $SED -e "s/\/proc\/device-tree//")) + connection=$(echo $dev | $SED -e "s/\/proc\/device-tree\/vdevice\/l-lan@//") + parent="vio" + + # get the physical location + physloc=$(tr -d '\0' < $dev/ibm,loc-code) + uniquetype="adapter/vdevice/IBM,vnic" + class="adapter" + subclass="vdevice" + type="IBM,vnic" + prefix="eth" + driver="ibmvnic" + status=1 + + show=1 + show_eth +done + # Look at every ibmveth (Virtual Ethernet) device for dev in $($LS -d /proc/device-tree/vdevice/l-lan* 2> /dev/null); do # use ofpathname to get the device name (i.e. eth0) -- 2.10.2 ++++++ powerpc-utils.bug-1041531_ofpathname-Add-support-for-vNIC-devices.patch ++++++ >From 25615a80f3fb5ebcc26d7b00316afce8c46ab2f9 Mon Sep 17 00:00:00 2001 From: Nathan Fontenot <nf...@linux.vnet.ibm.com> Date: Mon, 22 May 2017 16:40:50 -0400 Subject: [PATCH] ofpathname: Add support for vNIC devices Add 'vnic' to the list of device types for of2l_ethernet so vNIC devices are supported. Signed-off-by: Nathan Fontenot <nf...@linux.vnet.ibm.com> Signed-off-by: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> --- scripts/ofpathname | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ofpathname b/scripts/ofpathname index 8528f14..1b2a1dd 100755 --- a/scripts/ofpathname +++ b/scripts/ofpathname @@ -1030,6 +1030,7 @@ ofpathname_to_logical() of2l_ide fi ;; eth* | l-lan ) of2l_ethernet ;; + vnic ) of2l_ethernet ;; hfi-ethernet* ) of2l_hfi ;; disk* ) of2l_ide ;; usb ) of2l_usb ;; -- 2.10.2 ++++++ powerpc-utils.bug-1042239_lsslot-Rectify-usr_drc_name-check.patch ++++++ >From 27e8d5b8218bc8c8c772080b0d99691bd31d4f0f Mon Sep 17 00:00:00 2001 From: Chandni Verma <chan...@linux.vnet.ibm.com> Date: Thu, 1 Jun 2017 19:07:13 +0530 Subject: [PATCH] lsslot: Rectify usr_drc_name check This incorrect check refrains lsslot from displaying the slot information. Fixes: e82fb588f573 (lsslot: replace struct options member s_name with usr_drc_name) Signed-off-by: Chandni Verma <chan...@linux.vnet.ibm.com> Signed-off-by: Nathan Fontenot <nf...@linux.vnet.ibm.com> [tyreld: added fixes tag] Signed-off-by: Tyrel Datwyler <tyr...@linux.vnet.ibm.com> --- src/drmgr/lsslot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drmgr/lsslot.c b/src/drmgr/lsslot.c index 81afbee..878ca69 100644 --- a/src/drmgr/lsslot.c +++ b/src/drmgr/lsslot.c @@ -584,7 +584,7 @@ int lsslot_chrp_pci(void) if (! node->is_owned || node->skip) continue; - if (!usr_drc_name) { + if (usr_drc_name) { if (cmp_drcname(node->drc_name, usr_drc_name)) insert_print_node(node); } -- 2.10.2