From patchwork Tue Apr 24 14:05:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 8079 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9404D23E1D for ; Tue, 24 Apr 2012 14:06:03 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5CD26A1892D for ; Tue, 24 Apr 2012 14:06:03 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so1457668iag.11 for ; Tue, 24 Apr 2012 07:06:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=mdOaZMbYQC/FuiC0v+Yn2t+C/a9jyhjZ0QOKoSek2OY=; b=Y/QF2MTgCYQJgO+WGO1yVoWCxGpnQUN+JTCg4yHThJo8Gj2WJwHeoFSKgBZvZmDE0n Nz1clDid51QmxFCHdqbRSE2cp6g+tLplEJm5ZH+sDeNS/oWNWeiYwQ9mSzx6s1NkSFqF M0l4sXUMBdqPta2vfwksSH1G0cFFGMh1S2quNXsB+j9QF6W34x6zWVBdpx9wS6wBrBDm LNye2ESf2d37H30GCrkYDW9UTp+E5BghK+z2ZbtUrIe+Eeo7xbW8Ug/xv9a2LCsbXJbW dTn0+ZKJ1VwLNTNg1i4MNmhayCD2N+8lKuyZUn3HybPSIEt7BXUge2mQ0C8KG2+AXG10 WzAg== Received: by 10.50.135.36 with SMTP id pp4mr10445428igb.19.1335276363143; Tue, 24 Apr 2012 07:06:03 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp183991ibt; Tue, 24 Apr 2012 07:06:02 -0700 (PDT) Received: by 10.216.138.38 with SMTP id z38mr5044605wei.63.1335276361617; Tue, 24 Apr 2012 07:06:01 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id bt8si13302092wib.40.2012.04.24.07.06.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:06:01 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wg0-f50.google.com with SMTP id ds12so684920wgb.31 for ; Tue, 24 Apr 2012 07:06:01 -0700 (PDT) Received: by 10.180.107.104 with SMTP id hb8mr31565456wib.8.1335276361163; Tue, 24 Apr 2012 07:06:01 -0700 (PDT) Received: from localhost.localdomain (AToulouse-159-1-17-225.w92-134.abo.wanadoo.fr. [92.134.64.225]) by mx.google.com with ESMTPS id fl2sm47121222wib.2.2012.04.24.07.05.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:06:00 -0700 (PDT) From: Daniel Lezcano To: santosh.shilimkar@ti.com, jean.pihet@newoldbits.com, khilman@ti.com, tony@atomide.com Cc: linux-omap@vger.kernel.org, linaro-dev@lists.linaro.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org Subject: [PATCH 10/18][V3] ARM: OMAP3: cpuidle - remove errata check in the init function Date: Tue, 24 Apr 2012 16:05:31 +0200 Message-Id: <1335276339-11135-11-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1335276339-11135-1-git-send-email-daniel.lezcano@linaro.org> References: <1335276339-11135-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQlBWGzQ6XlozVJt4H3nw7vvoaZy/NbTBf57eipYriInylHXgkp27a0zI4SFLAWpGIYoWmD7 The errata check is done in the next_valid_state function, no need to check that in the omap3_idle_init function. Signed-off-by: Daniel Lezcano --- arch/arm/mach-omap2/cpuidle34xx.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index 11a2c23..f394ea6 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c @@ -430,16 +430,6 @@ int __init omap3_idle_init(void) /* C7 . MPU OFF + Core OFF */ cx = _fill_cstate_usage(dev, 6); - /* - * Erratum i583: implementation for ES rev < Es1.2 on 3630. We cannot - * enable OFF mode in a stable form for previous revisions. - * We disable C7 state as a result. - */ - if (IS_PM34XX_ERRATUM(PM_SDRC_WAKEUP_ERRATUM_i583)) { - cx->valid = 0; - pr_warn("%s: core off state C7 disabled due to i583\n", - __func__); - } cx->mpu_state = PWRDM_POWER_OFF; cx->core_state = PWRDM_POWER_OFF;