diff options
| author | Alex Estrin <alex.estrin@intel.com> | 2017-07-29 18:43:20 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-07-31 22:18:37 +0300 |
| commit | 5efd40cad4bf98f0d1f6b726d67e39decd85edc9 (patch) | |
| tree | ddcd4af0836f6a0332d719aa9adc240fca7b5cfc /scripts | |
| parent | f13a6e5e2e0192737c3bdbdb16c5cc0181cc86e5 (diff) | |
| download | linux-5efd40cad4bf98f0d1f6b726d67e39decd85edc9.tar.xz | |
IB/hfi1: Harden state transition to Armed and Active
There is a window that allows other threads to read state of
'host_link_state' as a new, before the hardware actual state is set.
This patch closes the window by indicating a new state only after
hardware transition is complete.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
