Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp686654pxf; Wed, 10 Mar 2021 15:22:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQd8jbrjTc/x+nOQxWFjymp68fpr2bLIC47Gn5JsDQj6cgEm/gAQiQCOtRXAB03HD7Rj4k X-Received: by 2002:a05:6402:158d:: with SMTP id c13mr5711302edv.297.1615418574457; Wed, 10 Mar 2021 15:22:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615418574; cv=pass; d=google.com; s=arc-20160816; b=THH8CjHKl/haGloE/a7n58p+lF8dS8kp1RGJszmz4Ys8RR+gcH3YTYYdaxp2Uzw2Hg gxzAbG5aRVS6oBqSsJ4BUHkTXOKGYw9+JwmcqvmZasdP9nqR2jM8lZi8iGPWXNZb7Ng3 uOeft1ugz49S9SyFdH6KS2p9Ggp2JdnkPfPxUtLC9lrjznUGPA+AQvGMiN0gpTxJGr9l qozAcHUp/I3uPTHtuXS6lrsuZ8BJoV2cuC3SIpd4CCnrGLlYO3sJmTvVuLHWi7gP4TfW 0oMxkWprJYbU9GSZerHiDNGV6g+l71F7PJqlRL6GV++TtcgYSfnzeZ/coSziAIgUhMmd 9JUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=lFu505FR9RYT3OrjpTPnnBDCFaROic+fMpgLK+ozp0k=; b=LZQWZVhptkH/Jtu4yAuJ5DurnjpxY2XdOr7xKI34TcN2Bj5+5IWHepEHaU0N/CFg5U LUARLzTgtNoillLEO7lOksGTwCrYyw8IXkWOSnItEbvekxiI7lVeOv6DW0zzqalKTFf+ myiEFvjxNOsjckK3Po8j5AYFSvvP7QayG0k7zs9u5Y3BMQl+sFvkH5hRAP8N5y6dbWpX 7FuPzDqFNwK90hh8zkPagr7AsWtT3kYuKlO1ZOM7/kyj9mo9xQm4ohWdZ5B2UL8MgPp1 6BWU/bpKZXBBd3A8feah4FFbHn7ZngshUuc1nIzlVwZgk8bNmkbeft5My8jV0biu86+z xIow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=VuFA1F9b; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w22si491830ejc.517.2021.03.10.15.22.32; Wed, 10 Mar 2021 15:22:54 -0800 (PST) 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; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=VuFA1F9b; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233858AbhCJXUO (ORCPT + 99 others); Wed, 10 Mar 2021 18:20:14 -0500 Received: from mail-eopbgr680089.outbound.protection.outlook.com ([40.107.68.89]:3862 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233565AbhCJXTm (ORCPT ); Wed, 10 Mar 2021 18:19:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZHldMle2Sxit3d7WpbI9uyLZTCXDgs2X0Izf1EgiU+XmL5+tRxJlYEGuzgQYiIiJtBRhOnRCgtCqPAJNcYjW0T7gZbVogon4WT5kgaLnR1yufNziaVcNvv6J2cEYWnmsYMKz0+k+4npOT7NbrpmNQwh+JViWpfptv34QVop9vnsBjp6EWqmOjJ/nKAtWdWqr+/NTTjdvQbA90verkIkLbvVLq3muEL0ZHKFbWJdxCgvBs2tytlp6cngiqWfUgZNobMM4qAaLRcs1jkh1ChbYB7xMLqYEeNwx7VGhyeJBukUXoI+1Ag4tCFAShL3fkfHZ+78B9OnMV42+ZctnflSAHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lFu505FR9RYT3OrjpTPnnBDCFaROic+fMpgLK+ozp0k=; b=hP914p2SKCSB043fgVg769+wxax7ldRfURjctuIqn1BSjkzj/nSRNNQaCtxk4+vTrW6WLaNUEGM75iFOREZ3IhUMlC8qkzBfY1F5VpcCnXhSsRyN0TO6q9MtR/41nFi5vCJzim3LkFp//W/59t7wjbkHvTpkqZ3yUWzpXGeJ9v4Cze3F5wFSYswJGkj1JtezZi54dCmdBU3/8i5FAIT636Lma7hteLfssK8ffqeIuS+dF8P7BaWvivkU/olU6LvEBojR5vWBM7kw+aLDxjiigOr8nbsumaDCllM8BAszcSzA6aidISUWJ5K5klbxUKu9ILuVrciqsUWz90DZZePWQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=linaro.org smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lFu505FR9RYT3OrjpTPnnBDCFaROic+fMpgLK+ozp0k=; b=VuFA1F9bKIujsFVa/0o7Q8JewNcMVaGNrS2UTyOZHRy8lEj1iq0HAMGjAL6hcsmBc/ffalKgvksPa20wVoXGwcsgcEDyqAvN1fXZgVUsBkyAq5HeDryj1YDAi/xuv51xzO0AtN2B3QMWNAKq3PWm5yafF2syu+cxPCcxf5diOcsm7qrMAyNI40xsLG03AJOeNMTmv77Zya6WbjqGN90xU9nm00hbiwwD3+P2KUk67lYDUgj/OlLuLiKZgoCyx4d2B/Ef2rZdmXpMzto6jCIUGatGgj+8W996oFcDxsng8hDQQtFMxSDEBvwimFIRP8eFVTvRvMk+QrCzXL/M5VpmzA== Received: from DM6PR03CA0049.namprd03.prod.outlook.com (2603:10b6:5:100::26) by MW3PR12MB4410.namprd12.prod.outlook.com (2603:10b6:303:5b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 10 Mar 2021 23:19:37 +0000 Received: from DM6NAM11FT009.eop-nam11.prod.protection.outlook.com (2603:10b6:5:100:cafe::3) by DM6PR03CA0049.outlook.office365.com (2603:10b6:5:100::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Wed, 10 Mar 2021 23:19:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT009.mail.protection.outlook.com (10.13.173.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.3933.31 via Frontend Transport; Wed, 10 Mar 2021 23:19:37 +0000 Received: from [10.2.172.165] (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Mar 2021 23:19:35 +0000 Subject: Re: [PATCH v1 3/5] dt-bindings: arm: Add cpu-idle-states to Tegra194 CPU nodes From: Sowjanya Komatineni To: Sudeep Holla CC: , , , , , , , , , References: <1614838092-30398-1-git-send-email-skomatineni@nvidia.com> <1614838092-30398-4-git-send-email-skomatineni@nvidia.com> <20210308043755.llvdsuz2jwvweovb@bogus> <4cebf482-a2f8-5a79-a2f6-4ccd7d31c6ad@nvidia.com> Message-ID: <72ba3be5-670a-096c-4d48-9d1d8d6ae0c2@nvidia.com> Date: Wed, 10 Mar 2021 15:19:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <4cebf482-a2f8-5a79-a2f6-4ccd7d31c6ad@nvidia.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 843c7f8d-8030-4d78-6ff3-08d8e41af917 X-MS-TrafficTypeDiagnostic: MW3PR12MB4410: X-Microsoft-Antispam-PRVS: X-MS-Exchange-Transport-Forked: True X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oNUKlBMzW1UNHVZpOqCYiWoDpXDnszdXrUmZjuKy7kTF9+s0yfJDHnHAxh67s0vYFY92muuZMuBjxjhVBnUrea6NIwgKs4Oik8i5sJ0JI4BDicyXtOLPQTrmH32fDFFOUI3qljqaPMRshWTWDhmYtMo0HurYA8ATsChZqKq93rdmP3bjWyjUq2nAq6wFNrL5TLUZOQhEgJVfceoA5MWSmwphz6UGOsgIsD0r7Mb1vb43PU89ozIZpXW+/k5GJLf1R1Ps8Iu53v6dPhyq3/Le3mtmlZO5AMoqkKHlwbW7VMr2ae6t/J1Ivt4RsuoVdu6OvV7VFie39afPkwftjOQCJj81PLTgRfHhZ3RMRITwuYo8+KL48c0jbV9juDHtZ8vwBtVlEnI11WiiIHnkM0gOGHUDY63Ged9apE8NGl8H9ihXZhE35tkFRseoyE/IW7cvyE38+OvAXNthgZ4K64h6XX7E8ftsVj+m1xXFaTYyhnjuZlTjhM+IDNJo5hkUlW7EkyWCHYdQg6uTcXJkAFsNbuG3AXL5OJs2W7PlxWQyX2I5ivAUAh2vY9DwLcef8jAUeixwc8rq9mjKVox6kPxZjxw0RZunoF89YjAy8xd6rRibh0PFS7zG4q84Qr+qtbgjUdRmA88v1YQP/pLvJbbnArzMrJcw5xyV++VqNgEqEhRcZih9fRCsyNBFkOB86p6Rh7zXXsseCPA8rq6nGLKnP/woyFCk7WZCKY/G7ldPbJ0= X-Forefront-Antispam-Report: CIP:216.228.112.34;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:schybrid03.nvidia.com;CAT:NONE;SFS:(4636009)(376002)(39860400002)(346002)(396003)(136003)(46966006)(36840700001)(31696002)(53546011)(6916009)(82310400003)(8676002)(8936002)(4326008)(16576012)(316002)(5660300002)(478600001)(26005)(70586007)(2616005)(70206006)(86362001)(186003)(36906005)(2906002)(336012)(54906003)(7636003)(47076005)(16526019)(34070700002)(82740400003)(36756003)(356005)(83380400001)(31686004)(36860700001)(426003)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2021 23:19:37.1241 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 843c7f8d-8030-4d78-6ff3-08d8e41af917 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.112.34];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT009.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4410 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/8/21 10:32 AM, Sowjanya Komatineni wrote: > > On 3/7/21 8:37 PM, Sudeep Holla wrote: >> On Wed, Mar 03, 2021 at 10:08:10PM -0800, Sowjanya Komatineni wrote: >>> This patch adds cpu-idle-states and corresponding state nodes to >>> Tegra194 CPU in dt-binding document >>> >> I see that this platform has PSCI support. Can you care to explain why >> you need additional DT bindings and driver for PSCI based CPU suspend. >> Until the reasons are convincing, consider NACK from my side for this >> driver and DT bindings. You should be really using those bindings and >> the driver may be with minor changes there. >> > MCE firmware is in charge of state transition for Tegra194 carmel CPUs. > > For run-time state transitions, need to provide state request along > with its residency time to MCE firmware which is running in the > background. > > State min residency is updated into power_state value along with state > id that is passed to psci_cpu_suspend_enter > > Also states cross-over idle times need to be provided to MCE firmware. > > MCE firmware decides on state transition based on these inputs along > with its background work load. > > So, Tegra specific CPU idle driver is required mainly to provide > cross-over thresholds from DT and run time idle state information to > MCE firmware through Tegra MCE communication APIs. > > Allowing cross-over threshold through DT allows users to vary idle > time thresholds for state transitions based on different use-cases. > Hi Sudeep, Can you please let me know if you have any more concerns for having this Tegra specific cpuidle driver? Thanks Sowjanya