diff options
author | Jinyoung Choi <[email protected]> | 2022-08-04 16:54:44 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-08-22 23:15:11 -0400 |
commit | 42f8c5cdb039f93f8d20f3e299aa6436775ee9d6 (patch) | |
tree | 10b2f00449ccd47b1e16ee2a90f76dbbe4d2d725 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 6c4148ce7cc1d80cef60242a97b25c83c844e68c (diff) |
scsi: ufs: wb: Introduce ufshcd_is_wb_buf_flush_allowed()
The explicit flushing should check the following:
- UFSHCD_CAP_WB_EN
- UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
Add helper to improve readability.
Link: https://lore.kernel.org/r/20220804075444epcms2p4a0520880262281f02be65ce0fe50602d@epcms2p4
Reviewed-by: Avri Altman <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Stanley Chu <[email protected]>
Acked-by: Bean Huo <[email protected]>
Signed-off-by: Jinyoung Choi <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions