Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1587407pxy; Fri, 23 Apr 2021 11:37:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxd5IYj6CYYaw5V2IPNbfgxbLOZ9RfWNojBa4EUKFxlE6hcduo87ZP5FHIXuMDV81o1NPno X-Received: by 2002:a17:906:4913:: with SMTP id b19mr5752875ejq.439.1619203035802; Fri, 23 Apr 2021 11:37:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619203035; cv=pass; d=google.com; s=arc-20160816; b=MM4Vwx9fdbXwj7jGaiXXKjYeUTwMIg91NdJhWiIRkJMmgLcdEtEgf5aGXexzVWdxOg B0NkMgKbuygPA9nn48Ylq/RCBmt42oaZ6jCeq7aT++OhLGrl6r4YHfR8YMuSrpAuh9rI /ODfeh5khPDFXR/TAvR2FJqsaH7veu1JBpaBwYOatgaaZZywDPClk56ZAFyJnY/rLDPs 0wV0dF0iUSaZsplbIRzQVlAhQbiBrXi7kRVkgEcwgCvmtgwN396S2YG00s5IUHSgG3EN 63jDDqd3keoGlh7qNNTve5dzjgQ+eE9jqwkL8KbRe1Ir5wgSS4Qnv72ILfCbSY+GU2ec E/OQ== 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:from:references :cc:to:subject:dkim-signature; bh=SzSnUskQIolxLp7uFinzRSD99r8vMRIHAdFLvcFw8hw=; b=OTgyNpDZspEDsI96Q7ZifgW+O9HfOHu2rousr8Zlmdxyne4x+aClJr5pYrrJ0UQM9N VDEaPkBoh/2C4Wsru0swRVfko/mABX5qs/pGVOWirNyf/0KXdrGXrtNhUi0RhNy39upp PZdFojS3p/NsmmXZPAkcM/zm4/2yy/YG9Eg+BfGbY6dYKnk/p0zebVRn5DvyMOl5f2NH Q9BzagVd3YTfUCuiVwwg+9UDIcGtpUCUT7654wcLZMOkd/gm7KNhuW1jguZjd+YqUVDX Dfg6XHVBE9UfRhzBD5g2+wA2fCj22KPALdfVtJPtqKn1QWeEWq7WnrOrQ3msOzuIb6sD v7zw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="O38/KSrO"; 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 s18si5747032edd.16.2021.04.23.11.36.52; Fri, 23 Apr 2021 11:37:15 -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; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="O38/KSrO"; 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 S243571AbhDWSe0 (ORCPT + 99 others); Fri, 23 Apr 2021 14:34:26 -0400 Received: from mail-bn8nam11on2053.outbound.protection.outlook.com ([40.107.236.53]:13281 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231728AbhDWSeX (ORCPT ); Fri, 23 Apr 2021 14:34:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CRhlCQphblMBPop9q0w4mUq9Xik5CilPWbDIX9RyfX0ftVpkTsdEbgxuAJJoh7zO5jQuD35sVED/y/4y2xhB/Aj05FsGdjJrDZMA+dBuLWZPZ4rwVrp74SswPYKjctfwWNYzdSF7aex9RI/BGnnwCsNdfv0lQ//oNjxkkuMfPP9dWhmZmaLXUpZ3KsuTBs9Gvt/gygBX3BwbAw9xeCOpTI4KGWqnWIV8t/QKjsG5xzwQXhn7XWc92QhAANkF64zAM86tJkNGOJxpgbxfjcBN3nTUkoSdnbC00Rb3QsaqEJzBnsJG6GXguvVs8yZgY4t+FnXkjwHkzc4fQ1j5KIUw0g== 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=SzSnUskQIolxLp7uFinzRSD99r8vMRIHAdFLvcFw8hw=; b=QKdTRvQhxDAQnQA6Der1ijwmQ0TglAUR4YMbvLo+WdZb5SXZr4UvhBFjwJTyyGEvokqwtbCh/NP2aVNGhIbGN2Rst/MBh9mvBBg0edPyjHgmZpwX7q/jM0EaxXIMPz634/GH1r0TFPgAwGL0PaHy3KNJ8GeTFw15vrqYCsBLNdHfFNsdcBN8/BtrwENAlQh5Yt6gr+8oWeVdtrqmBIaZXPHRx0T1hprlsszE1/k7eoFbDYRt7UgpHFbGz8IstU8dni2qlNvOik6TpzVt4h87lCPdULSkitLnGyp3ib1U21ztU5zgWnE+4pW5+YofSPe7IjHc2NnkBjTpQMeIqL5o3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=gmail.com 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=SzSnUskQIolxLp7uFinzRSD99r8vMRIHAdFLvcFw8hw=; b=O38/KSrOKmaIwI06eM0pybZSDvFbmaoZ4YkGprjJ1wJOVNQjn2Rqtbig+M6BCN4LIkrFeZCb7zpMSdrU8c/+waGaY1xWcKVPOuShe0vxNvw8x0HoMSumZ8UWZYAWgWAisTHriyhKNVnCKgeUlJvzZjmGNzdD9IG/Sc/sC78MEvgq4t6zLfyanzhd0GWbOAsR1DiBj9314myDeUC8saekHlofXkjp2cAkq/ZzyL1ZxcqN7515mxHppIED3+DIFKeBC2VFhoo04L5FumlOEdMbiXb+dDuLxUPcfyMuC7vhBSPArquqlq8Gp6l3Pyc6YEc4ZypgtZMR+19BggWSqoD7Ng== Received: from MWHPR22CA0060.namprd22.prod.outlook.com (2603:10b6:300:12a::22) by BN6PR1201MB0003.namprd12.prod.outlook.com (2603:10b6:404:b2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Fri, 23 Apr 2021 18:33:45 +0000 Received: from CO1NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:300:12a:cafe::65) by MWHPR22CA0060.outlook.office365.com (2603:10b6:300:12a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Fri, 23 Apr 2021 18:33:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; 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 CO1NAM11FT060.mail.protection.outlook.com (10.13.175.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4065.21 via Frontend Transport; Fri, 23 Apr 2021 18:33:45 +0000 Received: from [10.2.164.27] (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 23 Apr 2021 18:33:44 +0000 Subject: Re: [RFC PATCH 2/4] cpuidle: menu: add idle_time to cpuidle_state To: "Rafael J. Wysocki" CC: Sudeep Holla , Souvik Chakravarty , Thierry Reding , "Mark Rutland" , Lorenzo Pieralisi , Daniel Lezcano , "Rob Herring" , Jon Hunter , , , Linux ARM , linux-tegra , Linux Kernel Mailing List , Linux PM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" References: <1619123448-10138-1-git-send-email-skomatineni@nvidia.com> <1619123448-10138-3-git-send-email-skomatineni@nvidia.com> From: Sowjanya Komatineni Message-ID: Date: Fri, 23 Apr 2021 11:33:41 -0700 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: 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: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e4677f3a-8b92-41ea-2637-08d9068653f7 X-MS-TrafficTypeDiagnostic: BN6PR1201MB0003: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dMgeX3A+/tHv4cBSFWjAlxgXOfcQIvJjVuzNgWMxG15MdnReQ1ISrsG7EDlfbXmcxR/FsNomYnzjOQNaGPiNZXpIM6RgEjKBmY32SFU1cYwbmEW9EjhKVj6wWLnu0YOCvM00/Ei2ohFhUNCj8Ji9pb0gHcj3C2pyw7Bu81rgRm5Q850j7Cy2Bnq6um0v+FFpZebGhcd/i/xaoZZXY/NLJWlGc3+UaCCIvCOr163uxdC5YVmP8RuhdSAfrr+YsNVZwsb3uR+TPw8AsOPyU1odEDgCYhIYjGxvFz6Z8+x8w3ySV/8rN5a41PiaNVGEl+2VyG7WZ0JGgUgbI776htz+BVnD7SlOnPcA73R5c0fyCbsQijMhNCxkajPNoccYsVkaCpZPjEqu8xFYSgLJqgDTse77+OLRgbwFK+GYb951z6Z50B1rCuqmn2ETo9ZIu3lepNjfDi2R91j6ohH5AGY5tfNfS+tFrqiN0DTkVxQIuk5QoaUk1y7a/NM2wDEZziad4TFLArv4xv1EselITlyOZgTxULcpYBmUdDZDaY11vlE/mrIn1WAHulSumnfZnRwfWou+CaeSdNPFAMh+MuASbENMWq4U5DyEG48AfR8XfeTiSZ381f+c67lXq8PxMXQRmZe+ulTkIAuF4Gck0A18nulOjJ9OQbiJpb7yhCbspDreX5pfbD9/sOeuQDh1ea4/ 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)(346002)(376002)(396003)(39860400002)(136003)(36840700001)(46966006)(31686004)(82310400003)(31696002)(36860700001)(82740400003)(47076005)(36756003)(86362001)(53546011)(356005)(4326008)(36906005)(2616005)(2906002)(316002)(8676002)(26005)(54906003)(426003)(8936002)(16576012)(16526019)(186003)(4744005)(70206006)(336012)(6666004)(70586007)(5660300002)(478600001)(7416002)(7636003)(6916009)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2021 18:33:45.2626 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e4677f3a-8b92-41ea-2637-08d9068653f7 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: CO1NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0003 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/23/21 5:22 AM, Rafael J. Wysocki wrote: > On Thu, Apr 22, 2021 at 10:31 PM Sowjanya Komatineni > wrote: >> Some platforms use separate CPU firmware running in background to >> handle state transitions which may need runtime idle time of the >> corresponding target state from the kernel. > How exactly does this work? > Explained this as part of other feedback in Patch-0 Thanks Sowjanya