PSL data cache should be flushed before resetting CAPI adapter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Tim Gardner | ||
Xenial |
Fix Released
|
Undecided
|
Tim Gardner | ||
Yakkety |
Fix Released
|
Undecided
|
Tim Gardner |
Bug Description
---Problem Description---
The PSL data cache should be flushed before resetting a CAPI adapter.
If the PSL data cache holds dirty cache line when it is reset, the host trying to access that memory when the link is down may face a Uncorrectable Error (UE), forcing a reboot of the system.
---uname output---
Linux freak 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:40:06 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
---Additional Hardware Info---
CAPI adapter needed + AFU image using the PSL cache (e.g. afu_directed memcpy)
Machine Type = Tuleta
---Steps to Reproduce---
There's some randomness to it, but triggering a memcpy test + card reset in a loop can produce it:
memcpy_afu_ctx -p100 -l1000
echo 1 > /sys/class/
Fix is already upstream under commit ID:
aaa2245ed836824
"cxl: Flush PSL cache before resetting the adapter"
We would like the fix released for both 16.04 and 16.10 please.
CVE References
tags: | added: architecture-ppc64le bugnameltc-147421 severity-medium targetmilestone-inin16041 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Yakkety): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
tags: |
added: verification-done-yakkety removed: verification-needed-yakkety |
tags: | added: cscc |
https:/ /lists. ubuntu. com/archives/ kernel- team/2016- October/ 080298. html