Re: [PATCH 1/4 v2] PM / suspend: Prevent might sleep splats

2018-05-29 Thread Rafael J. Wysocki
On Friday, May 25, 2018 5:54:41 PM CEST Sebastian Andrzej Siewior wrote: > From: Thomas Gleixner > > timekeeping suspend/resume calls read_persistent_clock() which takes > rtc_lock. That results in might sleep warnings because at that point > we run with interrupts disabled. > > We cannot conver

[PATCH 1/4 v2] PM / suspend: Prevent might sleep splats

2018-05-25 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner timekeeping suspend/resume calls read_persistent_clock() which takes rtc_lock. That results in might sleep warnings because at that point we run with interrupts disabled. We cannot convert rtc_lock to a raw spinlock as that would trigger other might sleep warnings. As a wo