From patchwork Mon Apr 21 11:49:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 28692 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f70.google.com (mail-pb0-f70.google.com [209.85.160.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 905622032B for ; Mon, 21 Apr 2014 11:50:21 +0000 (UTC) Received: by mail-pb0-f70.google.com with SMTP id rp16sf18811872pbb.5 for ; Mon, 21 Apr 2014 04:50:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=kJGBet4RIBj79nmKPQyr5PgqjjNC16QeOEmqseaHXBU=; b=ZVt+4bPVajPzOyoz0HxDYCAs3VshcdwbxWzKlCqFrzp93lb/jcy7p+exuvyR9+MJKq +3KON/VRyeZpwIXBb5d6vMVbVBUxFYBEsExZxE5o1VT/bj+QQa6VfZYKzjO5aC60ZwG5 R/GLcddFvZ+oJZxeyqO1Wr8Q24puWlc+GwCiT2uJhE8P1uwn0imY+OHC2AyPhLNkiBLO lLd5KHFshp0WOtJNHqxWS5Nam8FXhjQFXhgmS24JKKOvAw6cx7RurCiso9XYLFUTP/Jk jL89V85rrr5Gic465WigfSeNyE5AWrZQgGQqQ8WmGd7HKM1nkgvEccY7Dih4g6O9iix1 qFpw== X-Gm-Message-State: ALoCoQmAgGBMpIn13UsCrj2LeG+GGwj1QwUTeK2Fagb5rZKxairAOuktLKsPZNG8wW0gPMOOBjnP X-Received: by 10.66.233.8 with SMTP id ts8mr21177578pac.38.1398081020749; Mon, 21 Apr 2014 04:50:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.37 with SMTP id q34ls1365026qgd.99.gmail; Mon, 21 Apr 2014 04:50:20 -0700 (PDT) X-Received: by 10.220.4.132 with SMTP id 4mr31053994vcr.9.1398081020618; Mon, 21 Apr 2014 04:50:20 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id i16si6215267vcv.11.2014.04.21.04.50.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 04:50:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id jy13so7597990veb.2 for ; Mon, 21 Apr 2014 04:50:20 -0700 (PDT) X-Received: by 10.58.230.103 with SMTP id sx7mr253797vec.28.1398081020545; Mon, 21 Apr 2014 04:50:20 -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 ib8csp285841vcb; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) X-Received: by 10.68.220.137 with SMTP id pw9mr37496041pbc.24.1398081019497; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yz5si1423976pbb.78.2014.04.21.04.50.18; Mon, 21 Apr 2014 04:50:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752117AbaDULuK (ORCPT + 26 others); Mon, 21 Apr 2014 07:50:10 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:54127 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751734AbaDULto (ORCPT ); Mon, 21 Apr 2014 07:49:44 -0400 Received: by mail-pa0-f53.google.com with SMTP id ld10so3664185pab.12 for ; Mon, 21 Apr 2014 04:49:44 -0700 (PDT) X-Received: by 10.66.166.233 with SMTP id zj9mr9866944pab.75.1398080984426; Mon, 21 Apr 2014 04:49:44 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id ir10sm77592553pbc.59.2014.04.21.04.49.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 04:49:43 -0700 (PDT) From: Chander Kashyap To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: lorenzo.pieralisi@arm.com, daniel.lezcano@linaro.org, rjw@rjwysocki.net, kgene.kim@samsung.com, Chander Kashyap , Chander Kashyap Subject: [PATCH 3/4] exynos: cpuidle: do not allow cpuidle registration for Exynos5420 Date: Mon, 21 Apr 2014 17:19:17 +0530 Message-Id: <1398080958-21677-4-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398080958-21677-1-git-send-email-chander.kashyap@linaro.org> References: <1398080958-21677-1-git-send-email-chander.kashyap@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: chander.kashyap@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: , Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Acked-by: Daniel Lezcano --- arch/arm/mach-exynos/cpuidle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index c57cae0..242f75d 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -219,6 +219,9 @@ static int exynos_cpuidle_probe(struct platform_device *pdev) int cpu_id, ret; struct cpuidle_device *device; + if (soc_is_exynos5420()) + return -ENODEV; + if (soc_is_exynos5250()) exynos5_core_down_clk();