diff options
| author | Stanley Chu <[email protected]> | 2019-12-07 20:22:00 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-12-19 22:08:54 -0500 |
| commit | dcb6cec508277807f57422dc07084e3a78890946 (patch) | |
| tree | b4781c91d8fc778a8eb3d942dc59279d5bd88555 /tools/perf/scripts/python | |
| parent | dc30c9e6d67f9edb02d543e1f213f3250bfa3a78 (diff) | |
scsi: ufs: disable irq before disabling clocks
During suspend flow, interrupt shall be disabled before disabling clocks to
avoid potential system hang due to accessing host registers after host
clocks are disabled.
For example, if an interrupt comes with IRQF_IRQPOLL flag configured with
the misrouted interrupt recovery feature enabled, ufshcd ISR may be
triggered even if nothing shall be done for UFS. In this case, system hang
may happen if UFS interrupt status register is accessed with host clocks
disabled.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Signed-off-by: Stanley Chu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions