diff options
| author | Qi Liu <[email protected]> | 2021-12-15 22:37:40 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-16 22:59:58 -0500 |
| commit | 37310bad7fa645b21653fd7f13cb6b376d80c919 (patch) | |
| tree | 774f660e0d8d6cebe29a100f126cc2b944e8d962 /scripts/stackusage | |
| parent | 16775db613c2bdea09705dcb876942c0641a1098 (diff) | |
scsi: hisi_sas: Fix phyup timeout on FPGA
The OOB interrupt and phyup interrupt handlers may run out-of-order in high
CPU usage scenarios. Since the hisi_sas_phy.timer is added in
hisi_sas_phy_oob_ready() and disarmed in phy_up_v3_hw(), this out-of-order
execution will cause hisi_sas_phy.timer timeout to trigger.
To solve, protect hisi_sas_phy.timer and .attached with a lock, and ensure
that the timer won't be added after phyup handler completes.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Qi Liu <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions