summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVamshi Gajjela <vamshigajjela@google.com>2024-07-24 19:21:26 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-01 21:59:00 -0400
commitab9fd06cb8f0db0854291833fc40c789e43a361f (patch)
tree1f264e3a47565e072672af9aec25e1c00770181a /tools/perf/scripts/python/export-to-sqlite.py
parent7c632fc3ce64c05bae4addbdfa174f98d0431ca4 (diff)
downloadkernel-ab9fd06cb8f0db0854291833fc40c789e43a361f.tar.gz
scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
The ufshcd_add_delay_before_dme_cmd() always introduces a delay of MIN_DELAY_BEFORE_DME_CMDS_US between DME commands even when it's not required. The delay is added when the UFS host controller supplies the quirk UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS. Fix the logic to update hba->last_dme_cmd_tstamp to ensure subsequent DME commands have the correct delay in the range of 0 to MIN_DELAY_BEFORE_DME_CMDS_US. Update the timestamp at the end of the function to ensure it captures the latest time after any necessary delay has been applied. Signed-off-by: Vamshi Gajjela <vamshigajjela@google.com> Link: https://lore.kernel.org/r/20240724135126.1786126-1-vamshigajjela@google.com Fixes: cad2e03d8607 ("ufs: add support to allow non standard behaviours (quirks)") Cc: stable@vger.kernel.org Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
96eacdf71959fc6a9'>media: vpfe_capture: remove deprecated davinci driversHans Verkuil 2023-01-22media: zr364xx: remove deprecated driverHans Verkuil 2023-01-22media: stkwebcam: remove deprecated driverHans Verkuil 2023-01-22media: fsl-viu: remove deprecated driverHans Verkuil 2023-01-22media: cpia2: remove deprecated driverHans Verkuil 2023-01-22media: meye: remove this deprecated driverHans Verkuil 2022-12-07media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependenciesGeert Uytterhoeven 2022-11-25media: atmel: atmel-isc: move to stagingEugen Hristev 2022-08-30media: tm6000: Fix unused value in vidioc_try_fmt_vid_cap()Zeng Jingxiang 2022-08-29media: av7110: move to staging/media/deprecated/saa7146Hans Verkuil 2022-08-29media: saa7146: deprecate hexium_gemini/orion, mxb and ttpciHans Verkuil 2022-08-29media: davinci: deprecate dm644x_ccdc, dm355_cddc and dm365_isifHans Verkuil 2022-08-29media: fsl-viu: deprecate this driverHans Verkuil 2022-08-29media: tm6000: deprecate this driverHans Verkuil 2022-08-29media: zr364xx: deprecate this driverHans Verkuil 2022-08-29media: meye: deprecate this driverHans Verkuil 2022-08-29media: cpia2: deprecate this driverHans Verkuil 2022-08-29media: staging/media: add a STAGING_MEDIA_DEPRECATED optionHans Verkuil