Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10582C64ED8 for ; Mon, 27 Feb 2023 16:10:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbjB0QKp (ORCPT ); Mon, 27 Feb 2023 11:10:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjB0QKo (ORCPT ); Mon, 27 Feb 2023 11:10:44 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09BE922007 for ; Mon, 27 Feb 2023 08:10:43 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id i202so2746597ioa.3 for ; Mon, 27 Feb 2023 08:10:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IDYao4+klqBlSHhE2pkjIhJjL+MuNJUDI23FLbU6dUE=; b=mstgBzaiAVkACCuOMLp/3Dm8yNAa7Mwz9HyjdOlTalcAEs33vqm7hoMmEdunIx8+Ph jnva3xFwWoCLp7wb33LqhUt4eOovHJI5pqheILP/D2MTbeVx4tnF1tVSdrB9VwugoGUs oSetSr1v8KpT9TygcF1lVH47q+DYWFhJbRtXg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IDYao4+klqBlSHhE2pkjIhJjL+MuNJUDI23FLbU6dUE=; b=H+XwK4Q/i8DkA5q1DnORB8aNT5MeYj41huyrdblGvbEU/sYGf91tHNJa7JhNN7/5Tc dJwnY+Hydknn1XE59e89ATtBQDVA4u8WQ/Lhe/PdEVq9IDTtQnHNJ45jbXlz1/mO4lWX 93iTdAHNeY56fhS5f1Kd0A14tN1sUgS5WTH2GEsiOWCzl6wdS8UMJBP7gu1Njf7ihIhY hoTz/aJBqIPRFyps0M+9q1CTH2CxVk1EFZ55Va+trPCgIaVY6JdHDRpDpSzy2pmc3FjN JDOXhF4D9j2eN9uBnoQWpytaay33PJ+NGBIMdvnJYLT/RVBaRYvj/0v5z+dl+ioKLNWa 7qng== X-Gm-Message-State: AO0yUKUuvxkLnDHAaJIIoFIv8I4ozN/RhUvMESolwDvDdckO1oNLP+hH UixPesw7MBFOOQAGOSLeCepg5Z+v76DD9Y9s X-Google-Smtp-Source: AK7set+n+NZSPmWOy31+AwMd3NImZf4Cf0+VjJsU974CcLtznxvUVZmi6mVom5OAIBW7bhDjUv+3MQ== X-Received: by 2002:a5e:c20c:0:b0:74c:b91e:1c17 with SMTP id v12-20020a5ec20c000000b0074cb91e1c17mr7025599iop.13.1677514242189; Mon, 27 Feb 2023 08:10:42 -0800 (PST) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com. [209.85.166.44]) by smtp.gmail.com with ESMTPSA id f13-20020a5edf0d000000b007437276ae6dsm2384035ioq.3.2023.02.27.08.10.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Feb 2023 08:10:40 -0800 (PST) Received: by mail-io1-f44.google.com with SMTP id f14so2745584iow.5 for ; Mon, 27 Feb 2023 08:10:39 -0800 (PST) X-Received: by 2002:a6b:ac06:0:b0:745:6c2f:61dd with SMTP id v6-20020a6bac06000000b007456c2f61ddmr6111510ioe.2.1677514239445; Mon, 27 Feb 2023 08:10:39 -0800 (PST) MIME-Version: 1.0 References: <20230215071649.9078-1-quic_mkshah@quicinc.com> <20230227153848.auqs4e5hf2qmwmg2@ripper> In-Reply-To: <20230227153848.auqs4e5hf2qmwmg2@ripper> From: Doug Anderson Date: Mon, 27 Feb 2023 08:10:27 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/1] Use PSCI OS initiated mode for sc7280 To: Bjorn Andersson Cc: Maulik Shah , ulf.hansson@linaro.org, swboyd@chromium.org, wingers@google.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_lsrao@quicinc.com, quic_rjendra@quicinc.com, Julius Werner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Feb 27, 2023 at 7:35=E2=80=AFAM Bjorn Andersson wrote: > > On Wed, Feb 15, 2023 at 12:46:48PM +0530, Maulik Shah wrote: > > This change adds power-domains for cpuidle states to use PSCI OS > > initiated mode for sc7280. > > > > This change depends on external project changes [1] & [2] which are und= er > > review/discussion to add PSCI os-initiated support in Arm Trusted Firmw= are. > > > > I can update here once the dependency are in and change is ready to mer= ge. > > > > Please do, I will drop this from the queue for now. I'm a bit confused about why we're doing this. There's always been a question about exactly why we need OSI mode. As far as I can tell it can't be for "correctness" reasons because we managed to ship sc7180 without OSI mode. ...so I guess somehow the argument is that OSI mode is more performant in some cases? Are there actual numbers backing this up, or is it all theoretical? Before making such a big change, it would be good to actually understand what the motivation is and see real data. This should be easy to collect since we currently have things working without OSI and (presumably) you have OSI working. It would also be good to document this motivation in the commit message and/or cover letter. -Doug