From patchwork Fri May 31 06:13:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stewart Smith X-Patchwork-Id: 1108111 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45FZKy38jQz9s00 for ; Fri, 31 May 2019 16:29:26 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45FZKy21FKzDqK6 for ; Fri, 31 May 2019 16:29:26 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=stewart@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45FZ0N3Ky3zDqYd for ; Fri, 31 May 2019 16:14:12 +1000 (AEST) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4V674wW066702 for ; Fri, 31 May 2019 02:14:09 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 2stxqh8779-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 31 May 2019 02:14:08 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 31 May 2019 07:14:08 +0100 Received: from b03cxnp07029.gho.boulder.ibm.com (9.17.130.16) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 31 May 2019 07:14:05 +0100 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x4V6E4B430408728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 31 May 2019 06:14:04 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 97E9AC605F for ; Fri, 31 May 2019 06:14:04 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3540EC605D for ; Fri, 31 May 2019 06:14:04 +0000 (GMT) Received: from birb.localdomain (unknown [9.185.142.91]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP for ; Fri, 31 May 2019 06:14:04 +0000 (GMT) Received: by birb.localdomain (Postfix, from userid 1000) id 89615507BD9; Fri, 31 May 2019 16:13:57 +1000 (AEST) From: Stewart Smith To: skiboot@lists.ozlabs.org Date: Fri, 31 May 2019 16:13:04 +1000 X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190531061351.22973-1-stewart@linux.ibm.com> References: <20190531061351.22973-1-stewart@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 19053106-0036-0000-0000-00000AC51852 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011189; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000286; SDB=6.01211088; UDB=6.00636340; IPR=6.00992124; MB=3.00027126; MTD=3.00000008; XFM=3.00000015; UTC=2019-05-31 06:14:06 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19053106-0037-0000-0000-00004C02147D Message-Id: <20190531061351.22973-64-stewart@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-31_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=13 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905310040 Subject: [Skiboot] [PATCH 063/110] doc: Add missing skiboot-5.0 release notes X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Signed-off-by: Stewart Smith --- doc/opal-api/index.rst | 12 +-- doc/release-notes/skiboot-5.0.rst | 145 ++++++++++++++++++++++++++++++ 2 files changed, 151 insertions(+), 6 deletions(-) create mode 100644 doc/release-notes/skiboot-5.0.rst diff --git a/doc/opal-api/index.rst b/doc/opal-api/index.rst index 3816113b788b..45280512b1ef 100644 --- a/doc/opal-api/index.rst +++ b/doc/opal-api/index.rst @@ -236,17 +236,17 @@ The OPAL API is the interface between an Operating System and OPAL. +---------------------------------------------+--------------+------------------------+----------+-----------------+ | :ref:`OPAL_I2C_REQUEST` | 109 | :ref:`skiboot-4.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ -| :ref:`OPAL_FLASH_READ` | 110 | v5.0 | POWER9 | | +| :ref:`OPAL_FLASH_READ` | 110 | :ref:`skiboot-5.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ -| :ref:`OPAL_FLASH_WRITE` | 111 | v5.0 | POWER9 | | +| :ref:`OPAL_FLASH_WRITE` | 111 | :ref:`skiboot-5.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ -| :ref:`OPAL_FLASH_ERASE` | 112 | v5.0 | POWER9 | | +| :ref:`OPAL_FLASH_ERASE` | 112 | :ref:`skiboot-5.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ -| :ref:`OPAL_PRD_MSG` | 113 | v5.0 | POWER9 | | +| :ref:`OPAL_PRD_MSG` | 113 | :ref:`skiboot-5.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ -| :ref:`OPAL_LEDS_GET_INDICATOR` | 114 | v5.0 | POWER9 | | +| :ref:`OPAL_LEDS_GET_INDICATOR` | 114 | :ref:`skiboot-5.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ -| :ref:`OPAL_LEDS_SET_INDICATOR` | 115 | v5.0 | POWER9 | | +| :ref:`OPAL_LEDS_SET_INDICATOR` | 115 | :ref:`skiboot-5.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ | :ref:`OPAL_CEC_REBOOT2` | 116 | :ref:`skiboot-5.1.0` | POWER9 | | +---------------------------------------------+--------------+------------------------+----------+-----------------+ diff --git a/doc/release-notes/skiboot-5.0.rst b/doc/release-notes/skiboot-5.0.rst new file mode 100644 index 000000000000..0a62546ef359 --- /dev/null +++ b/doc/release-notes/skiboot-5.0.rst @@ -0,0 +1,145 @@ +.. _skiboot-5.0: + +=========== +skiboot 5.0 +=========== + +Skiboot 5.0 was released Friday 10th April 2015. + +Changes in 5.0 (since rc3): + + - Fix chip id for nx coprocessors. + - hw/ipmi: Fix FW Boot Progress sensor + - bt: Add a temporary workaround for bmc dropping messages + - FSP/CUPD: Fix lock issue + +Changes in rc3 (since rc2): + + - add support for cec_power_down on mambo + - external/opal-prd: Use link register for cross-endian branch + - opal header file rework, Linux and skiboot now very closely match (API + in opal-api.h) + - libflash: don't use the low level interface if it doesn't exist + - libflash/file: add file abstraction for libflash + - external: create a GUARD partition parsing utility + +Changes in rc2 (since rc1): + + - opal: Fix an issue where partial LID load causes opal to hang. + - nx: use proc_gen instead of param + - use chip id for NX engine Coproc Instance num + - Fix (hopefully) missing dot symbols in skiboot.map + - exceptions: Catch exceptions at boot time + - exceptions: Remove deprecated exception patching stuff + - mambo: Make mambo_utils.tcl optional + - mambo: Exit mambo when the simulation is stopped + - add NX register defines + - set NX crb input queues to 842 only + - core: Catch attempts to branch through a NULL pointer + - plat/firestone: Add missing platform hooks + - plat/firestone: Add missing platform hooks + - elog: Don't call uninitialized platform elog_commit + - external/opal-prd: Use "official" switch-endian syscall + - hw/ipmi: Rework sensors and fix boot count sensor + +Changes in rc1 (since 4.1.1): + +General: + + * big OPAL API documentation updates + We now document around 19 OPAL calls. There's still ~100 left to doc + though :) + * skiboot can load FreeBSD kernel payload (thanks to Nathan Whitehorn) + * You can now run sparse by setting C=1 when building + * PSI: Revert the timeout for PSI link recovery to architected value + now 30mins (prev 15) + * cpuidle: Add validated metrics for idle states + * core/flash: Add flash API + OPAL_FLASH_(READ|WRITE|ERASE) + * capi: Dynamically calculate which CAPP port to use + no longer hardwired to PHB0 + * vpd: Use slca parent-child relationship to create vpd tree + * opal: Do not overwrite same HMI event for multiple HMI errors. + Now Linux will get a HMI event for each HMI error + * HMI event v2 now includes information about checkstop + * HMI improvements, handle more conditions gracefully: + + * TB residue error + * TFMR firmware control error + * TFMR parity + * TFMR HDEC parity error + * TFMR DEC parity error + * TFMR SPURR/PURR parity error + * TB residue and HDEC parity HMI errors on split core + * hostservices: Cache lids prior to first load request + * Warn when pollers are called with a lock held + and keep track of lock depth. + + **NOTE:** This means we will get backtraces in skiboot msglog on FSP machines + This is a KNOWN ISSUE and is largely harmless. + There's still a couple that we haven't yet cleaned, these + messages can be thought of as a TODO list for developers. + + * Don't run pollers in time_wait if lock held + * pci: Don't hang if we have only one CPU + * Detect recursive poller entry + * General cleanup + * Cleanup of opal.h so that we can have Linux and skiboot match + * add sparse annotations to opal.h + * Platform hooks for loading and preloading resources (LIDs) + This lays the groundwork for cutting 4-20 seconds off boot in a + future skiboot release. + * Fix potential race when clearing OCC interrupt status + * Add platform operation for reading sensors + + * add support to read core and memory buffer temperatures + +Mambo/POWER8 Functional Simulator: + + * Replace is_mambo_chip() with a better quirks mechanism. + * Don't hang if we only have one CPU and PCI. + +BMC systems: + + * BMC can load payload from flash + * IPMI on BMC systems: graceful poweroff and reboot + * IPMI on BMC systems: watchdog timer support + * IPMI on BMC systems: PNOR locking + * Support for IPMI progress sensor + * IPMI boot count sensor + * capi: Rework microcode flash download and CAPP upload + load microcode on non-fsp systems + * NEW opal-prd userspace tool that handles PRD on non-FSP systems. + and OPAL PRD calls to support it. + * Improvements to opal-prd, libflash, and ipmi + * ECC support in libflash + * Load CAPI micro code, enabling CAPI on OpenPower systems. + * Dynamically calculate which CAPP port to use, don't hardcode to PHB0 + * memboot flash backend + +POWER8 + + * add nx-842 coproc support + +FSP systems: + + * Make abort() update sp attn area (like assert does) + On FSP systems this gives better error logs/dumps when abort() is hit + * FSP/LEDS: Many improvements and bug fixes + * LED support for FSP machines + Adds OPAL_LEDS_(GET|SET)_INDICATOR and device-tree bindings + * Refactor of fsp-rtc + * OCC loading fixes, including possible race condition where we would + fail to IPL. + +POWER7 + + * Fix unsupported return code of OPAL_(UN)REGISTER_DUMP_REGION on P7 + * occ: Don't do bad XSCOMs on P7 + The OCC interrupt register only exists on P8, accessing it on P7 causes + not only error logs but also causes PRD to eventually gard chips. + * cpu: Handle opal_reinit_cpus() more gracefully on P7 + no longer generate error logs + * libflash updates for openpower + * misc code cleanup + * add nx-842 coproc support