]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Rework ufshcd_eh_device_reset_handler()
authorBart Van Assche <bvanassche@acm.org>
Fri, 31 Oct 2025 20:39:24 +0000 (13:39 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Nov 2025 22:02:32 +0000 (17:02 -0500)
commitf18fac1e2b729d3bdeb41b946d90b57f3515f438
treef5102e076c5e44e3ce72ae6c59b70b1f7fdcb40c
parent63a5b959c854c33f280533eedd27bd3489e2b704
scsi: ufs: core: Rework ufshcd_eh_device_reset_handler()

Merge the MCQ mode and legacy mode loops into a single loop. This patch
prepares for optimizing the hot path by removing the direct hba->lrb[]
accesses from ufshcd_eh_device_reset_handler().

Reviewed-by: Avri Altman <avri.altman@sandisk.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251031204029.2883185-17-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c