Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1313837pxy; Fri, 23 Apr 2021 05:28:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4JxauwgPvczAl0dKSAWpAgmZIJM14jyhpm6xJ/xqcZCQiYjbHPJxmS8NnnLpZ+Kyoz4rI X-Received: by 2002:a05:6402:2686:: with SMTP id w6mr4158217edd.226.1619180932510; Fri, 23 Apr 2021 05:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619180932; cv=none; d=google.com; s=arc-20160816; b=XhMm2N2j6wIFQq4ZkLZj9PlvkGY8ASdcaEJ5V2hbP9VQ7Zv72OYLbjIYTkXnol8BHo 1HW6IaNJy/0e28xqHx0DQuTpltPNwggtb0VKi4fgBKprYZEOrXSjcC0FJ0p3CeTEhEq3 Lrcb1QqInMw/qDx2Z8XV5GRgd8RfrfQFn7Na51y+MbVulGxcv4l6AREc5JVraUO2wwrr Hw5joy9isj92nQua3Avk9d8AHRuoGh9CDQihRmeepgt477KEAJbUxDI1QZvnAsvdipbk 02c2R39tMOnjqlvtmRuHUiWyu1MOQ1PUa5BNfoMGHujRNv4rzdYCxDYr4Vv+GVCGW5b1 V4dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=JPSEBMBxuY2qxFd9Jq40HNvNekQAZ7IBtDRxyp+3gRo=; b=izBIoAWV+N+HO3jScjoibrHj1zl9U0F30wTXds9oNBUS3nwlEPfDH2j9jAfWcodRuV r9bKSNwkrEn2OdYiTGaNADrWdouTXmOV8f7firmiqG2uzBQD3zMW/CF0wzQsbavCNRDC XN+FKffY/B/QdOhSmbnHVvzzOlTxj2Rm4E7mZm2cleJwDWCNnYP5RSSC13CAaEBwb8FZ CAoPBFLNlFdMULwq/yY0B1P9rpTImizVeHm/gL7F5VseWg6xXzZwuyqq9kvZGnRbQEkz MA+J4RVugeQ6E2kGJm3wefFEZaCodzYJngGCmco2tX/FnxbsA52PLwX8DZkh6wXbNEOC mEzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 21si5042390ejv.432.2021.04.23.05.28.28; Fri, 23 Apr 2021 05:28:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242390AbhDWM15 (ORCPT + 99 others); Fri, 23 Apr 2021 08:27:57 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:33476 "EHLO mail-wm1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbhDWM1y (ORCPT ); Fri, 23 Apr 2021 08:27:54 -0400 Received: by mail-wm1-f51.google.com with SMTP id q123-20020a1c43810000b029012c7d852459so5730780wma.0; Fri, 23 Apr 2021 05:27:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JPSEBMBxuY2qxFd9Jq40HNvNekQAZ7IBtDRxyp+3gRo=; b=De913AcaOV3DDD5NuMzvaEYOOxVWi6LcAC7oB22LQI9jpWwD/Fj0NVTcDloVRPcREE 0+LPqOdsJrQoWRxxl1CkGNMJP8YpI3vbsnFxmnrmWK6cL9xeCgIx+IOMysk3kL7fwFOL LqVPELCAN/dnfj1URNkkukKmvfHeuRh7nIe+ttUdkiWfvhIyBnZ/wM4RnRGQlEcMOtCU vx+ki0iat5TX052v85B5ZPbSa3lHpynAzFfI4UNY/FSdM3ieROfwlNU6BkG6zE6xC2hK GvaDJmL/Dl3JChOzsElrngb/3ydK8/VoQgxC4eZf9eIcRYoOYi+64YFrdsOgFcw7LcO6 29LQ== X-Gm-Message-State: AOAM532gpswfqVNfA94zlFr5Iz8OwGQGHAmsWdr748jZMbgC0OnwyWdO GdoE6ekMGiNh6DnLIjJv/rrYv1LNtf2z6y7ZGjI= X-Received: by 2002:a7b:c0c4:: with SMTP id s4mr4032368wmh.184.1619180836688; Fri, 23 Apr 2021 05:27:16 -0700 (PDT) MIME-Version: 1.0 References: <1619123448-10138-1-git-send-email-skomatineni@nvidia.com> In-Reply-To: <1619123448-10138-1-git-send-email-skomatineni@nvidia.com> From: "Rafael J. Wysocki" Date: Fri, 23 Apr 2021 14:27:05 +0200 Message-ID: Subject: Re: [RFC PATCH 0/4] Support for passing runtime state idle time to TF-A To: Sowjanya Komatineni Cc: Sudeep Holla , Souvik Chakravarty , Thierry Reding , Mark Rutland , Lorenzo Pieralisi , Daniel Lezcano , Rob Herring , Jon Hunter , ksitaraman@nvidia.com, sanjayc@nvidia.com, Linux ARM , linux-tegra , Linux Kernel Mailing List , Linux PM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 22, 2021 at 10:31 PM Sowjanya Komatineni wrote: > > Tegra194 and Tegra186 platforms use separate MCE firmware for CPUs which is > in charge of deciding on state transition based on target state, state idle > time, and some other Tegra CPU core cluster states information. > > Current PSCI specification don't have function defined for passing runtime > state idle time predicted by governor (based on next events and state target > residency) to ARM trusted firmware. Presumably that's because this is not a good idea. A basic design principle of cpuidle is that it should be possible to use every governor with every driver and the changes in this series make the platforms in question only work with menu AFAICS.