From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C04ADC04E87 for ; Wed, 15 May 2019 10:30:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9CC732084F for ; Wed, 15 May 2019 10:30:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726412AbfEOKa4 (ORCPT ); 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