1.. _skiboot-5.9-rc5: 2 3skiboot-5.9-rc5 4=============== 5 6skiboot v5.9-rc5 was released on Monday October 23rd 2017 approximately 732,000ft above somewhere north of Tucson, Arizona. It is the fifth 8release candidate of skiboot 5.9, which will become the new stable release 9of skiboot following the 5.8 release, first released August 31st 2017. 10 11skiboot v5.9-rc5 contains all bug fixes as of :ref:`skiboot-5.4.8` 12and :ref:`skiboot-5.1.21` (the currently maintained stable releases). We 13do not currently expect to do any 5.8.x stable releases. 14 15For how the skiboot stable releases work, see :ref:`stable-rules` for details. 16 17The current plan is to cut the final 5.9 very shortly, with skiboot 5.9 18being for all POWER8 and POWER9 platforms in op-build v1.20 (Due October 18th, 19so we're running a bit behind there). 20This release will be targetted to early POWER9 systems. 21 22Over :ref:`skiboot-5.9-rc3`, we have the following changes: 23 24- opal/hmi: Workaround Power9 hw logic bug for couple of TFMR TB errors. 25- opal/hmi: Fix TB reside and HDEC parity error recovery for power9 26- phb4: Escalate freeze to fence to avoid checkstop 27 28 Freeze events such as MMIO loads can cause the PHB to lose it's 29 limited powerbus credits. If all credits are used and a further MMIO 30 will cause a checkstop. 31 32 To work around this, we escalate the troublesome freeze events to a 33 fence. The fence will cause a full PHB reset which resets the powerbus 34 credits and avoids the checkstop. 35- phb4: Update some init registers 36 37 New inits based on next PHB4 workbook. Increases some timeouts to 38 avoid some spurious error conditions. 39- phb4: Enable PHB MMIO in phb4_root_port_init() 40 41 Linux EEH flow is somewhat broken. It saves the PCIe config space of 42 the PHB on boot, which it then uses to restore on EEH recovery. It 43 does this to restore MMIO bars and some other pieces. 44 45 Unfortunately this save is done before any drivers are bound to 46 devices under the PHB. A number of other things are configured in the 47 PHB after drivers start, hence some configuration space settings 48 aren't saved correctly. These include bus master and MMIO bits in the 49 command register. 50 51 Linux tried to hack around this in this linux commit 52 ``bf898ec5cb`` powerpc/eeh: Enable PCI_COMMAND_MASTER for PCI bridges 53 This sets the bus master bit but ignores the MMIO bit. 54 55 Hence we lose MMIO after a full PHB reset. This causes the next MMIO 56 access to the device to fail and for us to perform a PE freeze 57 recovery, which still doesn't set the MMIO bit and hence we still 58 fail. 59 60 This works around this by forcing MMIO on during 61 phb4_root_port_init(). 62 63 With this we can recovery from a PHB fence event on POWER9. 64- phb4: Reduce link degraded message log level to debug 65 66 If we hit this message we'll retry and fix the problem. If we run out 67 of retries and can't fix the problem, we'll still print a log message 68 at error level indicating a problem. 69- phb4: Fix GEN3 for DD2.00 70 71 In this fix: ``62ac7631ae`` "phb4: Fix PCIe GEN4 on DD2.1 and above", 72 We fixed DD2.1 GEN4 but broke DD2.00 as GEN3. 73 74 This fixes DD2.00 back to GEN3. This time for sure! 75