All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi/ufs: Cherry-pick 2 fixes for null pointer into 5.4.y only
@ 2021-11-16 10:48 Orson Zhai
  2021-11-16 10:48 ` [PATCH 1/2] scsi: ufs: Fix interrupt error message for shared interrupts Orson Zhai
  2021-11-16 10:48 ` [PATCH 2/2] scsi: ufs: Fix tm request when non-fatal error happens Orson Zhai
  0 siblings, 2 replies; 7+ messages in thread
From: Orson Zhai @ 2021-11-16 10:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, stable
  Cc: Sasha Levin, Can Guo, Jaegeuk Kim, Martin K . Petersen,
	Avri Altman, Adrian Hunter, orson.zhai, Orson Zhai

From: Orson Zhai <orson.zhai@unisoc.com>

Hi Greg,

Following 2 patches were merged into 5.10.y but not in 5.4.y.
We've found kernel crashes on our devices with 5.4 stable caused by missing them.

Please feel free to add them into the stable queue for 5.4.y if no issue.

Thanks,
Orson

Adrian Hunter (1):
  scsi: ufs: Fix interrupt error message for shared interrupts

Jaegeuk Kim (1):
  scsi: ufs: Fix tm request when non-fatal error happens

 drivers/scsi/ufs/ufshcd.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 1/2] scsi: ufs: Fix interrupt error message for shared interrupts
@ 2020-08-10 13:55 Adrian Hunter
  2020-08-11 12:20 ` Avri Altman
  0 siblings, 1 reply; 7+ messages in thread
From: Adrian Hunter @ 2020-08-10 13:55 UTC (permalink / raw)
  To: Martin K . Petersen, James E . J . Bottomley
  Cc: linux-scsi, linux-kernel, Alim Akhtar, Avri Altman,
	Venkat Gopalakrishnan, Can Guo

The interrupt might be shared, in which case it is not an error for the
interrupt handler to be called when the interrupt status is zero, so
remove the message print and register dump.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 9333d77573485 ("scsi: ufs: Fix irq return code")
---
 drivers/scsi/ufs/ufshcd.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index cdcf56679b41..d7522dba4dcf 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -5994,12 +5994,6 @@ static irqreturn_t ufshcd_intr(int irq, void *__hba)
 		intr_status = ufshcd_readl(hba, REG_INTERRUPT_STATUS);
 	} while (intr_status && --retries);
 
-	if (retval == IRQ_NONE) {
-		dev_err(hba->dev, "%s: Unhandled interrupt 0x%08x\n",
-					__func__, intr_status);
-		ufshcd_dump_regs(hba, 0, UFSHCI_REG_SPACE_SIZE, "host_regs: ");
-	}
-
 	spin_unlock(hba->host->host_lock);
 	return retval;
 }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-17 17:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16 10:48 [PATCH 0/2] scsi/ufs: Cherry-pick 2 fixes for null pointer into 5.4.y only Orson Zhai
2021-11-16 10:48 ` [PATCH 1/2] scsi: ufs: Fix interrupt error message for shared interrupts Orson Zhai
2021-11-17 17:55   ` Greg Kroah-Hartman
2021-11-16 10:48 ` [PATCH 2/2] scsi: ufs: Fix tm request when non-fatal error happens Orson Zhai
2021-11-17 17:58   ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2020-08-10 13:55 [PATCH 1/2] scsi: ufs: Fix interrupt error message for shared interrupts Adrian Hunter
2020-08-11 12:20 ` Avri Altman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.