From patchwork Fri Nov 27 12:02:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Lapin X-Patchwork-Id: 63319 X-Patchwork-Delegate: paul@pwsan.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nARC2dwl025608 for ; Fri, 27 Nov 2009 12:02:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751776AbZK0MCc (ORCPT ); Fri, 27 Nov 2009 07:02:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751277AbZK0MCc (ORCPT ); Fri, 27 Nov 2009 07:02:32 -0500 Received: from ey-out-2122.google.com ([74.125.78.27]:6127 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbZK0MCb (ORCPT ); Fri, 27 Nov 2009 07:02:31 -0500 Received: by ey-out-2122.google.com with SMTP id 4so402513eyf.19 for ; Fri, 27 Nov 2009 04:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0yWnSO81al9pPKSH7+PrBlIKyxOBc5tljlBBDHZfrJw=; b=IOBilUM4gdKhF3pf+h7UJ8tdA8AWIgrNIQKg+waXc0i1sCiQjtI6qCyd60j1QldOM2 H7NdFeUs7AW7ps9lENfkxEYTiyQbM09UypCOPXaHNnWEHUe/C5Pp4wEeBjPcwUGPbFqK k6qI+5ITVJifFtaZGWvGD0yRwZDd+soTjwfYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ig2vW5fCR3EhzFP5WqGue4BMdr4QbCO3nOO1gZN1hQroEjO8FiAKt7qLmbvkdHJjML 6lOt36Udf4he1BThBeu5SHApaqt73EXpnmAu9S99GjBVhC4YCfT2qflxx/lpY7+dHtyD ZxwZ1bg1oqazWzSaYKG6sLslSfRYClOeLgPQY= MIME-Version: 1.0 Received: by 10.213.0.215 with SMTP id 23mr1063242ebc.84.1259323356415; Fri, 27 Nov 2009 04:02:36 -0800 (PST) In-Reply-To: <48239d390911270336r37e3b127i409ea5927aa9c505@mail.gmail.com> References: <48239d390911240713v50bcae9ek855fb1e07c081486@mail.gmail.com> <873a43wzfm.fsf@deeprootsystems.com> <48239d390911250737q35fc602fu9bce0b0f96f6970d@mail.gmail.com> <87iqcyh5p5.fsf@deeprootsystems.com> <48239d390911270202s3f6fcdbchaa7053bace5c36@mail.gmail.com> <48239d390911270248se826f84r84d6b42cbd69344@mail.gmail.com> <48239d390911270332tdf05c1lb5014e56cd3aa18b@mail.gmail.com> <48239d390911270336r37e3b127i409ea5927aa9c505@mail.gmail.com> Date: Fri, 27 Nov 2009 15:02:36 +0300 Message-ID: <48239d390911270402u4fe05d96s4d2a05e39919cb75@mail.gmail.com> Subject: Re: OMAP3: enabling CPU idle leads to panic From: Sergey Lapin To: "Premi, Sanjeev" Cc: Kevin Hilman , "linux-omap@vger.kernel.org" Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 2e17890..8b15789 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h @@ -393,11 +393,11 @@ IS_OMAP_TYPE(3517, 0x3517) (!omap3_has_iva()) && \ (!omap3_has_sgx())) # define cpu_is_omap3515() (cpu_is_omap3430() && \ - (omap3_has_iva()) && \ - (!omap3_has_sgx())) + (!omap3_has_iva()) && \ + (omap3_has_sgx())) # define cpu_is_omap3525() (cpu_is_omap3430() && \ - (omap3_has_sgx()) && \ - (!omap3_has_iva())) + (!omap3_has_sgx()) && \ + (omap3_has_iva())) # define cpu_is_omap3530() (cpu_is_omap3430()) # define cpu_is_omap3505() is_omap3505() # define cpu_is_omap3517() is_omap3517()