Stewart Smith | 28b0ca5 | 2018-08-16 19:46:03 +1000 | [diff] [blame] | 1 | Release Notes for OpenPower Firmware v2.0.9 |
| 2 | =========================================== |
| 3 | |
| 4 | op-build v2.0.9 was released on Thursday August 16th, 2018 and replaces op-build v2.0.8 as the current stable release in |
| 5 | the 2.0.x series. |
| 6 | |
| 7 | It is recommended that v2.0.9 be used over any previous v2.0.x version on POWER9 systems due to the bug fixes contained within. |
| 8 | |
| 9 | The only update in this release is to skiboot. Skiboot v6.0.8 includes the following bug fixes: |
Stewart Smith | 3fabf73 | 2018-12-11 13:23:23 +1100 | [diff] [blame] | 10 | |
Stewart Smith | 28b0ca5 | 2018-08-16 19:46:03 +1000 | [diff] [blame] | 11 | - i2c: Ensure ordering between i2c_request_send() and completion |
| 12 | |
| 13 | i2c_request_send loops waiting for a flag "uc.done" set by |
| 14 | the completion routine, and then look for a result code |
| 15 | also set by that same completion. |
| 16 | |
| 17 | There is no synchronization, the completion can happen on another |
| 18 | processor, so we need to order the stores to uc and the reads |
| 19 | from uc so that uc.done is stored last and tested first using |
| 20 | memory barriers. |
| 21 | - i2c: Fix multiple-enqueue of the same request on NACK |
| 22 | |
| 23 | i2c_request_send() will retry the request if the error is a NAK, |
| 24 | however it forgets to clear the "ud.done" flag. It will thus |
| 25 | loop again and try to re-enqueue the same request causing internal |
| 26 | request list corruption. |
| 27 | - phb4: Disable 32-bit MSI in capi mode |
| 28 | |
| 29 | If a capi device does a DMA write targeting an address lower than 4GB, |
| 30 | it does so through a 32-bit operation, per the PCI spec. In capi mode, |
| 31 | the first TVE entry is configured in bypass mode, so the address is |
| 32 | valid. But with any (bad) luck, the address could be 0xFFFFxxxx, thus |
| 33 | looking like a 32-bit MSI. |
| 34 | |
| 35 | We currently enable both 32-bit and 64-bit MSIs, so the PHB will |
| 36 | interpret the DMA write as a MSI, which very likely results in an EEH |
| 37 | (MSI with a bad payload size). |
| 38 | |
| 39 | We can fix it by disabling 32-bit MSI when switching the PHB to capi |
| 40 | mode. Capi devices are 64-bit. |
| 41 | |
| 42 | - capp: Fix the capp recovery timeout comparison |
| 43 | |
| 44 | The current capp recovery timeout control loop in |
| 45 | do_capp_recovery_scoms() uses a wrong comparison for return value of |
| 46 | tb_compare(). This may cause do_capp_recovery_scoms() to report an |
| 47 | timeout earlier than the 168ms stipulated time. |
| 48 | |
| 49 | The patch fixes this by updating the loop timeout control branch in |
| 50 | do_capp_recovery_scoms() to use the correct enum tb_cmpval. |
| 51 | - phb4/capp: Update DMA read engines set in APC_FSM_READ_MASK based on link-width |
| 52 | |
| 53 | Commit 47c09cdfe7a3("phb4/capp: Calculate STQ/DMA read engines based |
| 54 | on link-width for PEC") update the CAPP init sequence by calculating |
| 55 | the needed STQ/DMA-read engines based on link width and populating it |
| 56 | in XPEC_NEST_CAPP_CNTL register. This however needs to be synchronized |
| 57 | with the value set in CAPP APC FSM Read Machine Mask Register. |
| 58 | |
| 59 | Hence this patch update phb4_init_capp_regs() to calculate the link |
| 60 | width of the stack on PEC2 and populate the same values as previously |
| 61 | populated in PEC CAPP_CNTL register. |
| 62 | |
| 63 | - core/cpu: Call memset with proper cpu_thread offset |
| 64 | |
| 65 | |