> >>> -----Original Message----- > >>> From: [email protected] [mailto:linux-scsi- > >>> [email protected]] On Behalf Of Asutosh Das > >>> Sent: Tuesday, January 30, 2018 6:54 AM > >>> To: [email protected]; [email protected]; > >>> [email protected]; [email protected]; > >>> [email protected]; [email protected]; > >>> [email protected] > >>> Cc: [email protected]; Venkat Gopalakrishnan > >>> <[email protected]>; Asutosh Das <[email protected]>; > >>> open list <[email protected]> > >>> Subject: [PATCH 1/1] scsi: ufs: make sure all interrupts are > >>> processed > >>> > >>> From: Venkat Gopalakrishnan <[email protected]> > >>> > >>> As multiple requests are submitted to the ufs host controller in > >>> parallel there could be instances where the command completion > >>> interrupt arrives later for a request that is already processed > >>> earlier as the corresponding doorbell was cleared when handling the > >>> previous interrupt. Read the interrupt status in a loop after > >>> processing the received interrupt to catch such interrupts and > >>> handle it. > >>> > >>> Signed-off-by: Venkat Gopalakrishnan <[email protected]> > >>> Signed-off-by: Asutosh Das <[email protected]> Tested-by: [email protected]
Tested on kirin960 (mate9) and msm8998 (htc11), both where interrupt aggregation is not allowed. As a side note, I noticed that this patch is part of several patches, fixing some qcom-staff. Maybe you want to put them all in a patchset? Thanks, Avri

