Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp406607yba; Wed, 15 May 2019 03:33:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZlciOcyKTtCABDrfgSB/pLV0M4fOhspFIdmVBL/B6vOaQZ5bWSIPJR0g8rJ8D1Z+1eqPE X-Received: by 2002:a62:386:: with SMTP id 128mr20516021pfd.10.1557916433875; Wed, 15 May 2019 03:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557916433; cv=none; d=google.com; s=arc-20160816; b=YXqf8K8BcF1R6GCVgtqI24kX254mG4JYXEomcpR8n3TCwlthIOYROf9jsQOMYjCLrr +0FsaL0u7SZkbGJHQvYgjxHaM74zyb00dtVg/QWK6eM/pyHMeWsK95oCsf4XR046+/Qt ZPIIVasTpO4Ft74DaE90mfPsVUoEoPXLfxLMTzYXsYjB+5XIMXBedqDw7oRNc30w7HSR fAJVTvEGuWO+ow5zzEYpBioZ4gUE+HNTfqK6hbdkTchpnbtymFS4CCFw0T2yReBoqfnH t4giFo6H67AKgqn7q0sYDB2c5HClrDcUZuJz4PoAQcD8dJTPor5L3IqYEZ59d8O8J9CG otDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9vK4ex8fTLY7O0RC8TE/NLBE5iv3xaMsKLCaLmIbRNQ=; b=NYVB0AHTb4AxXgqgnzHXQD7XYpLVQiKtjtp365o35GAPaqobmsvKEmxyp18dnldiGx /y29khMnM7actUmuTmNehdxgVtF1PCMyuvQu6m6Sdze1RebBr7bWLsKyy6tZHMNkpBKN wpdAawc6Bx5GySsNuq2/5F1Yf3B3JdTOmc428mFBvEfZ03CD2eOjzgw2xqiTDb6o8v++ mR4cSCbSLIbTl8Ojvs+rgXVVuDF5EKJcpOAKtbZj1RcPdi+g9fZXO/RajLGm8HTZnysk GOkx47Mo/BA1hsutG+odSZENtQfrmN3raW9TkKjfh+lS3RsvK5keAQX4CkJO0eitUC+6 d7Sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si1461106plb.259.2019.05.15.03.33.36; Wed, 15 May 2019 03:33:53 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726394AbfEOKa4 (ORCPT + 99 others); Wed, 15 May 2019 06:30:56 -0400 Received: from foss.arm.com ([217.140.101.70]:40336 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbfEOKa4 (ORCPT ); Wed, 15 May 2019 06:30:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9270880D; Wed, 15 May 2019 03:30:55 -0700 (PDT) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0BE223F703; Wed, 15 May 2019 03:30:52 -0700 (PDT) Date: Wed, 15 May 2019 11:30:46 +0100 From: Sudeep Holla To: Amit Kucheria Cc: Niklas Cassel , Lorenzo Pieralisi , Andy Gross , David Brown , Rob Herring , Mark Rutland , Jorge Ramirez-Ortiz , Lina Iyer , Ulf Hansson , Bjorn Andersson , linux-arm-msm , DTML , Linux Kernel Mailing List , Sudeep Holla Subject: Re: [PATCH] arm64: dts: qcom: qcs404: Add PSCI cpuidle support Message-ID: <20190515103026.GA26759@e107155-lin> References: <20190508145600.GA26843@centauri> <20190510091158.GA10284@e107155-lin> <20190513094935.GA4885@e107155-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 15, 2019 at 03:26:14PM +0530, Amit Kucheria wrote: > On Mon, May 13, 2019 at 3:19 PM Sudeep Holla wrote: > > > > On Fri, May 10, 2019 at 11:58:40PM +0530, Amit Kucheria wrote: > > > On Fri, May 10, 2019 at 2:54 PM Sudeep Holla wrote: > > > > > > > > [...] > > > > > > > > > > Yes entry-method="psci" is required as per DT binding but not checked > > > > in code on arm64. We have CPU ops with idle enabled only for "psci", so > > > > there's not need to check. > > > > > > I don't see it being checked on arm32 either. > > > > > > > arm_cpuidle_get_ops in arch/arm/kernel/cpuidle.c checks the method, has > > to match "psci" for drivers/firmware/psci.c to work on arm32 > > That is a check for the enable-method, not entry-method. > > We don't check for entry-method anywhere, AFAICT. > Ah, you right. My eyes can't distinguish between entry-method and enable-method anymore :( -- Regards, Sudeep