diff options
author | Mike McGowen <[email protected]> | 2022-07-08 13:47:05 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-07-13 23:42:03 -0400 |
commit | 297bdc540f0e391568788f8ece3020653748a26f (patch) | |
tree | f78b117198c690a723fa7dd62efbd7fe3b6b177c /tools/perf/scripts/python/sctop.py | |
parent | dab5378485f601174a297a069d040ffb92918bf5 (diff) |
scsi: smartpqi: Close write read holes
Insert a minimum 1 millisecond delay after writing to a register before
reading from it.
SIS and PQI registers that can be both written to and read from can return
stale data if read from too soon after having been written to.
There is no read/write ordering or hazard detection on the inbound path to
the MSGU from the PCIe bus, therefore reads could pass writes.
Link: https://lore.kernel.org/r/165730602555.177165.11181012469428348394.stgit@brunhilda
Reviewed-by: Scott Teel <[email protected]>
Signed-off-by: Mike McGowen <[email protected]>
Co-developed-by: Kevin Barnett <[email protected]>
Signed-off-by: Kevin Barnett <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions