public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2] scsi: Synchronize request queue PM status only on successful resume
@ 2019-01-03  6:53 stanley.chu-NuS5LvNUpcJWk0Htik3J/w
       [not found] ` <1546498395-4184-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: stanley.chu-NuS5LvNUpcJWk0Htik3J/w @ 2019-01-03  6:53 UTC (permalink / raw)
  To: linux-scsi-u79uwXL29TY76Z2rM5mHXA
  Cc: matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
	mika.westerberg-VuQAYsv1563Yd54FQh9/CA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	kuohong.wang-NuS5LvNUpcJWk0Htik3J/w,
	wsd_upstream-NuS5LvNUpcJWk0Htik3J/w

The commit 356fd2663cff ("scsi: Set request queue runtime PM status
back to active on resume") fixed up the inconsistent RPM status between
request queue and device. However changing request queue RPM status
shall be done only on successful resume, otherwise status may be still
inconsistent as below,

Request queue: RPM_ACTIVE
Device: RPM_SUSPENDED

This ends up soft lockup because requests can be submitted to
underlying devices but those devices and their required resource
are not resumed.

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

end of thread, other threads:[~2019-01-03  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-03  6:53 [PATCH v2] scsi: Synchronize request queue PM status only on successful resume stanley.chu-NuS5LvNUpcJWk0Htik3J/w
     [not found] ` <1546498395-4184-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-01-03  6:53   ` [PATCH v2 0/1] " stanley.chu-NuS5LvNUpcJWk0Htik3J/w
2019-01-03  6:53   ` [PATCH v2 1/1] " stanley.chu-NuS5LvNUpcJWk0Htik3J/w
2019-01-03  8:23     ` Mika Westerberg
2019-01-03  9:06       ` Stanley Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox