linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix a race condition between SPI domain validation and system suspend
@ 2018-01-05 17:19 Bart Van Assche
  2018-01-05 17:19 ` [PATCH 1/2] PM / sleep: Make lock/unlock_system_sleep() available to kernel modules Bart Van Assche
  2018-01-05 17:19 ` [PATCH 2/2] Fix a race condition between SPI domain validation and system suspend Bart Van Assche
  0 siblings, 2 replies; 8+ messages in thread
From: Bart Van Assche @ 2018-01-05 17:19 UTC (permalink / raw)
  To: Martin K . Petersen, James E . J . Bottomley
  Cc: linux-scsi, linux-pm, Rafael J . Wysocki, Woody Suwalski,
	Alan Stern, Bart Van Assche

Hello Martin,

Recently it was discovered that the v4.15 rework of suspend/resume handling
in the SCSI subsystem introduced a race condition between SPI domain validation
and system suspend. The two patches in this series fix that race. Please
consider these two patches for kernel v4.15.

Thanks,

Bart.

Bart Van Assche (2):
  PM / sleep: Make lock/unlock_system_sleep() available to kernel
    modules
  Fix a race condition between SPI domain validation and system suspend

 drivers/scsi/scsi_transport_spi.c | 16 ++++++++++++++--
 include/linux/suspend.h           | 28 ++--------------------------
 kernel/power/main.c               | 29 +++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 28 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2018-01-09  0:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-05 17:19 [PATCH 0/2] Fix a race condition between SPI domain validation and system suspend Bart Van Assche
2018-01-05 17:19 ` [PATCH 1/2] PM / sleep: Make lock/unlock_system_sleep() available to kernel modules Bart Van Assche
2018-01-05 23:00   ` Rafael J. Wysocki
2018-01-05 23:32     ` Bart Van Assche
2018-01-05 23:38       ` Rafael J. Wysocki
2018-01-05 17:19 ` [PATCH 2/2] Fix a race condition between SPI domain validation and system suspend Bart Van Assche
2018-01-08 16:02   ` Martin K. Petersen
2018-01-09  0:27     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).