Re: [PATCH] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

2016-07-28 Thread Pavel Machek
On Wed 2016-07-13 14:01:52, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 11:56 AM, Pavel Machek wrote: > > On Sun 2016-07-10 03:49:25, Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> On Intel hardware, native_play_dead() uses mwait_play_dead() by > >> default and only falls

Re: [PATCH] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

2016-07-13 Thread Rafael J. Wysocki
On Wed, Jul 13, 2016 at 2:01 PM, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 11:56 AM, Pavel Machek wrote: >> On Sun 2016-07-10 03:49:25, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> On Intel hardware, native_play_dead() uses mwait_play_dead() by >>> default and only falls

Re: [PATCH] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

2016-07-13 Thread Rafael J. Wysocki
On Wed, Jul 13, 2016 at 11:56 AM, Pavel Machek wrote: > On Sun 2016-07-10 03:49:25, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> On Intel hardware, native_play_dead() uses mwait_play_dead() by >> default and only falls back to the other methods if that fails. >> That also happens dur

Re: [PATCH] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

2016-07-13 Thread Chen Yu
Hi Pavel, On 2016年07月13日 17:56, Pavel Machek wrote: On Sun 2016-07-10 03:49:25, Rafael J. Wysocki wrote: From: Rafael J. Wysocki On Intel hardware, native_play_dead() uses mwait_play_dead() by default and only falls back to the other methods if that fails. That also happens during resume from

Re: [PATCH] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

2016-07-13 Thread Pavel Machek
On Sun 2016-07-10 03:49:25, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > On Intel hardware, native_play_dead() uses mwait_play_dead() by > default and only falls back to the other methods if that fails. > That also happens during resume from hibernation, when the restore > (boot) kernel

[PATCH] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

2016-07-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki On Intel hardware, native_play_dead() uses mwait_play_dead() by default and only falls back to the other methods if that fails. That also happens during resume from hibernation, when the restore (boot) kernel runs disable_nonboot_cpus() to take all of the CPUs except for t