Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3054085ybi; Mon, 10 Jun 2019 03:35:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzagPGA6lvuxpq3HSd9TDUccR4mpp/sEN+/N94eaHTUoL1Ld2DPhPUzUZ6NSdRiF5K3ddS/ X-Received: by 2002:a65:6089:: with SMTP id t9mr14906658pgu.170.1560162923573; Mon, 10 Jun 2019 03:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560162923; cv=none; d=google.com; s=arc-20160816; b=Jn7m5yPnazCbjqh1K8IJJSIFmndNDr7iprytISfHHc/wXB6dNPZoZmjayADsqui/X4 oRZaZWUcr9gXX1PwW7urprd2KceEiQ0gExDbjn7Hwvg8SyrUhayO0M75jikQJ0KDuIaD e/Y0U0JKcQ1WZkHzIuLNRcZj04OdboVgWG6wkqvnWHG4kD5nzCvfOj7GayCSU0aNDf4m Wt4kQGaWmM7e4CYn4WbKcT4U/iG7oRnMpILPQjGv7tstjI/2XYj+/jNOJ8IvwBuA/ID9 /9or8BwT7+dttdCzJzgwiyav6VRHTQxGVfsWm3B3SfotP3Tf9yq2lAdwPrqIcMO3e0Z2 uqDQ== 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=hKbT4AxPwQcWVAt5Sr2WXFs0zeG0rhI2FEhuhryytqI=; b=OLQeAkStswxyvhXhoDBnMqHvS1GOjNLwOUg+yEvSS1k9s3M1RXm1rPekFBVnu8IqLO 7xZE82GMnaBgAnRvtmx8ErvrJkEY4aGa9rIrFcpqdaiif9UU0Is999ILAh51mbinjUb0 OS9Z72IeygdeYczwd0UU4Dv7DOzjNOoAXNY00qU+K4ZYVMn7dhZqLohi48/6WhtW/R5N SIMtj36AjKZifE/V6fXOiPU+Ejxi2VhQ34GnGIBLZJGPtknZ+nmyKWAucSTYxLvAmVxd +7mEBmdIKoq3OjsPwR/N63uvIich6AVEtV4YBeN2Vn3zuQ1chso5q9GrnbWRmIeOVWVr z4+A== 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 d24si9251002pls.252.2019.06.10.03.35.08; Mon, 10 Jun 2019 03:35:23 -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 S2389459AbfFJKcf (ORCPT + 99 others); Mon, 10 Jun 2019 06:32:35 -0400 Received: from foss.arm.com ([217.140.110.172]:40174 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389354AbfFJKce (ORCPT ); Mon, 10 Jun 2019 06:32:34 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E092D346; Mon, 10 Jun 2019 03:32:33 -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 F383E3F557; Mon, 10 Jun 2019 03:34:12 -0700 (PDT) Date: Mon, 10 Jun 2019 11:32:25 +0100 From: Sudeep Holla To: Bjorn Andersson Cc: Ulf Hansson , "Rafael J. Wysocki" , Lorenzo Pieralisi , Mark Rutland , Linux ARM , "Rafael J . Wysocki" , Daniel Lezcano , "Raju P . L . S . S . S . N" , Amit Kucheria , Stephen Boyd , Niklas Cassel , Tony Lindgren , Kevin Hilman , Lina Iyer , Viresh Kumar , Vincent Guittot , Geert Uytterhoeven , Souvik Chakravarty , Linux PM , Sudeep Holla , linux-arm-msm , Linux Kernel Mailing List Subject: Re: [PATCH 00/18] ARM/ARM64: Support hierarchical CPU arrangement for PSCI Message-ID: <20190610103225.GA26602@e107155-lin> References: <20190513192300.653-1-ulf.hansson@linaro.org> <20190607154210.GJ15577@e107155-lin> <20190607193407.GB24059@builder> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190607193407.GB24059@builder> 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 Fri, Jun 07, 2019 at 12:34:07PM -0700, Bjorn Andersson wrote: > On Fri 07 Jun 08:42 PDT 2019, Sudeep Holla wrote: > > > On Tue, May 14, 2019 at 10:58:04AM +0200, Ulf Hansson wrote: > > > On Tue, 14 May 2019 at 10:08, Rafael J. Wysocki wrote: > > > > > > > > On Mon, May 13, 2019 at 9:23 PM Ulf Hansson wrote: > > > > > > > > > > This series enables support for hierarchical CPU arrangement, managed by PSCI > > > > > for ARM/ARM64. It's based on using the generic PM domain (genpd), which > > > > > recently was extended to manage devices belonging to CPUs. > > > > > > > > ACK for the patches touching cpuidle in this series (from the > > > > framework perspective), but I'm assuming it to be taken care of by > > > > ARM/ARM64 maintainers. > > > > > > Thanks for the ack! Yes, this is for PSCI/ARM maintainers. > > > > > > BTW, apologize for sending this in the merge window, but wanted to > > > take the opportunity for people to have a look before OSPM Pisa next > > > week. > > > > > > > I will start looking at this series. But I would request PSCI/other > > maintainers to wait until we see some comparison data before we merge. > > What comparison are you asking for here? Do you want to see the > improvement this series gives or are you hoping to compare it with some > other mechanism? > OK, I have mentioned this many times already, let me repeat it again. This series adds an alternative to the existing PC mode of CPU idle management. And it's clear that the main reason for the same is the improvement OSI mode offers vs the PC mode. I am asking the comparison for the same. And yes we need to compare apples with apples and not oranges here. > > If they are fine to merge w/o that, I am fine. As of now we have just > > 1-2 platforms to test(that too not so simple to get started) and the > > long term support for them are questionable. > > Why is the support for these platforms questionable? People are actively > working on these platforms and the feature set constantly improving. > Qualcomm will never fix any firmware issues and we need to quirk any bugs found. I would prefer the first platform to minimize those as it would be reference. But I am sure QC won't care about firmware on SDM845 anymore, so not an ideal fit. We need to add support in TF-A to build complete reference story around OSI mode. > > Also with SDM845 supporting PC, we have excellent opportunity to > > compare and conclude the results found. > > That's correct, ATF exists for SDM845. But with the standard choice of > firmware you will get OSI and I don't know of a board out there where > you can switch between them and do a apple to apple comparison. > One that's not PSCI compliant, system must boot in PC. If QC was any serious about this, they would have attempted to fix them in firmware. We have given this comment at-least 4 years back and if that's not still in the current gen products, it says something. Sorry I don't trust the firmware story from QC. > Devices such as RB3 (96boards SDM845), Pixel3 and the Windows laptops > are all OSI only. > Again not fully PSCI compliant. > > So landing this support is not a question of PC or OSI being the better > choice, it's a question of do we want to be able to enter these lower > power states - with the upstream kernel - on any past, present or future > Qualcomm devices. > Nope, I disagree. Better they fix future products. This is a new feature in the kernel with the claim that it's better and since last 2-3 years no efforts are made to prove the claim. So I am not really worried about running low power modes on their past/present devices, but more worried about the precedence this might set with unproven claim and other vendors moving to this without considering all the implications. -- Regards, Sudeep