Hello community, here is the log from the commit of package powerpc-utils for openSUSE:Factory checked in at 2017-12-08 12:55:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old) and /work/SRC/openSUSE:Factory/.powerpc-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerpc-utils" Fri Dec 8 12:55:27 2017 rev:86 rq:548597 version:1.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes 2017-10-26 18:38:58.327103131 +0200 +++ /work/SRC/openSUSE:Factory/.powerpc-utils.new/powerpc-utils.changes 2017-12-08 12:55:28.333836521 +0100 @@ -1,0 +2,6 @@ +Thu Nov 30 17:41:30 UTC 2017 - [email protected] + +- drmgr: load rpadlpar_io on -C as well (bnc#1064039, bsc#1070113) + * drmgr-load-rpadlpar_io-on-C-as-well.patch + +------------------------------------------------------------------- New: ---- drmgr-load-rpadlpar_io-on-C-as-well.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.qiXHa5/_old 2017-12-08 12:55:29.661788562 +0100 +++ /var/tmp/diff_new_pack.qiXHa5/_new 2017-12-08 12:55:29.665788417 +0100 @@ -30,6 +30,7 @@ Patch2: ofpathname_powernv.patch Patch3: systemd-dir.patch Patch4: libvirt-service-dep.patch +Patch5: drmgr-load-rpadlpar_io-on-C-as-well.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: librtas-devel @@ -59,6 +60,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build autoreconf -fvi ++++++ drmgr-load-rpadlpar_io-on-C-as-well.patch ++++++ >From bbde7cb273a18893e8d4ecc2ccae7054a4bac995 Mon Sep 17 00:00:00 2001 From: Michal Suchanek <[email protected]> Date: Thu, 30 Nov 2017 18:14:11 +0100 Subject: [PATCH] drmgr: load rpadlpar_io on -C as well References: bnc#1064039, bsc#1070113 Users do drmgr -C to verify their system. However, -C does not select any hotplug type, and the rpadlpar_io kernel module is loaded only when hotplug type pci, phb or slot is selected. Select pci by default as if the user did drmgr -c pci -C so all capabilities are printed. Signed-off-by: Michal Suchanek <[email protected]> --- src/drmgr/drmgr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/drmgr/drmgr.c b/src/drmgr/drmgr.c index 6777e7fe23ee..0276fe0a47b5 100644 --- a/src/drmgr/drmgr.c +++ b/src/drmgr/drmgr.c @@ -194,6 +194,10 @@ int parse_options(int argc, char *argv[]) usr_drc_type = to_drc_type(optarg); break; case 'C': + /* If you do not ask for it rpadlpar_io is not loaded + * and the capabilities it provides not available */ + if (usr_drc_type == DRC_TYPE_NONE) + usr_drc_type = DRC_TYPE_PCI; display_capabilities = 1; break; case 'd': -- 2.13.6
