Revisions of skiboot

buildservice-autocommit accepted request 840107 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 47)
baserev update by copy to link target
Michal Suchanek's avatar Michal Suchanek (michals) accepted request 840105 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 46)
- Change the %build_firmware to build on 15 SP3

- 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)
buildservice-autocommit accepted request 812962 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 45)
baserev update by copy to link target
Michal Suchanek's avatar Michal Suchanek (michals) accepted request 812942 from michel_mno's avatar michel_mno (revision 44)
- 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
buildservice-autocommit accepted request 724840 from michel_mno's avatar michel_mno (revision 43)
baserev update by copy to link target
michel_mno's avatar michel_mno accepted request 724839 from michel_mno's avatar michel_mno (revision 42)
- version update from 6.2.2 to 6.5
- details release notes:
  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: hardware/skiboot
new: home:michel_mno:branches:hardware/skiboot rev None
Index: _service
===================================================================
--- _service (revision 41)
+++ _service (revision 2)
@@ -4,8 +4,8 @@
                 <param name="url">https://github.com/open-power/skiboot</param>
                 <param name="subdir"></param>
                 <param name="filename">skiboot</param>
-                <param name="version">6.2.2</param>
-                <param name="revision">v6.2.2</param>
+                <param name="version">6.5</param>
+                <param name="revision">v6.5</param>
         </service>
         <service name="recompress" mode="disabled">
                  <param name="file">*skiboot*.tar</param>
Index: skiboot.changes
===================================================================
--- skiboot.changes (revision 41)
+++ skiboot.changes (revision 2)
@@ -1,4 +1,52 @@
 -------------------------------------------------------------------
+Tue Aug 20 13:34:49 UTC 2019 - Michel Normand <normand@linux.vnet.ibm.com>
+
+- 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
+
+-------------------------------------------------------------------
 Tue Jul 23 08:18:39 UTC 2019 - Michal Suchanek <msuchanek@suse.de>
 
 - Fix aligment error with gcc9.
Index: skiboot.spec
===================================================================
--- skiboot.spec (revision 41)
+++ skiboot.spec (revision 2)
@@ -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
Index: skiboot-6.5.tar.gz
===================================================================
Binary file skiboot-6.5.tar.gz (revision 2) added
Index: errorlog-Prevent-alignment-error-buiding-with-gcc9.patch
===================================================================
--- errorlog-Prevent-alignment-error-buiding-with-gcc9.patch (revision 41)
+++ errorlog-Prevent-alignment-error-buiding-with-gcc9.patch (deleted)
@@ -1,33 +0,0 @@
-From a3d976ddfd376cd1c5b6ae7aa3c5e7139a5a4032 Mon Sep 17 00:00:00 2001
-From: Michal Suchanek <msuchanek@suse.de>
-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(&log_data->link);
-[ 52s] | ^~~~~~~~~~~~~~~
-
-Fixes: https://github.com/open-power/skiboot/issues/247
-Signed-off-by: Michal Suchanek <msuchanek@suse.de>
----
- 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
-
Index: hdata-vpd-fix-printing-char-0x00.patch
===================================================================
--- hdata-vpd-fix-printing-char-0x00.patch (revision 41)
+++ hdata-vpd-fix-printing-char-0x00.patch (deleted)
@@ -1,65 +0,0 @@
-From ba977f2e4406f9de318afcdf5d666e77585ef269 Mon Sep 17 00:00:00 2001
-From: Stewart Smith <stewart@linux.ibm.com>
-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 <stewart@linux.ibm.com>
----
- 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,
- 			   const void *fruvpd, unsigned int fruvpd_sz)
- {
- 	const void *kw;
-+	const char *desc;
- 	uint8_t sz;
- 	const struct card_info *cinfo;
- 
-@@ -381,15 +382,15 @@ static void vpd_vini_parse(struct dt_node *node,
- 			dt_add_property_string(node,
- 				       "description", cinfo->description);
- 		} else {
--			kw = vpd_find(fruvpd, fruvpd_sz, "VINI", "DR", &sz);
--			if (kw) {
-+			desc = vpd_find(fruvpd, fruvpd_sz, "VINI", "DR", &sz);
-+			if (desc) {
- 				dt_add_prop_sanitize_val(node,
--						     "description", kw, sz);
-+						     "description", desc, sz);
- 			} else {
- 				dt_add_property_string(node, "description", "Unknown");
- 				prlog(PR_WARNING,
- 				      "VPD: CCIN desc not available for: %s\n",
--				      (char *)kw);
-+				      (char*)kw);
- 			}
- 		}
- 	}
--- 
-2.22.0
-
Index: libffs-fix-string-truncation.patch
===================================================================
--- libffs-fix-string-truncation.patch (revision 41)
+++ libffs-fix-string-truncation.patch (deleted)
@@ -1,28 +0,0 @@
-From 5fec7d177967d8af60dba7f7e0d821d9c0245031 Mon Sep 17 00:00:00 2001
-From: Michal Suchanek <msuchanek@suse.de>
-Date: Fri, 25 Jan 2019 12:54:12 +0100
-Subject: [PATCH] libffs: Fix string truncation gcc warning.
-
-Use memcpy as other libffs functions do.
-
-Signed-off-by: Michal Suchanek <msuchanek@suse.de>
----
- libflash/libffs.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libflash/libffs.c b/libflash/libffs.c
-index 221c2b024c10..82caeb39f890 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);
-+		memcpy(n, ent->name, FFS_PART_NAME_MAX);
- 		*name = n;
- 	}
- 	return 0;
--- 
-2.20.1
-
Index: skiboot-6.2.2.tar.gz
===================================================================
Binary file skiboot-6.2.2.tar.gz (revision 41) deleted
Index: struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch
===================================================================
--- struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch (revision 41)
+++ struct-p9_sbe_msg-doesn-t-need-to-be-packed.patch (deleted)
@@ -1,40 +0,0 @@
-From cb6dd64dd607c88897b3332e0fdebc24c0a0a590 Mon Sep 17 00:00:00 2001
-From: Stewart Smith <stewart@linux.ibm.com>
-Date: Tue, 18 Jun 2019 15:48:48 +1000
-Subject: [PATCH] struct p9_sbe_msg doesn't need to be packed
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-[ Upstream commit ef691db3533742d9dd6eed1a311472a7c52be94b ]
-
-Only the reg member is sent anywhere (via xscom_write), so the structure
-does not need to be packed.
-
-Fixes GCC9 build problem:
-hw/sbe-p9.c: In function ‘p9_sbe_msg_send’:
-hw/sbe-p9.c:270:9: error: taking address of packed member of ‘struct p9_sbe_msg’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
-  270 |  data = &msg->reg[0];
-      |         ^~~~~~~~~~~~
-
-Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
----
- include/sbe-p9.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/sbe-p9.h b/include/sbe-p9.h
-index 4b839d8ba22b..5ad0422ac91a 100644
---- a/include/sbe-p9.h
-+++ b/include/sbe-p9.h
-@@ -205,7 +205,7 @@ struct p9_sbe_msg {
- 
- 	/* Internal queuing */
- 	struct list_node	link;
--} __packed;
-+};
- 
- 
- /* Allocate and populate p9_sbe_msg structure */
--- 
-2.22.0
-
buildservice-autocommit accepted request 717849 from michel_mno's avatar michel_mno (revision 41)
baserev update by copy to link target
michel_mno's avatar michel_mno accepted request 717807 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 40)
- 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
buildservice-autocommit accepted request 684774 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 39)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 684770 from michel_mno's avatar michel_mno (revision 38)
- 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
buildservice-autocommit accepted request 678040 from michel_mno's avatar michel_mno (revision 37)
baserev update by copy to link target
michel_mno's avatar michel_mno accepted request 674520 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 36)
- Trim those %if..%endif guards that do not affect the build
  result.
- Use %make_install.
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 677781 from michel_mno's avatar michel_mno (revision 35)
- 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
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 674484 from michel_mno's avatar michel_mno (revision 34)
- 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
buildservice-autocommit accepted request 673570 from michel_mno's avatar michel_mno (revision 33)
baserev update by copy to link target
michel_mno's avatar michel_mno accepted request 673424 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 32)
- Fix opal-prd crash when building with -pie (bsc#1124931).
  - add opal-prd-Fix-opal-prd-crash.patch
buildservice-autocommit accepted request 670296 from michel_mno's avatar michel_mno (revision 31)
baserev update by copy to link target
michel_mno's avatar michel_mno accepted request 670072 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 30)
- skiboot.lid conflicts with qemu which is not allowed in backports so build
  opal-firmware on OpenSUSE only (bsc#1123072).
buildservice-autocommit accepted request 669000 from michel_mno's avatar michel_mno (revision 29)
baserev update by copy to link target
michel_mno's avatar michel_mno accepted request 668627 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 28)
- Fix build on Tumbleweed.
  - add hdata-i2c.c-fix-building-with-gcc8.patch
  - add libffs-fix-string-truncation.patch
Displaying revisions 1 - 20 of 47
openSUSE Build Service is sponsored by