From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] sched: idle: Avoid retaining the tick when it has been stopped Date: Tue, 21 Aug 2018 16:21:44 -0700 Message-ID: <20180821232144.GW94926@atomide.com> References: <2161372.IsD4PDzmmY@aspire.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <2161372.IsD4PDzmmY@aspire.rjw.lan> Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Peter Zijlstra , Linux PM , LKML , Frederic Weisbecker , Ingo Molnar , Leo Yan , Mark Brown , Kevin Hilman , linux-omap@vger.kernel.org List-Id: linux-pm@vger.kernel.org * Rafael J. Wysocki [691231 23:00]: > From: Rafael J. Wysocki > > If the tick has been stopped already, but the governor has not asked to > stop it (which it can do sometimes), the idle loop should invoke > tick_nohz_idle_stop_tick(), to let tick_nohz_stop_tick() take care > of this case properly. > > Fixes: 554c8aa8ecad (sched: idle: Select idle state before stopping the tick) This patch seems to fix an issue where boot hangs occasionally on beagleboard-xm with ARM multi_v7_defconfig as reported by kernelci.org and Mark Brown earlier at [0]. At least so far no boot hangs for me with this fix, so: Tested-by: Tony Lindgren [0] https://www.spinics.net/lists/linux-mmc/msg50480.html