From patchwork Fri May 9 08:23:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29880 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B1117202FE for ; Fri, 9 May 2014 08:24:17 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id va2sf18312398obc.5 for ; Fri, 09 May 2014 01:24:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=/XIMxonX6MUApC5MOP9dxg04oslBqnn8L+fZhlccSSI=; b=EML8QVzfiNbpCqxsTE2wVQdThJwA0VWHD/Pa27vr9musUvnXYBsTWxxRcPTg4Xa3ZU Zztw7hbRFNVoC2v/1D4botfm9d/Lu4pWW7ndEdmOGY2KeUbAsfpktFGeLavQOCABzbsq kcDMK9sm/kqFzxtKTJWf13qDcyWTnF8j5OkpFYoAHor9grN8Ij3bNJGnrAa1YiYTaC/K iXlkRQdUjbk457eVXKAqafENCFAkmnzkFfQn+yFyHRBDXi3gS9IfWkIZkqarZms4sbWI f9ee8YScXtY2bxC3DRxdvlSMc7yFblMBz+3Bz/J6ZKnVStecZXjHzoz8lkpWFu/OJmR5 xgaQ== X-Gm-Message-State: ALoCoQlvNXfxbUQlycRBOlfxfdv7kk3fOrhRoDYwyIhtH3yW/gO7hWtgOobuy/jOJSdgVi25Y7uL X-Received: by 10.183.11.102 with SMTP id eh6mr4436294obd.37.1399623857151; Fri, 09 May 2014 01:24:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.97 with SMTP id g88ls185880qgf.40.gmail; Fri, 09 May 2014 01:24:17 -0700 (PDT) X-Received: by 10.58.126.4 with SMTP id mu4mr7472383veb.0.1399623857030; Fri, 09 May 2014 01:24:17 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id b5si610426vej.83.2014.05.09.01.24.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 01:24:17 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id lc6so4774239vcb.2 for ; Fri, 09 May 2014 01:24:17 -0700 (PDT) X-Received: by 10.58.201.5 with SMTP id jw5mr7194147vec.6.1399623856954; Fri, 09 May 2014 01:24:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp60267vcb; Fri, 9 May 2014 01:24:16 -0700 (PDT) X-Received: by 10.66.163.2 with SMTP id ye2mr17852437pab.110.1399623856075; Fri, 09 May 2014 01:24:16 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha2si1077814pac.36.2014.05.09.01.24.15; Fri, 09 May 2014 01:24:15 -0700 (PDT) Received-SPF: none (google.com: linux-omap-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754086AbaEIIYO (ORCPT + 6 others); Fri, 9 May 2014 04:24:14 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:46585 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715AbaEIIYN (ORCPT ); Fri, 9 May 2014 04:24:13 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s498NaLo019136; Fri, 9 May 2014 03:23:37 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s498Nak3006640; Fri, 9 May 2014 03:23:36 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 9 May 2014 03:23:36 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s498NWlu020553; Fri, 9 May 2014 03:23:33 -0500 Message-ID: <536C9084.50209@ti.com> Date: Fri, 9 May 2014 11:23:32 +0300 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Kevin Hilman , Tony Lindgren CC: "Menon, Nishanth" , Grygorii Strashko , "Shilimkar, Santosh" , Paul Walmsley , Taras Kondratiuk , "linux-omap@vger.kernel.org" , Linux ARM Kernel Mailing List , "Kristo, Tero" , Paul Burton , Daniel Lezcano , "Rafael J. Wysocki" Subject: Re: omap4-panda-es boot issues with v3.15-rc4 References: <536B7E44.2040303@ti.com> <7hppjos2w2.fsf@paris.lan> <20140508165558.GB2198@atomide.com> <20140508184055.GC2198@atomide.com> <7hha4zsyro.fsf@paris.lan> In-Reply-To: <7hha4zsyro.fsf@paris.lan> Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Kevin, On 05/09/2014 01:15 AM, Kevin Hilman wrote: > Tony Lindgren writes: > > [...] > >> ..but I think I found the cause for recent hangs on panda, just a wild >> guess based on looking at the recent cpuidle patches after v3.14. >> >> Looks like reverting 0b89e9aa2856 (cpuidle: delay enabling interrupts >> until all coupled CPUs leave idle) makes booting work reliably again >> on panda. >> >> Can you guys confirm, so far no issues here after few boot tests, >> but it might be too early to tell. > > Reverting that makes things a bit more stable, but it still eventually > fails in the same way. For me it took 8 boots for it to eventually > fail. > > However, if I build with CONFIG_CPU_IDLE=n, it becomes much more stable > (20+ boots in a row and still going.) > Can you please test with CPU_IDLE enabled but C3 disabled as in below patch? It worked for me 10/10 boots. --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c index 01fc710..99362ff 100644 --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -206,7 +206,12 @@ static struct cpuidle_driver omap4_idle_driver = { .desc = "CPUx OFF, MPUSS OSWR", }, }, - .state_count = ARRAY_SIZE(omap4_idle_data), +/* + * Disable C3 state since it is unstable + * + * .state_count = ARRAY_SIZE(omap4_idle_data), + */ + .state_count = 2, .safe_state_index = 0, };