Thread (10 messages) flat view 10 messages, 5 authors, 2016-11-22

Re: [PATCH 2/2] cxl: Set VPD timeout to avoid access failures

From: Frederic Barrat <hidden>
Date: 2016-11-22 17:41:30
Also in: linux-pci


Le 21/11/2016 à 22:10, Matthew R. Ochs a écrit :
Some IBM CXL devices can take up to ~120ms to complete a VPD access
transaction when under heavy load. With an existing default VPD timeout
of 50ms, reads/writes can fail despite there not being an issue with the
underlying hardware.

To avoid these false failures, increase the VPD wait timeout for certain
CXL devices to a value that allows appropriate VPD access delay when faced
with a worst-case scenario.

Signed-off-by: Matthew R. Ochs <redacted>
---
If the new pci API gets in, then I'm ok with the cxl change, at least 
for now. For longer term, we should consider opening up the cxl kernel 
API to give access to the new pci API so that it can be tuned by the AFU 
driver directly, since it would know better than cxl what the proper vpd 
access timeout should be.

Acked-by: Frederic Barrat <redacted>

   Fred
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help