Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1843136imm; Thu, 9 Aug 2018 03:00:37 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyZt73dWPoq24VrHjdFqPuPTniPpYRe6hbk7Ri5DlreK/WZnd51xrvDxOdgVHhQTKIh+ncZ X-Received: by 2002:a63:8e41:: with SMTP id k62-v6mr1453287pge.187.1533808837723; Thu, 09 Aug 2018 03:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533808837; cv=none; d=google.com; s=arc-20160816; b=bJuHk4JFLxDcXrs8fwzhkT3ZaJNRda7n+TYd41y7J0KC4ZUAUjVFEqTOJ5M/vS9FLS 8taeTGAQCvOZMZgdrwrZvRyLZXjJb62PV2QoTppUPAD5rkgr04emZxZeWPSx8pI/Veq+ qKb8amTDP0dnG6ydIsGPepoFClY27sQCDNXpCngxsriQr6mQHFSNl1ui0M0yTPumwwqe WdlNFN05j7tGDw/p7ZCo5vGlq1HE5eIji1Ewdqw8xq/Gw0sQ+2Ixghu1umTkx5hm8Jes 2hBo8lbG/eMg+lM6evsplqezP88oxnUnfflcod5hYKKSKFZ4q088OOObAu23dGYu/dyU GG9g== 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:arc-authentication-results; bh=79dP6ozirGE1x4RE5B+OTsKgSMYmvwabQDcvpdL4hXw=; b=xjrti5AlnJO91tRWDnxO4Mhyat9pF0Yc7A8P9apRcYNPGWtbVrg3Grm1N46tNTfY0M QikXt9t6qsUHVTo+NEw20BFZmcXGz69vq/Me6Pu2C5ie9iF2tt/XZRestEVxz1YJRo3K Ynsyy4ywYHwaUZQx6uv8IM5KFV4Y1ppMLo6jkW5Esxvaj9y+DppmGaFXrdiQlaZ5jTpg KEJ9zAy18MleMXxjY+esumgTePWPdhuVcbxkLyQujUyvT2A2/x9FmumCagfkQRX0B1d/ ERX76Y1GsCAYvOXn9Oen8wpYgxVLtkLDYlg5sohHLTivlNdp7RJ2r9LxkxbHVSUFLamp 20Ag== 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 n7-v6si6006559pgm.612.2018.08.09.03.00.22; Thu, 09 Aug 2018 03:00:37 -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 S1730132AbeHIMXB (ORCPT + 99 others); Thu, 9 Aug 2018 08:23:01 -0400 Received: from foss.arm.com ([217.140.101.70]:51240 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728130AbeHIMXB (ORCPT ); Thu, 9 Aug 2018 08:23:01 -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 0D52718A; Thu, 9 Aug 2018 02:58:55 -0700 (PDT) Received: from e107155-lin (e107155-lin.Emea.Arm.com [10.4.12.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C95643F5D4; Thu, 9 Aug 2018 02:58:51 -0700 (PDT) Date: Thu, 9 Aug 2018 10:58:44 +0100 From: Sudeep Holla To: Lina Iyer Cc: Lorenzo Pieralisi , "Rafael J. Wysocki" , Ulf Hansson , "Rafael J. Wysocki" , Mark Rutland , Linux PM , Kevin Hilman , Lina Iyer , Rob Herring , Daniel Lezcano , Thomas Gleixner , Vincent Guittot , Stephen Boyd , Juri Lelli , Geert Uytterhoeven , Linux ARM , linux-arm-msm , Linux Kernel Mailing List , Sudeep Holla Subject: Re: [PATCH v8 09/26] kernel/cpu_pm: Manage runtime PM in the idle path for CPUs Message-ID: <20180809095844.GA3444@e107155-lin> References: <20180620172226.15012-1-ulf.hansson@linaro.org> <2056372.NMt4aPaF4h@aspire.rjw.lan> <2205807.cU2puvubpP@aspire.rjw.lan> <1726374.375PCQfjLZ@aspire.rjw.lan> <20180808105619.GB25150@e107981-ln.cambridge.arm.com> <20180808180248.GC27850@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180808180248.GC27850@codeaurora.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 08, 2018 at 12:02:48PM -0600, Lina Iyer wrote: [...] > I will not speak to any comparison of benchmarks between OSI and PC. > AFAIK, there are no platforms supporting both. > That's the fundamental issue here. So we have never ever done a proper comparison. > But, the OSI feature is critical for QCOM mobile platforms. The > last man activities during cpuidle save quite a lot of power. Powering > off the clocks, busses, regulators and even the oscillator is very > important to have a reasonable battery life when using the phone. > Platform coordinated approach falls quite short of the needs of a > powerful processor with a desired battery efficiency. > As mentioned above, without the actual comparison it's hard to justify that. While there are corner cases where OSI is able to make better judgement, may be we can add ways to deal with that in the firmware with PC mode, have we explored that before adding complexity to the OSPM ? Since the firmware complexity with OSI remains same as PC mode, isn't it worth checking if the corner case we are talking here can be handled in the firmware. -- Regards, Sudeep