Re: [PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Chen-Yu Tsai
On Thu, Jul 27, 2017 at 8:45 PM, Chen-Yu Tsai wrote: > On Thu, Jul 27, 2017 at 8:17 PM, Russell King - ARM Linux > wrote: >> On Thu, Jul 27, 2017 at 08:08:03PM +0800, Chen-Yu Tsai wrote: >>> On ARM, the kernel busy loops after cleaning up when a core is to be >>> halted. This may have the undesir

Re: [PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Chen-Yu Tsai
On Thu, Jul 27, 2017 at 8:17 PM, Russell King - ARM Linux wrote: > On Thu, Jul 27, 2017 at 08:08:03PM +0800, Chen-Yu Tsai wrote: >> On ARM, the kernel busy loops after cleaning up when a core is to be >> halted. This may have the undesired effect of increasing the core >> temperature, at a time wh

Re: [PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Russell King - ARM Linux
On Thu, Jul 27, 2017 at 08:08:03PM +0800, Chen-Yu Tsai wrote: > On ARM, the kernel busy loops after cleaning up when a core is to be > halted. This may have the undesired effect of increasing the core > temperature, at a time when no power or thermal management is > available, such as a kernel pani

[PATCH] ARM: Use WFI when possible when halting a core

2017-07-27 Thread Chen-Yu Tsai
On ARM, the kernel busy loops after cleaning up when a core is to be halted. This may have the undesired effect of increasing the core temperature, at a time when no power or thermal management is available, such as a kernel panic or shutdown to halt. x86 uses the more efficient HLT (halt) instruc