> >>> -----Original Message----- > >>> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > >>> ow...@vger.kernel.org] On Behalf Of Asutosh Das > >>> Sent: Tuesday, January 30, 2018 6:54 AM > >>> To: subha...@codeaurora.org; c...@codeaurora.org; > >>> vivek.gau...@codeaurora.org; rna...@codeaurora.org; > >>> vinholika...@gmail.com; j...@linux.vnet.ibm.com; > >>> martin.peter...@oracle.com > >>> Cc: linux-s...@vger.kernel.org; Venkat Gopalakrishnan > >>> <venk...@codeaurora.org>; Asutosh Das <asuto...@codeaurora.org>; > >>> open list <linux-kernel@vger.kernel.org> > >>> Subject: [PATCH 1/1] scsi: ufs: make sure all interrupts are > >>> processed > >>> > >>> From: Venkat Gopalakrishnan <venk...@codeaurora.org> > >>> > >>> 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 <venk...@codeaurora.org> > >>> Signed-off-by: Asutosh Das <asuto...@codeaurora.org> Tested-by: avri.alt...@wdc.com
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