From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Tue, 15 Sep 2015 15:44:09 +0100 Subject: [PATCH] arm64: enable generic idle loop In-Reply-To: <20150915143135.GG14287@e104818-lin.cambridge.arm.com> References: <1440128422-4170-1-git-send-email-leo.yan@linaro.org> <20150821090043.GA14072@e104818-lin.cambridge.arm.com> <20150821091446.GB4280@leoy-linaro> <20150821155425.GC16410@e104818-lin.cambridge.arm.com> <20150915112008.GA30920@leoy-linaro> <20150915143135.GG14287@e104818-lin.cambridge.arm.com> Message-ID: <20150915144409.GF31157@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Sep 15, 2015 at 03:31:35PM +0100, Catalin Marinas wrote: > On Tue, Sep 15, 2015 at 07:20:08PM +0800, Leo Yan wrote: > > On Fri, Aug 21, 2015 at 04:54:25PM +0100, Catalin Marinas wrote: > > > On Fri, Aug 21, 2015 at 05:14:46PM +0800, Leo Yan wrote: > > > > On Fri, Aug 21, 2015 at 10:00:43AM +0100, Catalin Marinas wrote: > > > > > On Fri, Aug 21, 2015 at 11:40:22AM +0800, Leo Yan wrote: > > > > > > Enable generic idle loop for ARM64, so can support for hlt/nohlt > > > > > > command line options to override default idle loop behavior. > > > > > > > > > > Just curious, what do you need this for? > > > > > > > > With this config, usually we can add "nohlt" in command line to force > > > > the cpu will never be powered off; so can quickly narrow down if some > > > > issues are related with cpuidle or not. > > > > > > > > And if CPU is powered off, then its debug logic also will be powered off. > > > > So we can simply use this method to let debugger always hot connect with > > > > the target CPU. > > > > > > OK. > > > > > > Acked-by: Catalin Marinas > > > > Suppose you have missed this patch at previous merge window, > > so just for reminding. > > It looks like it missed the merging window. Will, can this still be > picked for 4.3? If not, it will be 4.4. Yeah, it's harmless enough to pick up with the current crop of fixes. Sorry I missed it. Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754680AbbIOOoL (ORCPT ); Tue, 15 Sep 2015 10:44:11 -0400 Received: from foss.arm.com ([217.140.101.70]:51087 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753989AbbIOOoH (ORCPT ); Tue, 15 Sep 2015 10:44:07 -0400 Date: Tue, 15 Sep 2015 15:44:09 +0100 From: Will Deacon To: Catalin Marinas Cc: "leo.yan@linaro.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] arm64: enable generic idle loop Message-ID: <20150915144409.GF31157@arm.com> References: <1440128422-4170-1-git-send-email-leo.yan@linaro.org> <20150821090043.GA14072@e104818-lin.cambridge.arm.com> <20150821091446.GB4280@leoy-linaro> <20150821155425.GC16410@e104818-lin.cambridge.arm.com> <20150915112008.GA30920@leoy-linaro> <20150915143135.GG14287@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150915143135.GG14287@e104818-lin.cambridge.arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2015 at 03:31:35PM +0100, Catalin Marinas wrote: > On Tue, Sep 15, 2015 at 07:20:08PM +0800, Leo Yan wrote: > > On Fri, Aug 21, 2015 at 04:54:25PM +0100, Catalin Marinas wrote: > > > On Fri, Aug 21, 2015 at 05:14:46PM +0800, Leo Yan wrote: > > > > On Fri, Aug 21, 2015 at 10:00:43AM +0100, Catalin Marinas wrote: > > > > > On Fri, Aug 21, 2015 at 11:40:22AM +0800, Leo Yan wrote: > > > > > > Enable generic idle loop for ARM64, so can support for hlt/nohlt > > > > > > command line options to override default idle loop behavior. > > > > > > > > > > Just curious, what do you need this for? > > > > > > > > With this config, usually we can add "nohlt" in command line to force > > > > the cpu will never be powered off; so can quickly narrow down if some > > > > issues are related with cpuidle or not. > > > > > > > > And if CPU is powered off, then its debug logic also will be powered off. > > > > So we can simply use this method to let debugger always hot connect with > > > > the target CPU. > > > > > > OK. > > > > > > Acked-by: Catalin Marinas > > > > Suppose you have missed this patch at previous merge window, > > so just for reminding. > > It looks like it missed the merging window. Will, can this still be > picked for 4.3? If not, it will be 4.4. Yeah, it's harmless enough to pick up with the current crop of fixes. Sorry I missed it. Will