diff options
author | Kelvin Cao <kelvin.cao@microchip.com> | 2018-12-10 12:12:20 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-12-13 01:30:03 +0300 |
commit | 526180408b815aa7b96fd48bd23cdd33ef04e38e (patch) | |
tree | 35e3b8150d4ad8da5e6d9e41b030f02c3e96b896 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
download | linux-526180408b815aa7b96fd48bd23cdd33ef04e38e.tar.xz |
switchtec: Remove immediate status check after submitting MRPC command
After submitting a Firmware Download MRPC command, Switchtec firmware will
delay Management EP BAR MemRd TLP responses by more than 10ms. This is a
firmware limitation. Delayed MemRd completions are a problem for systems
with a low Completion Timeout (CTO).
The current driver checks the MRPC status immediately after submitting an
MRPC command, which results in a delayed MemRd completion that may cause a
Completion Timeout.
Remove the immediate status check and rely on the check after receiving an
interrupt or timing out.
This is only a software workaround to the READ issue and a proper fix of
this should be done in firmware.
Fixes: 080b47def5e5 ("MicroSemi Switchtec management interface driver")
Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com>
Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions