Skip to content

scsi: ufs: Fix runtime PM messages never-ending cycle

Adrian Hunter linux-scsi 4 versions – Applied

Status from this message: Applied to 5.18/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesApplied
  2. v31 patch 3 repliesSuperseded
  3. v21 patch 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: Add quiet_suspend flag for SCSI devices to suppress some PM messagesdrivers/scsi/scsi_error.c drivers/scsi/sd.c include/scsi/scsi_device.h+17 -40 replies
2/2scsi: ufs: Fix runtime PM messages never-ending cycledrivers/scsi/ufs/ufshcd.c+19 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH V4 0/2] scsi: ufs: Fix runtime PM messages never-ending cycle

Hi

Here is V4 to address comments by Martin. See patches for version history.

Summary:

Kernel messages produced during runtime PM can cause a never-ending cycle because user space utilities (e.g. journald or rsyslog) write the messages back to storage, causing runtime resume, more messages, and so on.

Messages that tell of things that are expected to happen, are arguably unnecessary, so make changes to suppress them for the UFS driver.

Adrian Hunter (2):
scsi: Add quiet_suspend flag for SCSI devices to suppress some PM messages
scsi: ufs: Fix runtime PM messages never-ending cycle

 drivers/scsi/scsi_error.c  |  9 +++++++--
 drivers/scsi/sd.c          |  6 ++++--
 drivers/scsi/ufs/ufshcd.c  | 21 +++++++++++++++++++--
 include/scsi/scsi_device.h |  6 ++++++
 4 files changed, 36 insertions(+), 6 deletions(-)

Regards
Adrian