Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438700

Re: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus

From James Morse <james.morse@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus
Date 2016-07-07 18:10 +0200
Message-ID <rSk2d-Ok-19@gated-at.bofh.it> (permalink)
References <rOXbQ-4Tg-31@gated-at.bofh.it> <rS5mx-7SX-9@gated-at.bofh.it> <rS7HH-Ul-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 07/07/16 03:50, Chen, Yu C wrote:
>> From: Rafael J. Wysocki [mailto:rjw@rjwysocki.net]
>> Below is my sort of version of this (untested) and I did it this way, because the
>> issue is specific to resume from hibernation (the workaround need not be
>> applied anywhere else) and the hibernate_resume_nonboot_cpu_disable()
>> thing may be useful to arm64 too if I'm not mistaken (James?).
> 
> James might want a flag to distinguish whether it is from suspend or resume,
> in his arch-specific disabled_nonboot_cpus?

That isn't serious, we can work out whether it is hibernate/resume based on
whether we've read data out of the the arch header. I added it in the other
series as it looked cleaner to pass the value in instead of inferring it.


Thanks,

James

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus Chen Yu <yu.c.chen@intel.com> - 2016-06-28 11:10 +0200
  Re: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-07 02:30 +0200
    RE: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if  invoked from disable_nonboot_cpus "Chen, Yu C" <yu.c.chen@intel.com> - 2016-07-07 05:00 +0200
      Re: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked  from disable_nonboot_cpus James Morse <james.morse@arm.com> - 2016-07-07 18:10 +0200
    Re: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked  from disable_nonboot_cpus James Morse <james.morse@arm.com> - 2016-07-07 10:50 +0200
      Re: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-07 14:30 +0200

csiph-web