commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2020-10-08 13:13:45 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.4249 (New) Package is "skiboot" Thu Oct 8 13:13:45 2020 rev:19 rq:840107 version:6.6.1 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2020-07-03 00:08:59.863388190 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new.4249/skiboot.changes 2020-10-08 13:14:03.307274066 +0200 @@ -1,0 +2,14 @@ +Wed Oct 7 16:21:24 UTC 2020 - Michal Suchanek + +- Change the %build_firmware to build on 15 SP3 + +--- +Tue Oct 6 23:12:28 UTC 2020 - Bruce Rogers + +- Use update-alternatives mechanism to coordinate with qemu-skiboot + (provided with qemu package set) on the provider of the + /usr/share/qemu/skiboot.lid firmware file. opal-firmware subpackage + uses a priority of 10, while qemu-skiboot uses a priority of 15 + (jsc#SLE-13240) + +--- Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.IgiwuF/_old 2020-10-08 13:14:04.083274768 +0200 +++ /var/tmp/diff_new_pack.IgiwuF/_new 2020-10-08 13:14:04.087274772 +0200 @@ -16,7 +16,7 @@ # -%define build_firmware 0%{?is_opensuse} && !0%{?is_backports} +%define build_firmware ( 0%{?is_opensuse} && !0%{?is_backports} ) || !0%{?sle_version} || ( 0%{?sle_version} > 150200 ) Name: skiboot Version:6.6.1 @@ -58,14 +58,18 @@ of an OpenPower system. 'pflash' is a tool to access the flash modules on such systems and update the OpenPower firmware. +%if %build_firmware %package -n opal-firmware Summary:OPAL firmware Group: System/Management BuildArch: noarch +Requires(post): update-alternatives +Requires(postun): update-alternatives %description -n opal-firmware OPAL firmware, aka skiboot, loads the bootloader and provides runtime services to the OS (Linux) on IBM Power and OpenPower systems. +%endif %prep %setup -q @@ -90,7 +94,10 @@ %if %build_firmware mkdir -p %{buildroot}%{_datadir}/qemu -install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid +install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid.opal +# create a dummy target for /etc/alternatives/skiboot.lid +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +ln -s -f %{_sysconfdir}/alternatives/skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid %endif %pre -n opal-prd @@ -105,6 +112,17 @@ %postun -n opal-prd %service_del_postun opal-prd.service +%if %build_firmware +%post -n opal-firmware +update-alternatives --install \ + %{_datadir}/qemu/skiboot.lid skiboot.lid %{_datadir}/qemu/skiboot.lid.opal 10 + +%postun -n opal-firmware +if [ ! -f %{_datadir}/qemu/skiboot.lid.opal ] ; then + update-alternatives --remove skiboot.lid %{_datadir}/qemu/skiboot.lid.opal +fi +%endif + %files -n opal-prd %defattr(-,root,root) %doc README.md LICENCE @@ -129,7 +147,10 @@ %if %build_firmware %files -n opal-firmware %doc README.md LICENCE -%{_datadir}/qemu/ +%dir %{_datadir}/qemu +%{_datadir}/qemu/skiboot.lid +%{_datadir}/qemu/skiboot.lid.opal +%ghost %_sysconfdir/alternatives/skiboot.lid %endif %changelog
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2020-07-03 00:05:29 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.3060 (New) Package is "skiboot" Fri Jul 3 00:05:29 2020 rev:18 rq:812962 version:6.6.1 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-08-22 10:52:34.917698198 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new.3060/skiboot.changes 2020-07-03 00:08:59.863388190 +0200 @@ -1,0 +2,14 @@ +Tue Jun 9 13:30:40 UTC 2020 - Michel Normand + +- version update from 6.5 to 6.6.1 + - v6.6 becomes the new stable release following v6.5 + - Skiboot is now dual licensed as Apache 2.0 -OR- GPLv2+ + - Skiboot can now be built as little endian, thanks to Team Nick + - OpenCAPI reset support + - OPAL_PHB_SET_OPTION and OPAL_PHB_GET_OPTION OPAL calls + - Fast-reboot is now disabled by default +- details release notes of 6.6 and 6.6.1 + https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-6.6.rst + https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-6.6.1.rst + +--- Old: skiboot-6.5.tar.gz New: skiboot-6.6.1.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.Zu7KZp/_old 2020-07-03 00:09:03.543400375 +0200 +++ /var/tmp/diff_new_pack.Zu7KZp/_new 2020-07-03 00:09:03.547400388 +0200 @@ -1,7 +1,7 @@ # # spec file for package skiboot # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,12 @@ %define build_firmware 0%{?is_opensuse} && !0%{?is_backports} Name: skiboot -Version:6.5 +Version:6.6.1 Release:0 Summary:Tools for the OpenPower platform License:Apache-2.0 Group: System/Management -Url:https://github.com/open-power/skiboot +URL:https://github.com/open-power/skiboot Source: skiboot-%{version}.tar.gz BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel ++ _service ++ --- /var/tmp/diff_new_pack.Zu7KZp/_old 2020-07-03 00:09:03.571400468 +0200 +++ /var/tmp/diff_new_pack.Zu7KZp/_new 2020-07-03 00:09:03.571400468 +0200 @@ -4,8 +4,8 @@ https://github.com/open-power/skiboot skiboot -6.5 -v6.5 +6.6.1 +v6.6.1 *skiboot*.tar ++ skiboot-6.5.tar.gz -> skiboot-6.6.1.tar.gz ++ 27928 lines of diff (skipped)
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-08-22 10:52:32 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.22127 (New) Package is "skiboot" Thu Aug 22 10:52:32 2019 rev:17 rq:724840 version:6.5 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-07-23 22:39:18.698947430 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new.22127/skiboot.changes 2019-08-22 10:52:34.917698198 +0200 @@ -1,0 +2,48 @@ +Tue Aug 20 13:34:49 UTC 2019 - Michel Normand + +- version update from 6.2.2 to 6.5 + - Support for Memory-preserving IPL (MPIPL) + - Support for the Swift platform and NPU3 hardware. + - Support for the Mihawk platform + - npu2-opencapi: Add opencapi support on ZZ + - platforms/nicole: Add new platform + - platform/zz: Add new platform type + - nvram: Flag dangerous NVRAM options + - hw/phb3: Add verbose EEH output + - Experimental support for building without FSP code + - doc: travis-ci deploy docs! + - Big OPAL API Documentation improvement + - opal/hmi: Report NPU2 checkstop reason + - opal-msg: Enhance opal-get-msg API + - core/opal: Increase opal-msg-size size + - hw/npu2-opencapi: Add initial support for allocating OpenCAPI LPC memory + - core/fast-reboot: Add im-feeling-lucky option + - platforms/astbmc: Check for SBE validation step + - Add P9 DIO interrupt support + - hw/imc: Enable opal calls to init/start/stop IMC Trace mode + - xive: Add calls to save/restore the queues and VPs HW state + - witherspoon: Add nvlink2 interconnect information + - platforms/romulus: Also support talos + - OpenCAPI support! + - opal/hmi: set a flag to inform OS that TOD/TB has failed. + - astbmc: Enable IPMI HIOMAP for AMI platforms + - power-mgmt : occ : Add 'freq-domain-mask' DT property + - powercap: occ: Fix the powercapping range allowed for user + - Add NVDIMM support + - core/exceptions: implement support for MCE interrupts in powersave + - core/exceptions: implement an exception handler for non-powersave sresets + - Add PVR_TYPE_P9P + - Expose PNOR Flash partitions to host MTD driver via devicetree + - Write boot progress to LPC port 80h + - Write boot progress to LPC ports 81 and 82 + - Add Talos II platform + - cpufeatures: Add tm-suspend-hypervisor-assist and tm-suspend-xer-so-bug node +- details release notes since previous v6.2.2: + https://github.com/open-power/skiboot/tree/master/doc/release-notes +- remove patches embeded in new version + libffs-fix-string-truncation.patch + struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch + hdata-vpd-fix-printing-char-0x00.patch + errorlog-Prevent-alignment-error-buiding-with-gcc9.patch + +--- Old: errorlog-Prevent-alignment-error-buiding-with-gcc9.patch hdata-vpd-fix-printing-char-0x00.patch libffs-fix-string-truncation.patch skiboot-6.2.2.tar.gz struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch New: skiboot-6.5.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.kgdzU0/_old 2019-08-22 10:52:35.605698106 +0200 +++ /var/tmp/diff_new_pack.kgdzU0/_new 2019-08-22 10:52:35.609698105 +0200 @@ -19,17 +19,13 @@ %define build_firmware 0%{?is_opensuse} && !0%{?is_backports} Name: skiboot -Version:6.2.2 +Version:6.5 Release:0 Summary:Tools for the OpenPower platform License:Apache-2.0 Group: System/Management Url:https://github.com/open-power/skiboot Source: skiboot-%{version}.tar.gz -Patch1: libffs-fix-string-truncation.patch -Patch2: struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch -Patch3: hdata-vpd-fix-printing-char-0x00.patch -Patch4: errorlog-Prevent-alignment-error-buiding-with-gcc9.patch BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros @@ -73,7 +69,6 @@ %prep %setup -q -%autopatch -p1 %build %if %build_firmware ++ _service ++ --- /var/tmp/diff_new_pack.kgdzU0/_old 2019-08-22 10:52:35.633698102 +0200 +++ /var/tmp/diff_new_pack.kgdzU0/_new 2019-08-22 10:52:35.633698102 +0200 @@ -4,8 +4,8 @@ https://github.com/open-power/skiboot skiboot -6.2.2 -v6.2.2 +6.5 +v6.5 *skiboot*.tar ++ skiboot-6.2.2.tar.gz -> skiboot-6.5.tar.gz ++ 76171 lines of diff (skipped)
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-07-23 22:39:17 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.4126 (New) Package is "skiboot" Tue Jul 23 22:39:17 2019 rev:16 rq:717849 version:6.2.2 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-03-14 15:02:15.223681226 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new.4126/skiboot.changes 2019-07-23 22:39:18.698947430 +0200 @@ -1,0 +2,9 @@ +Tue Jul 23 08:18:39 UTC 2019 - Michal Suchanek + +- Fix aligment error with gcc9. +- add errorlog-Prevent-alignment-error-buiding-with-gcc9.patch +- add hdata-vpd-fix-printing-char-0x00.patch +- add struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch +- refresh libffs-fix-string-truncation.patch + +--- New: errorlog-Prevent-alignment-error-buiding-with-gcc9.patch hdata-vpd-fix-printing-char-0x00.patch struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.Zvq1Vq/_old 2019-07-23 22:39:19.346947297 +0200 +++ /var/tmp/diff_new_pack.Zvq1Vq/_new 2019-07-23 22:39:19.350947296 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,6 +27,9 @@ Url:https://github.com/open-power/skiboot Source: skiboot-%{version}.tar.gz Patch1: libffs-fix-string-truncation.patch +Patch2: struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch +Patch3: hdata-vpd-fix-printing-char-0x00.patch +Patch4: errorlog-Prevent-alignment-error-buiding-with-gcc9.patch BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros ++ errorlog-Prevent-alignment-error-buiding-with-gcc9.patch ++ >From a3d976ddfd376cd1c5b6ae7aa3c5e7139a5a4032 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Tue, 23 Jul 2019 10:04:22 +0200 Subject: [PATCH] errorlog: Prevent alignment error buiding with gcc9. Fixes this build error: [ 52s] hw/fsp/fsp-elog-write.c: In function 'opal_elog_read': [ 52s] hw/fsp/fsp-elog-write.c:213:12: error: taking address of packed member of 'struct errorlog' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 52s] 213 | list_del(_data->link); [ 52s] | ^~~ Fixes: https://github.com/open-power/skiboot/issues/247 Signed-off-by: Michal Suchanek --- include/errorlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/errorlog.h b/include/errorlog.h index 6da96649e048..b4cc163ced39 100644 --- a/include/errorlog.h +++ b/include/errorlog.h @@ -119,7 +119,7 @@ struct __attribute__((__packed__))elog_user_data_section { * needs to populate this structure using pre-defined interfaces * only */ -struct __attribute__((__packed__)) errorlog { +struct __attribute__((__packed__)) __attribute__ ((aligned (8))) errorlog { uint16_t component_id; uint8_t error_event_type; -- 2.22.0 ++ hdata-vpd-fix-printing-char-0x00.patch ++ >From ba977f2e4406f9de318afcdf5d666e77585ef269 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Tue, 18 Jun 2019 16:06:44 +1000 Subject: [PATCH] hdata/vpd: fix printing (char*)0x00 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC9 now catches this bug: In file included from hdata/vpd.c:17: In function ‘vpd_vini_parse’, inlined from ‘vpd_data_parse’ at hdata/vpd.c:416:3: /home/stewart/skiboot/include/skiboot.h:93:31: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 93 | #define prlog(l, f, ...) do { _prlog(l, pr_fmt(f), ##__VA_ARGS__); } while(0) | ^~~ hdata/vpd.c:390:5: note: in expansion of macro ‘prlog’ 390 | prlog(PR_WARNING, | ^ hdata/vpd.c: In function ‘vpd_data_parse’: hdata/vpd.c:391:46: note: format string is defined here 391 | "VPD: CCIN desc not available for: %s\n", | ^~ cc1: all warnings being treated as errors Signed-off-by: Stewart Smith --- hdata/vpd.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hdata/vpd.c b/hdata/vpd.c index 129b5062356a..5a01bcc9f6fa 100644 --- a/hdata/vpd.c +++ b/hdata/vpd.c @@ -328,6 +328,7 @@ static void vpd_vini_parse(struct dt_node *node,
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-03-14 15:01:37 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.28833 (New) Package is "skiboot" Thu Mar 14 15:01:37 2019 rev:15 rq:684774 version:6.2.2 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-02-27 17:28:53.647326261 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new.28833/skiboot.changes 2019-03-14 15:02:15.223681226 +0100 @@ -1,0 +2,23 @@ +Wed Mar 13 17:31:30 UTC 2019 - michel normand + +- version update to 6.2.2 +- powercap: occ: Fix the powercapping range allowed for user +- astbmc: Enable IPMI HIOMAP for AMI platforms +- astbmc: Try IPMI HIOMAP for P8 (again) +- p8dtu: Enable HIOMAP support +- p8dtu: Configure BMC graphics +- ipmi-hiomap test case enhancements/fixes. +- libflash/ipmi-hiomap: Enforce message size for empty response +- libflash/ipmi-hiomap: Remove unused close handling +- libflash/ipmi-hiomap: Overhaul event handling +- libflash/ipmi-hiomap: Overhaul error handling +- libflash/ipmi-hiomap: Fix leak of msg in callback +- core/ipmi: Add ipmi sync messages to top of the list +- hw/bt: Introduce separate list for synchronous messages +- hw/bt: Fix message retry handler +- ipmi/power: Fix system reboot issue +- hw/bt: Add backend interface to disable ipmi message retry option +- qemu: bt device isn't always hanging off / +- hw/phb3/naples: Disable D-states + +--- Old: skiboot-6.2.1.tar.gz New: skiboot-6.2.2.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.EpxxQF/_old 2019-03-14 15:02:16.423680856 +0100 +++ /var/tmp/diff_new_pack.EpxxQF/_new 2019-03-14 15:02:16.427680855 +0100 @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_firmware 0%{?is_opensuse} && !0%{?is_backports} Name: skiboot -Version:6.2.1 +Version:6.2.2 Release:0 Summary:Tools for the OpenPower platform License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.EpxxQF/_old 2019-03-14 15:02:16.443680850 +0100 +++ /var/tmp/diff_new_pack.EpxxQF/_new 2019-03-14 15:02:16.443680850 +0100 @@ -4,8 +4,8 @@ https://github.com/open-power/skiboot skiboot -6.2.1 -v6.2.1 +6.2.2 +v6.2.2 *skiboot*.tar ++ skiboot-6.2.1.tar.gz -> skiboot-6.2.2.tar.gz ++ 4474 lines of diff (skipped)
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-02-27 17:28:50 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.28833 (New) Package is "skiboot" Wed Feb 27 17:28:50 2019 rev:14 rq:678040 version:6.2.1 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-02-13 10:04:50.585569369 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new.28833/skiboot.changes 2019-02-27 17:28:53.647326261 +0100 @@ -1,0 +2,39 @@ +Wed Feb 20 14:01:41 UTC 2019 - Michel Normand + +- version update to 6.2.1 + - skiboot 6.2.1 was released on Wednesday February 20th, 2019. +replaces skiboot-6.2 as current stable release in 6.2.x series. + - core/cpu: HID update race + - core/ipmi: Improve error message + - core/lock: Stop drop_my_locks() from always causing abort + - core/opal: Print PIR value in exit path, useful for debugging + - cpufeatures: Always advertise POWER8NVL as DD2 + - firmware-versions: Add test case for parsing VERSION + - libflash/ecc: Fix compilation warning with gcc9 +Fixes: https://github.com/open-power/skiboot/issues/218 + - p9dsu: Fix p9dsu default variant + - p9dsu: Fix p9dsu slot tables + - for details refer to: +https://github.com/open-power/skiboot/commit/0647f2a + +--- +Wed Feb 13 11:27:32 UTC 2019 - Jan Engelhardt + +- Trim those %if..%endif guards that do not affect the build + result. +- Use %make_install. + +--- +Wed Feb 13 10:13:30 UTC 2019 - norm...@linux.vnet.ibm.com + +- version update to 6.2 + - skiboot v6.2 was released on Friday December 14th 2018. +It is the first release of skiboot 6.2, +which becomes the new stable release of skiboot. + - for details refer to: +https://github.com/open-power/skiboot/releases/tag/v6.2 + +- remove hdata-i2c.c-fix-building-with-gcc8.patch now in 6.2 +- remove opal-prd-Fix-opal-prd-crash.patch now in 6.2 + +--- Old: hdata-i2c.c-fix-building-with-gcc8.patch opal-prd-Fix-opal-prd-crash.patch skiboot-5.10.tar.gz New: skiboot-6.2.1.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.PgKJaY/_old 2019-02-27 17:28:54.151326081 +0100 +++ /var/tmp/diff_new_pack.PgKJaY/_new 2019-02-27 17:28:54.155326079 +0100 @@ -19,16 +19,14 @@ %define build_firmware 0%{?is_opensuse} && !0%{?is_backports} Name: skiboot -Version:5.10 +Version:6.2.1 Release:0 -Summary:Tools for OpenPower platform +Summary:Tools for the OpenPower platform License:Apache-2.0 Group: System/Management Url:https://github.com/open-power/skiboot Source: skiboot-%{version}.tar.gz -Patch1: hdata-i2c.c-fix-building-with-gcc8.patch -Patch2: libffs-fix-string-truncation.patch -Patch3: opal-prd-Fix-opal-prd-crash.patch +Patch1: libffs-fix-string-truncation.patch BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros @@ -45,8 +43,8 @@ %description -n opal-prd This package provides a daemon to load and run the OpenPower firmware's -Processor Recovery Diagnostics binary. This is responsible for runtime -maintenance of Power hardware. +Processor Recovery Diagnostics binary. This is responsible for run time +maintenance of OpenPower Systems hardware. %package -n opal-utils Summary:OPAL firmware utilities @@ -61,7 +59,6 @@ of an OpenPower system. 'pflash' is a tool to access the flash modules on such systems and update the OpenPower firmware. -%if %build_firmware %package -n opal-firmware Summary:OPAL firmware Group: System/Management @@ -70,7 +67,6 @@ %description -n opal-firmware OPAL firmware, aka skiboot, loads the bootloader and provides runtime services to the OS (Linux) on IBM Power and OpenPower systems. -%endif %prep %setup -q @@ -86,10 +82,10 @@ XSCOM_VERSION=%version make V=1 -C external/xscom-utils %install -make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/opal-prd/ prefix=%{_prefix} install -make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/gard/ prefix=%{_prefix} install -make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/xscom-utils/ prefix=%{_prefix} install -cp external/pflash/pflash %{buildroot}%{_sbindir} +%make_install -C external/opal-prd/ prefix=%{_prefix} +%make_install -C external/gard/ prefix=%{_prefix} +%make_install -C external/xscom-utils/ prefix=%{_prefix} +%make_install -C
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-02-13 10:04:37 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.28833 (New) Package is "skiboot" Wed Feb 13 10:04:37 2019 rev:13 rq:673570 version:5.10 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-02-01 11:48:25.880368507 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new.28833/skiboot.changes 2019-02-13 10:04:50.585569369 +0100 @@ -1,0 +2,6 @@ +Mon Feb 11 15:35:26 UTC 2019 - Michal Suchanek + +- Fix opal-prd crash when building with -pie (bsc#1124931). + - add opal-prd-Fix-opal-prd-crash.patch + +--- New: opal-prd-Fix-opal-prd-crash.patch Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.BgsX9s/_old 2019-02-13 10:04:51.873569045 +0100 +++ /var/tmp/diff_new_pack.BgsX9s/_new 2019-02-13 10:04:51.877569044 +0100 @@ -28,6 +28,7 @@ Source: skiboot-%{version}.tar.gz Patch1: hdata-i2c.c-fix-building-with-gcc8.patch Patch2: libffs-fix-string-truncation.patch +Patch3: opal-prd-Fix-opal-prd-crash.patch BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros ++ opal-prd-Fix-opal-prd-crash.patch ++ >From ff576aa8187b47f61f902b6a097693d00c937d4c Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Mon, 30 Jul 2018 15:28:46 +0530 Subject: [PATCH] opal-prd: Fix opal-prd crash Patch-mainline: v6.2-rc1 Git-commit: ff576aa8187b47f61f902b6a097693d00c937d4c Presently callback function from HBRT uses r11 to point to target function pointer. r12 is garbage. This works fine when we compile with "-no-pie" option (as we don't use r12 to calculate TOC). As per ABIv2 : "r12 : Function entry address at global entry point" With "-pie" compilation option, we have to set r12 to point to global function entry point. So that we can calculate TOC properly. Crash log without this patch: opal-prd[2864]: unhandled signal 11 at 00029320 nip 0 00102012830 lr 000102016890 code 1 Signed-off-by: Vasant Hegde CC: Jeremy Kerr CC: Mahesh Salgaonkar Acked-by: Jeremy Kerr Reviewed-by: Mahesh Salgaonkar Signed-off-by: Stewart Smith --- external/opal-prd/thunk.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/external/opal-prd/thunk.S b/external/opal-prd/thunk.S index e09cef940099..d0ccd6491805 100644 --- a/external/opal-prd/thunk.S +++ b/external/opal-prd/thunk.S @@ -119,7 +119,7 @@ call_le: std %r0,(32+16)(%r1) /* Branch to original function */ - mtlr%r11 + mtlr%r12 blrl /* Restore stack and LR */ @@ -137,7 +137,7 @@ call_le: /* Callback from HBRT. There is one entry point per function. * * We assume the proper r2 is already set via the OPD, so we grab our -* target function pointer in r11 and jump to call_le +* target function pointer in r12 and jump to call_le */ #define CALLBACK_THUNK(name) \ .pushsection ".text","ax" ;\ @@ -146,7 +146,7 @@ name##_thunk: ;\ .long 0x0038 | le_si16(__NR_switch_endian) ;\ /* byteswapped li %r0,__NR_switch_endian */ ;\ .long 0x0244 /* byteswapped sc */ ;\ - ld %r11,name@got(%r2) ;\ + ld %r12,name@got(%r2) ;\ b call_le ;\ .popsection ;\ .pushsection ".data.thunk_opd","aw" ;\ -- 2.19.2
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-02-01 11:47:48 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.28833 (New) Package is "skiboot" Fri Feb 1 11:47:48 2019 rev:12 rq:670296 version:5.10 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2019-01-28 20:50:32.293772723 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new.28833/skiboot.changes 2019-02-01 11:48:25.880368507 +0100 @@ -1,0 +2,6 @@ +Wed Jan 30 09:18:58 UTC 2019 - Michal Suchanek + +- skiboot.lid conflicts with qemu which is not allowed in backports so build + opal-firmware on OpenSUSE only (bsc#1123072). + +--- Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.IDIVzL/_old 2019-02-01 11:48:26.684367681 +0100 +++ /var/tmp/diff_new_pack.IDIVzL/_new 2019-02-01 11:48:26.684367681 +0100 @@ -16,6 +16,8 @@ # +%define build_firmware 0%{?is_opensuse} && !0%{?is_backports} + Name: skiboot Version:5.10 Release:0 @@ -58,6 +60,7 @@ of an OpenPower system. 'pflash' is a tool to access the flash modules on such systems and update the OpenPower firmware. +%if %build_firmware %package -n opal-firmware Summary:OPAL firmware Group: System/Management @@ -66,13 +69,16 @@ %description -n opal-firmware OPAL firmware, aka skiboot, loads the bootloader and provides runtime services to the OS (Linux) on IBM Power and OpenPower systems. +%endif %prep %setup -q %autopatch -p1 %build +%if %build_firmware SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} +%endif OPAL_PRD_VERSION=%version make V=1 %{?_smp_mflags} -C external/opal-prd GARD_VERSION=%version make V=1 %{?_smp_mflags} -C external/gard PFLASH_VERSION=%version make V=1 %{?_smp_mflags} -C external/pflash @@ -87,8 +93,10 @@ mkdir -p %{buildroot}/%{_unitdir} install -D -m 444 -p external/opal-prd/opal-prd.service %{buildroot}%{_unitdir}/opal-prd.service +%if %build_firmware mkdir -p %{buildroot}%{_datadir}/qemu install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid +%endif %pre -n opal-prd %service_add_pre opal-prd.service @@ -122,8 +130,10 @@ %{_mandir}/man1/getsram.1.gz %{_mandir}/man1/putscom.1.gz +%if %build_firmware %files -n opal-firmware %doc README.md LICENCE %{_datadir}/qemu/ +%endif %changelog
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2019-01-28 20:49:39 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.28833 (New) Package is "skiboot" Mon Jan 28 20:49:39 2019 rev:11 rq:669000 version:5.10 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2018-04-24 15:32:51.242819937 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new.28833/skiboot.changes 2019-01-28 20:50:32.293772723 +0100 @@ -1,0 +2,7 @@ +Thu Jan 24 21:43:04 UTC 2019 - Michal Suchanek + +- Fix build on Tumbleweed. + - add hdata-i2c.c-fix-building-with-gcc8.patch + - add libffs-fix-string-truncation.patch + +--- New: hdata-i2c.c-fix-building-with-gcc8.patch libffs-fix-string-truncation.patch Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.pVAufM/_old 2019-01-28 20:50:32.861772124 +0100 +++ /var/tmp/diff_new_pack.pVAufM/_new 2019-01-28 20:50:32.861772124 +0100 @@ -1,7 +1,7 @@ # # spec file for package skiboot # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,6 +24,8 @@ Group: System/Management Url:https://github.com/open-power/skiboot Source: skiboot-%{version}.tar.gz +Patch1: hdata-i2c.c-fix-building-with-gcc8.patch +Patch2: libffs-fix-string-truncation.patch BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros @@ -66,7 +68,8 @@ services to the OS (Linux) on IBM Power and OpenPower systems. %prep -%setup -q -n %{name}-%{version} +%setup -q +%autopatch -p1 %build SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} ++ hdata-i2c.c-fix-building-with-gcc8.patch ++ >From 70d544de8739abbc381398cbfd07a6bd6dc8c1a5 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Tue, 29 May 2018 14:54:10 +1000 Subject: [PATCH] hdata/i2c.c: fix building with gcc8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch-mainline: v6.1-rc1 Git-commit: 70d544de8739abbc381398cbfd07a6bd6dc8c1a5 hdata/test/../i2c.c:200:1: error: alignment 1 of ‘struct host_i2c_hdr’ is less than 4 [-Werror=packed-not-aligned] } __packed; ^ Fixes: https://github.com/open-power/skiboot/issues/160 Signed-off-by: Stewart Smith --- hdata/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdata/i2c.c b/hdata/i2c.c index 5cb56faf..9bbec665 100644 --- a/hdata/i2c.c +++ b/hdata/i2c.c @@ -197,7 +197,7 @@ static bool is_zeros(const void *p, size_t size) struct host_i2c_hdr { const struct HDIF_array_hdr hdr; __be32 version; -} __packed; +} __packed __align(0x4); int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index, struct dt_node *xscom) -- 2.19.1 ++ libffs-fix-string-truncation.patch ++ >From 235a280711265ed67d35b3781f6c7d6e7e83bda9 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Fri, 25 Jan 2019 12:54:12 +0100 Subject: [PATCH] libffs: Fix string truncation gcc warning. Allow one more byte copied. The allocated space has extra byte anyway. --- libflash/libffs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libflash/libffs.c b/libflash/libffs.c index 221c2b02..4eb0ffa9 100644 --- a/libflash/libffs.c +++ b/libflash/libffs.c @@ -522,7 +522,7 @@ int ffs_part_info(struct ffs_handle *ffs, uint32_t part_idx, n = calloc(1, FFS_PART_NAME_MAX + 1); if (!n) return FLASH_ERR_MALLOC_FAILED; - strncpy(n, ent->name, FFS_PART_NAME_MAX); + strncpy(n, ent->name, FFS_PART_NAME_MAX + 1); *name = n; } return 0; -- 2.19.1
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2018-04-24 15:32:43 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Tue Apr 24 15:32:43 2018 rev:10 rq:599872 version:5.10 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2017-12-19 10:59:29.238454416 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2018-04-24 15:32:51.242819937 +0200 @@ -1,0 +2,18 @@ +Mon Apr 23 06:36:42 UTC 2018 - norm...@linux.vnet.ibm.com + +- Add few lines below about changes version 5.10 + +--- +Wed Apr 18 10:05:46 UTC 2018 - norm...@linux.vnet.ibm.com + +- version update to 5.10 + - skiboot v5.10 contains all bug fixes as of skiboot-5.9.8 and +skiboot-5.4.9. We do not forsee any further 5.9.x releases. + - Power9 support +Power saving -Secure and Trusted Boot +XIVE -PCI -PHB4 -CAPI -NVLINK2 + - for details refer to: + https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-5.10.rst +- remove increase_dpath_string.patch + +--- Old: increase_dpath_string.patch skiboot-5.9.6.tar.gz New: skiboot-5.10.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.2L0IHn/_old 2018-04-24 15:32:52.770764655 +0200 +++ /var/tmp/diff_new_pack.2L0IHn/_new 2018-04-24 15:32:52.774764511 +0200 @@ -1,7 +1,7 @@ # # spec file for package skiboot # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: skiboot -Version:5.9.6 +Version:5.10 Release:0 Summary:Tools for OpenPower platform License:Apache-2.0 @@ -60,7 +60,6 @@ Summary:OPAL firmware Group: System/Management BuildArch: noarch -Patch01:increase_dpath_string.patch %description -n opal-firmware OPAL firmware, aka skiboot, loads the bootloader and provides runtime @@ -68,7 +67,6 @@ %prep %setup -q -n %{name}-%{version} -%patch01 -p1 %build SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} @@ -117,6 +115,9 @@ %{_sbindir}/getsram %{_sbindir}/pflash %{_mandir}/man1/opal-gard.1.gz +%{_mandir}/man1/getscom.1.gz +%{_mandir}/man1/getsram.1.gz +%{_mandir}/man1/putscom.1.gz %files -n opal-firmware %doc README.md LICENCE ++ _service ++ --- /var/tmp/diff_new_pack.2L0IHn/_old 2018-04-24 15:32:52.846761906 +0200 +++ /var/tmp/diff_new_pack.2L0IHn/_new 2018-04-24 15:32:52.850761761 +0200 @@ -4,8 +4,8 @@ https://github.com/open-power/skiboot skiboot -5.9.6 -v5.9.6 +5.10 +v5.10 *skiboot*.tar ++ skiboot-5.9.6.tar.gz -> skiboot-5.10.tar.gz ++ 28712 lines of diff (skipped)
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2017-12-19 10:59:27 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Tue Dec 19 10:59:27 2017 rev:9 rq:558189 version:5.9.6 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2017-04-28 09:12:18.570490962 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2017-12-19 10:59:29.238454416 +0100 @@ -1,0 +2,7 @@ +Sun Dec 17 16:39:21 UTC 2017 - norm...@linux.vnet.ibm.com + +- version update to 5.9.6 + - see https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-5.9.6.rst +- add increase_dpath_string.patch + +--- Old: skiboot-5.5.0.tar.gz New: increase_dpath_string.patch skiboot-5.9.6.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.2Hm11m/_old 2017-12-19 10:59:29.970419081 +0100 +++ /var/tmp/diff_new_pack.2Hm11m/_new 2017-12-19 10:59:29.970419081 +0100 @@ -17,7 +17,7 @@ Name: skiboot -Version:5.5.0 +Version:5.9.6 Release:0 Summary:Tools for OpenPower platform License:Apache-2.0 @@ -60,6 +60,7 @@ Summary:OPAL firmware Group: System/Management BuildArch: noarch +Patch01:increase_dpath_string.patch %description -n opal-firmware OPAL firmware, aka skiboot, loads the bootloader and provides runtime @@ -67,6 +68,7 @@ %prep %setup -q -n %{name}-%{version} +%patch01 -p1 %build SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} ++ _service ++ --- /var/tmp/diff_new_pack.2Hm11m/_old 2017-12-19 10:59:29.998417729 +0100 +++ /var/tmp/diff_new_pack.2Hm11m/_new 2017-12-19 10:59:30.002417536 +0100 @@ -4,11 +4,12 @@ https://github.com/open-power/skiboot skiboot -5.5.0 -skiboot-5.5.0 +5.9.6 +v5.9.6 *skiboot*.tar gz + ++ increase_dpath_string.patch ++ From: Michel NormandSubject: Increase dpath string in i2c.c Date: Sun, 17 Dec 2017 17:10:05 +0100 increase dpath string in opal-prd/i2c.c to avoid opal-prd build error: === i2c.c:237:40: note: format string is defined here sprintf(dpath, SYSFS "/class/i2c-dev/%s/name", devent->d_name); ^~ i2c.c:237:3: note: 'sprintf' output between 25 and 280 bytes into a destination of size 255 sprintf(dpath, SYSFS "/class/i2c-dev/%s/name", devent->d_name); ^~ === as per PR https://github.com/open-power/skiboot/pull/144 Signed-off-by: Michel Normand --- external/opal-prd/i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: skiboot/external/opal-prd/i2c.c === --- skiboot.orig/external/opal-prd/i2c.c2017-12-17 07:39:46.825852029 +0100 +++ skiboot/external/opal-prd/i2c.c 2017-12-17 08:04:42.450699667 +0100 @@ -211,7 +211,7 @@ #define SYSFS "/sys" /* XXX Find it ? */ DIR *devsdir; struct dirent *devent; - char dpath[NAME_MAX]; + char dpath[300]; char busname[256]; char *s; FILE *f; ++ skiboot-5.5.0.tar.gz -> skiboot-5.9.6.tar.gz ++ 55615 lines of diff (skipped)
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2017-04-28 09:12:08 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Fri Apr 28 09:12:08 2017 rev:8 rq:487540 version:5.5.0 Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2016-08-12 15:43:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2017-04-28 09:12:18.570490962 +0200 @@ -1,0 +2,9 @@ +Wed Apr 12 09:16:07 UTC 2017 - norm...@linux.vnet.ibm.com + +- version update to 5.5.0 + - see https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-5.5.0.rst +- remove two patches now upstream: + 0001-Make-links-target-reusable.patch + skiboot_gcc6_backtrace.patch + +--- Old: 0001-Make-links-target-reusable.patch skiboot-5.2.0.tar.gz skiboot_gcc6_backtrace.patch New: _service skiboot-5.5.0.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.FsFwpf/_old 2017-04-28 09:12:20.326243380 +0200 +++ /var/tmp/diff_new_pack.FsFwpf/_new 2017-04-28 09:12:20.330242816 +0200 @@ -1,7 +1,7 @@ # # spec file for package skiboot # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,14 @@ Name: skiboot -Version:5.2.0 +Version:5.5.0 Release:0 Summary:Tools for OpenPower platform License:Apache-2.0 Group: System/Management Url:https://github.com/open-power/skiboot -Source: https://github.com/open-power/skiboot/archive/%{name}-%{version}.tar.gz -Patch0: 0001-Make-links-target-reusable.patch -Patch1: skiboot_gcc6_backtrace.patch +Source: skiboot-%{version}.tar.gz +BuildRequires: libopenssl-devel BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,60 +66,58 @@ services to the OS (Linux) on IBM Power and OpenPower systems. %prep -%setup -q -n %{name}-%{name}-%{version} -%patch0 -p1 -%patch1 -p1 +%setup -q -n %{name}-%{version} %build SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} OPAL_PRD_VERSION=%version make V=1 %{?_smp_mflags} -C external/opal-prd GARD_VERSION=%version make V=1 %{?_smp_mflags} -C external/gard PFLASH_VERSION=%version make V=1 %{?_smp_mflags} -C external/pflash -make V=1 -C external/xscom-utils +XSCOM_VERSION=%version make V=1 -C external/xscom-utils %install make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/opal-prd/ prefix=%{_prefix} install make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/gard/ prefix=%{_prefix} install -cp external/xscom-utils/{get,put}scom %{buildroot}%{_sbindir} +make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/xscom-utils/ prefix=%{_prefix} install cp external/pflash/pflash %{buildroot}%{_sbindir} mkdir -p %{buildroot}/%{_unitdir} -install -D -m 444 external/opal-prd/opal-prd.{socket,service} %{buildroot}%{_unitdir}/ +install -D -m 444 -p external/opal-prd/opal-prd.service %{buildroot}%{_unitdir}/opal-prd.service mkdir -p %{buildroot}%{_datadir}/qemu install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid %pre -n opal-prd -%service_add_pre opal-prd.service opal-prd.socket +%service_add_pre opal-prd.service %post -n opal-prd -%service_add_post opal-prd.service opal-prd.socket +%service_add_post opal-prd.service %preun -n opal-prd -%service_del_preun opal-prd.service opal-prd.socket +%service_del_preun opal-prd.service %postun -n opal-prd -%service_del_postun opal-prd.service opal-prd.socket +%service_del_postun opal-prd.service %files -n opal-prd %defattr(-,root,root) -%doc README LICENCE +%doc README.md LICENCE %{_sbindir}/opal-prd %{_mandir}/man8/opal-prd.8.gz %{_unitdir}/opal-prd.service -%{_unitdir}/opal-prd.socket %files -n opal-utils %defattr(-,root,root) -%doc README LICENCE +%doc README.md LICENCE %{_sbindir}/opal-gard %{_sbindir}/getscom %{_sbindir}/putscom +%{_sbindir}/getsram %{_sbindir}/pflash %{_mandir}/man1/opal-gard.1.gz %files -n opal-firmware -%doc README LICENCE +%doc README.md LICENCE %{_datadir}/qemu/ %changelog ++ _service ++ git https://github.com/open-power/skiboot skiboot 5.5.0 skiboot-5.5.0
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2016-08-12 15:43:26 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2016-06-25 02:21:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2016-08-12 15:43:38.0 +0200 @@ -10 +10 @@ - 0001-Make-links-target-reusable.patch + 0001-Make-links-target-reusable.patch (bsc#987201). @@ -17 +17 @@ - (see https://github.com/open-power/skiboot/issues/27) + (see https://github.com/open-power/skiboot/issues/27, bsc#987201) Other differences: --
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2016-06-25 02:20:41 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2016-04-01 13:02:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2016-06-25 02:21:43.0 +0200 @@ -1,0 +2,5 @@ +Fri Jun 17 11:04:23 UTC 2016 - norm...@linux.vnet.ibm.com + +- new skiboot_gcc6_backtrace.patch + +--- New: skiboot_gcc6_backtrace.patch Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.avxcDP/_old 2016-06-25 02:21:43.0 +0200 +++ /var/tmp/diff_new_pack.avxcDP/_new 2016-06-25 02:21:43.0 +0200 @@ -25,6 +25,7 @@ Url:https://github.com/open-power/skiboot Source: https://github.com/open-power/skiboot/archive/%{name}-%{version}.tar.gz Patch0: 0001-Make-links-target-reusable.patch +Patch1: skiboot_gcc6_backtrace.patch BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -68,6 +69,7 @@ %prep %setup -q -n %{name}-%{name}-%{version} %patch0 -p1 +%patch1 -p1 %build SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} ++ skiboot_gcc6_backtrace.patch ++ >From 793f6f5b32c96f2774bd955b6062c74a672317ca Mon Sep 17 00:00:00 2001 From: Joel StanleyDate: Mon, 29 Feb 2016 11:21:11 +1030 Subject: [PATCH] core: Fix backtrace for gcc 6 GCC 6 warns when we look at any stack frame other than our own, ie any argument to __builtin_frame_address other than zero. Signed-off-by: Joel Stanley Signed-off-by: Stewart Smith diff --git a/core/stack.c b/core/stack.c index 5fba6c7..3b92a14 100644 --- a/core/stack.c +++ b/core/stack.c @@ -31,7 +31,7 @@ extern uint32_t _stext, _etext; void __nomcount __backtrace(struct bt_entry *entries, unsigned int *count) { unsigned int room = *count; - unsigned long *fp = __builtin_frame_address(1); + unsigned long *fp = __builtin_frame_address(0); unsigned long top_adj = top_of_ram; /* Assume one stack for early backtraces */ @@ -40,6 +40,7 @@ void __nomcount __backtrace(struct bt_entry *entries, unsigned int *count) *count = 0; while(room) { + fp = (unsigned long *)fp[0]; if (!fp || (unsigned long)fp > top_adj) break; entries->sp = (unsigned long)fp; @@ -47,7 +48,6 @@ void __nomcount __backtrace(struct bt_entry *entries, unsigned int *count) entries++; *count = (*count) + 1; room--; - fp = (unsigned long *)fp[0]; } }
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2016-04-01 13:02:38 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2016-03-29 10:39:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2016-04-01 13:02:41.0 +0200 @@ -1,0 +2,6 @@ +Tue Mar 29 12:38:37 UTC 2016 - dval...@suse.com + +- Reenable parallel build + 0001-Make-links-target-reusable.patch + +--- New: 0001-Make-links-target-reusable.patch Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.IsX86l/_old 2016-04-01 13:02:42.0 +0200 +++ /var/tmp/diff_new_pack.IsX86l/_new 2016-04-01 13:02:42.0 +0200 @@ -24,6 +24,7 @@ Group: System/Management Url:https://github.com/open-power/skiboot Source: https://github.com/open-power/skiboot/archive/%{name}-%{version}.tar.gz +Patch0: 0001-Make-links-target-reusable.patch BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -66,12 +67,13 @@ %prep %setup -q -n %{name}-%{name}-%{version} +%patch0 -p1 %build SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} -OPAL_PRD_VERSION=%version make V=1 -C external/opal-prd -GARD_VERSION=%version make V=1 -C external/gard -PFLASH_VERSION=%version make V=1 -C external/pflash +OPAL_PRD_VERSION=%version make V=1 %{?_smp_mflags} -C external/opal-prd +GARD_VERSION=%version make V=1 %{?_smp_mflags} -C external/gard +PFLASH_VERSION=%version make V=1 %{?_smp_mflags} -C external/pflash make V=1 -C external/xscom-utils %install ++ 0001-Make-links-target-reusable.patch ++ >From e52008e69c0d4541bd531df5ce10187faeeddecd Mon Sep 17 00:00:00 2001 From: Dinar ValeevDate: Thu, 24 Mar 2016 18:33:22 +0100 Subject: [PATCH] Make links target reusable Move symlinking target to external/common/rules.mk, so the rule could be reused by gard and opal-prd. Signed-off-by: Dinar Valeev --- external/common/rules.mk | 24 external/gard/Makefile | 19 ++- external/opal-prd/Makefile | 25 ++--- external/pflash/Makefile | 24 +--- 4 files changed, 29 insertions(+), 63 deletions(-) diff --git a/external/common/rules.mk b/external/common/rules.mk index ec20593..4a929d6 100644 --- a/external/common/rules.mk +++ b/external/common/rules.mk @@ -17,6 +17,30 @@ endif endif endif +# Use make V=1 for a verbose build. +ifndef V +Q_CC= @echo 'CC ' $@; +Q_LINK=@echo ' LINK ' $@; +Q_LN= @echo 'LN ' $@; +Q_MKDIR=@echo ' MKDIR ' $@; +endif + + +.PHONY: links +links: libflash ccan common + +libflash: + $(Q_LN)ln -sf ../../libflash ./libflash + +ccan: + $(Q_LN)ln -sf ../../ccan ./ccan + +common: + $(Q_LN)ln -sf ../common ./common + +make_version.sh: + $(Q_LN)ln -sf ../../make_version.sh + ARCH_SRC := $(addprefix common/,$(ARCH_FILES)) ARCH_OBJS := $(addprefix common-,$(ARCH_FILES:.c=.o)) diff --git a/external/gard/Makefile b/external/gard/Makefile index be3d1ba..b54923d 100644 --- a/external/gard/Makefile +++ b/external/gard/Makefile @@ -3,22 +3,7 @@ include rules.mk GET_ARCH = ../../external/common/get_arch.sh include ../../external/common/rules.mk -all: $(EXE) - -.PHONY: links -links: libflash ccan common make_version.sh - -libflash: - ln -sf ../../libflash . - -ccan: - ln -sf ../../ccan . - -common: - ln -sf ../common . - -make_version.sh: - ln -sf ../../make_version.sh +all: links arch_links $(EXE) #Rebuild version.o so that the the version always matches #what the test suite will get from ./make_version.sh @@ -26,7 +11,7 @@ check: version.o all @ln -sf ../../test/test.sh test/test.sh @test/test-gard -$(OBJS): | links arch_links +links += make_version.sh .PHONY: VERSION-always .version: VERSION-always diff --git a/external/opal-prd/Makefile b/external/opal-prd/Makefile index 3f34371..e89f73d 100644 --- a/external/opal-prd/Makefile +++ b/external/opal-prd/Makefile @@ -10,19 +10,11 @@ sbindir = $(prefix)/sbin datadir = $(prefix)/share mandir = $(datadir)/man -all: opal-prd +all: links arch_links | opal-prd GET_ARCH = ../../external/common/get_arch.sh include ../../external/common/rules.mk -# Use make V=1 for a verbose build. -ifndef V -Q_CC= @echo 'CC ' $@; -Q_LINK=@echo ' LINK ' $@; -
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2016-03-29 10:00:15 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2016-02-17 12:24:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2016-03-29 10:39:27.0 +0200 @@ -1,0 +2,13 @@ +Thu Mar 24 15:35:43 UTC 2016 - dval...@suse.com + +- Drop opal-prd.{service,socket}, use upstream one +- Disable parallel builds + (see https://github.com/open-power/skiboot/issues/27) + +--- +Tue Mar 22 14:08:23 UTC 2016 - jloe...@suse.com + +- version update to 5.2.0 (FATE#320438) + - see https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-5.2.0.txt + +--- Old: opal-prd.service opal-prd.socket skiboot-5.1.13.tar.gz New: skiboot-5.2.0.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.fEHeT0/_old 2016-03-29 10:39:28.0 +0200 +++ /var/tmp/diff_new_pack.fEHeT0/_new 2016-03-29 10:39:28.0 +0200 @@ -17,15 +17,13 @@ Name: skiboot -Version:5.1.13 +Version:5.2.0 Release:0 Summary:Tools for OpenPower platform License:Apache-2.0 Group: System/Management Url:https://github.com/open-power/skiboot Source: https://github.com/open-power/skiboot/archive/%{name}-%{version}.tar.gz -Source1:opal-prd.service -Source2:opal-prd.socket BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,34 +38,53 @@ Group: System/Management %description -n opal-prd - This package provides a daemon to load and run the OpenPower firmware's - Processor Recovery Diagnostics binary. This is responsible for runtime - maintenance of Power hardware. +This package provides a daemon to load and run the OpenPower firmware's +Processor Recovery Diagnostics binary. This is responsible for runtime +maintenance of Power hardware. %package -n opal-utils Summary:OPAL firmware utilities Group: System/Management %description -n opal-utils - This package contains utility programs. - . - The 'gard' utility, can read, parse and clear hardware gard partitions on - OpenPower platforms. +This package contains utility programs. + +The 'gard' utility can read, parse and clear hardware gard partitions +on OpenPower platforms. The 'getscom' and 'putscom' utilities provide +an interface to query or modify the registers of the different chipsets +of an OpenPower system. 'pflash' is a tool to access the flash modules +on such systems and update the OpenPower firmware. + +%package -n opal-firmware +Summary:OPAL firmware +Group: System/Management +BuildArch: noarch + +%description -n opal-firmware +OPAL firmware, aka skiboot, loads the bootloader and provides runtime +services to the OS (Linux) on IBM Power and OpenPower systems. %prep %setup -q -n %{name}-%{name}-%{version} %build -export OPAL_PRD_VERSION=%{version} -make %{?_smp_mflags} -C external/opal-prd/ -make %{?_smp_mflags} -C external/gard/ +SKIBOOT_VERSION=%version CROSS= make V=1 %{?_smp_mflags} +OPAL_PRD_VERSION=%version make V=1 -C external/opal-prd +GARD_VERSION=%version make V=1 -C external/gard +PFLASH_VERSION=%version make V=1 -C external/pflash +make V=1 -C external/xscom-utils %install make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/opal-prd/ prefix=%{_prefix} install make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/gard/ prefix=%{_prefix} install +cp external/xscom-utils/{get,put}scom %{buildroot}%{_sbindir} +cp external/pflash/pflash %{buildroot}%{_sbindir} mkdir -p %{buildroot}/%{_unitdir} -install -D -m 444 %{SOURCE1} %{SOURCE2} %{buildroot}%{_unitdir}/ +install -D -m 444 external/opal-prd/opal-prd.{socket,service} %{buildroot}%{_unitdir}/ + +mkdir -p %{buildroot}%{_datadir}/qemu +install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid %pre -n opal-prd %service_add_pre opal-prd.service opal-prd.socket @@ -83,7 +100,7 @@ %files -n opal-prd %defattr(-,root,root) -%doc README +%doc README LICENCE %{_sbindir}/opal-prd %{_mandir}/man8/opal-prd.8.gz %{_unitdir}/opal-prd.service @@ -91,8 +108,15 @@ %files -n opal-utils %defattr(-,root,root) -%doc README +%doc README LICENCE %{_sbindir}/opal-gard +%{_sbindir}/getscom +%{_sbindir}/putscom +%{_sbindir}/pflash
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2016-02-17 10:24:17 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2016-01-05 21:55:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2016-02-17 12:24:46.0 +0100 @@ -1,0 +2,6 @@ +Sat Jan 30 13:57:55 UTC 2016 - mplus...@suse.com + +- Update to 5.1.13 + * See https://github.com/open-power/skiboot/blob/master/doc/release-notes/skiboot-5.1.13.txt + +--- Old: skiboot-5.1.12.tar.gz New: skiboot-5.1.13.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.NRDAbh/_old 2016-02-17 12:24:48.0 +0100 +++ /var/tmp/diff_new_pack.NRDAbh/_new 2016-02-17 12:24:48.0 +0100 @@ -17,7 +17,7 @@ Name: skiboot -Version:5.1.12 +Version:5.1.13 Release:0 Summary:Tools for OpenPower platform License:Apache-2.0 ++ skiboot-5.1.12.tar.gz -> skiboot-5.1.13.tar.gz ++ 10047 lines of diff (skipped)
commit skiboot for openSUSE:Factory
Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2016-01-05 21:54:35 Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new (New) Package is "skiboot" Changes: --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2015-11-11 10:30:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.skiboot.new/skiboot.changes 2016-01-05 21:55:00.0 +0100 @@ -1,0 +2,24 @@ +Sat Jan 2 10:08:58 UTC 2016 - mplus...@suse.com + +- Update to 5.1.12 + * opal-prd: ++ Display an explict and obvious message if running on a + system that does not support opal-prd, such as an IBM FSP + based POWER system, where the FSP takes on the role of + opal-prd. + * pflash: ++ Fix a missing (C) header ++ cherry-picked from master. + * General: ++ Don't link with libgcc ++ On some toolchains, we don't have libgcc available. + * POWER8 PHB (PCIe) specific: ++ hw/phb3: Flush cache line after updating P/Q bits ++ When doing an MSI EOI, we update the P and Q bits in the + IVE. + * IBM FSP based machines: ++ FSP: Give up PSI link on shutdown This clears up some + erroneous SRCs (error logs) in some situations. ++ Correctly report back Real Time Clock errors to host. + +--- Old: skiboot-5.1.8.tar.gz New: skiboot-5.1.12.tar.gz Other differences: -- ++ skiboot.spec ++ --- /var/tmp/diff_new_pack.nO7LD3/_old 2016-01-05 21:55:01.0 +0100 +++ /var/tmp/diff_new_pack.nO7LD3/_new 2016-01-05 21:55:01.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package skiboot # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: skiboot -Version:5.1.8 +Version:5.1.12 Release:0 Summary:Tools for OpenPower platform License:Apache-2.0 @@ -28,8 +28,8 @@ Source2:opal-prd.socket BuildRequires: linux-glibc-devel BuildRequires: systemd-rpm-macros -%{?systemd_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{?systemd_requires} ExclusiveArch: ppc64 ppc64le %description @@ -63,11 +63,11 @@ make %{?_smp_mflags} -C external/gard/ %install -make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/opal-prd/ prefix=/usr install -make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/gard/ prefix=/usr install +make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/opal-prd/ prefix=%{_prefix} install +make install DESTDIR=%{buildroot} %{?_smp_mflags} -C external/gard/ prefix=%{_prefix} install mkdir -p %{buildroot}/%{_unitdir} -%__install -D -m 444 %{S:1} %{S:2} %{buildroot}%{_unitdir}/ +install -D -m 444 %{SOURCE1} %{SOURCE2} %{buildroot}%{_unitdir}/ %pre -n opal-prd %service_add_pre opal-prd.service opal-prd.socket @@ -85,7 +85,7 @@ %defattr(-,root,root) %doc README %{_sbindir}/opal-prd -%{_datadir}/man/man8/opal-prd.8.gz +%{_mandir}/man8/opal-prd.8.gz %{_unitdir}/opal-prd.service %{_unitdir}/opal-prd.socket @@ -93,6 +93,6 @@ %defattr(-,root,root) %doc README %{_sbindir}/opal-gard -%{_datadir}/man/man1/opal-gard.1.gz +%{_mandir}/man1/opal-gard.1.gz %changelog ++ skiboot-5.1.8.tar.gz -> skiboot-5.1.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/skiboot-skiboot-5.1.8/Makefile.main new/skiboot-skiboot-5.1.12/Makefile.main --- old/skiboot-skiboot-5.1.8/Makefile.main 2015-10-19 04:21:40.0 +0200 +++ new/skiboot-skiboot-5.1.12/Makefile.main2015-12-04 05:45:07.0 +0100 @@ -157,7 +157,6 @@ endif OBJS += $(LIBC) $(CCAN) $(DEVSRC_OBJ) OBJS_NO_VER = $(OBJS) -EXTRA_LIBS = -Wl,-lgcc ALL_OBJS = $(OBJS) version.o ALL_OBJS_1 = $(ALL_OBJS) asm/dummy_map.o @@ -167,12 +166,12 @@ $(call Q,OBJCOPY, $(OBJCOPY) -O binary -S $^ $@, $@) $(TARGET).tmp.elf: $(ALL_OBJS_1) $(TARGET).lds $(KERNEL) - $(call Q,LD, $(CC) $(LDFLAGS) -T $(TARGET).lds $(ALL_OBJS_1) $(EXTRA_LIBS) -o $@, $@) + $(call Q,LD, $(CC) $(LDFLAGS) -T $(TARGET).lds $(ALL_OBJS_1) -o $@, $@) asm/real_map.o : $(TARGET).tmp.map $(TARGET).elf: $(ALL_OBJS_2) $(TARGET).lds $(KERNEL) - $(call Q,LD, $(CC) $(LDFLAGS) -T $(TARGET).lds $(ALL_OBJS_2) $(EXTRA_LIBS) -o $@, $@) + $(call Q,LD, $(CC) $(LDFLAGS) -T $(TARGET).lds $(ALL_OBJS_2) -o $@, $@) $(SUBDIRS): $(call Q,MKDIR,mkdir $@, $@) @@ -204,8 +203,8 @@