mbox series

[v2,0/3] ufs: Fix a race between the interrupt handler and the reset handler

Message ID 20220613214442.212466-1-bvanassche@acm.org
Headers show
Series ufs: Fix a race between the interrupt handler and the reset handler | expand

Message

Bart Van Assche June 13, 2022, 9:44 p.m. UTC
Hi Martin,

This patch series is version two of a fix between the UFS interrupt handler and
reset handlers. Please consider this patch series for kernel v5.20.

Changes compared to v1:
- Converted a single patch into three patches.
- Modified patch 3/3 such that only cleared requests are completed.

Bart Van Assche (3):
  scsi: ufs: Simplify ufshcd_clear_cmd()
  scsi: ufs: Support clearing multiple commands at once
  scsi: ufs: Fix a race between the interrupt handler and the reset
    handler

 drivers/ufs/core/ufshcd.c | 76 ++++++++++++++++++++++++---------------
 1 file changed, 48 insertions(+), 28 deletions(-)

Comments

Martin K. Petersen June 17, 2022, 2:20 a.m. UTC | #1
On Mon, 13 Jun 2022 14:44:39 -0700, Bart Van Assche wrote:

> This patch series is version two of a fix between the UFS interrupt handler and
> reset handlers. Please consider this patch series for kernel v5.20.
> 
> Changes compared to v1:
> - Converted a single patch into three patches.
> - Modified patch 3/3 such that only cleared requests are completed.
> 
> [...]

Applied to 5.19/scsi-fixes, thanks!

[1/3] scsi: ufs: Simplify ufshcd_clear_cmd()
      https://git.kernel.org/mkp/scsi/c/da8badd7d358
[2/3] scsi: ufs: Support clearing multiple commands at once
      https://git.kernel.org/mkp/scsi/c/d1a7644648b7
[3/3] scsi: ufs: Fix a race between the interrupt handler and the reset handler
      https://git.kernel.org/mkp/scsi/c/2acd76e7b859