Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754819Ab3HWXPU (ORCPT ); Fri, 23 Aug 2013 19:15:20 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:60519 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753517Ab3HWXPR (ORCPT ); Fri, 23 Aug 2013 19:15:17 -0400 Message-ID: <5217EB9A.5050206@wwwdotorg.org> Date: Fri, 23 Aug 2013 17:09:14 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Colin Cross CC: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Zhang , Joseph Lo , linux-tegra@vger.kernel.org, stable@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano Subject: Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state References: <1377287112-12018-1-git-send-email-ccross@android.com> In-Reply-To: <1377287112-12018-1-git-send-email-ccross@android.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 18 On 08/23/2013 01:45 PM, Colin Cross wrote: > Calling cpuidle_enter_state is expected to return with interrupts > enabled, but interrupts must be disabled before starting the > ready loop synchronization stage. Call local_irq_disable after > each call to cpuidle_enter_state for the safe state. Tested-by: Stephen Warren Note: I tested the current Tegra cpuidle code that's in next-20130819. IIRC, Joseph reported the issue when trying to enable some additional feature in Tegra30 cpuidle. I didn't actually try to enable whatever that was; I just briefly tested for regressions in the existing code configuration. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/