Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2082688rwb; Thu, 19 Jan 2023 20:46:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXttbbpvXLnieUox56OEi8c3Fn4Wa8DDYrle7US6g+UxB8BYZCBPcP2JcZTiCeE+z6ppRJpi X-Received: by 2002:aa7:d310:0:b0:49b:9c5f:fe30 with SMTP id p16-20020aa7d310000000b0049b9c5ffe30mr13708603edq.29.1674189990341; Thu, 19 Jan 2023 20:46:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674189990; cv=pass; d=google.com; s=arc-20160816; b=by8ruJXC/O01KuahuU+kew2X9s9WNGQHJ20LViZqF4oEHrR6Y27an+UsFtc6nXIqrP xo7x0W1EvN8WkPaGqoWxzfrQe0oifnyH3BoxVSkJU/cKfhsYpDk0VxGGzgi1TGoGg7KO LTXeGJdCv4Px5s0DvbqnD5+MVVfQOt+/o2gd4tu9uotV5cvUxgyXX+R2gSGR3HLD12Iu ZFf7RTkn62BR+nEvoYBRtLtQu5jh/fCXwcuDaCHkh48uhXqvnjv+SjYHkOwfwMrc6Kf8 GicK/u8e+EUb955/i0Cj/FNIFeMWlrKbDVv603keN9rhzJF213Fzi06Y4P0ThOaWWDqV eFHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=LoGX+A8j37Lhz5LRM6rbNdW0qABbpt+z/tE8Ty8GPmY=; b=ADPo5V2DB0ICUtTeMHmlgwbSvzP8A+bYJABif5jUpAj6fPCYAuUrg5fXUtN2rXLJrW o92Hy0zS0t9nveo8iWYzCQT9x1pVA98uo4wjxwZ3ia7gjNFFtaNX98VztKhV3+pMEpzv tyK8lpdfaGXy14rZWL0gge8yyjs3M7LKiKQBinRJVim5xQZWDUKM23jEcV1V4ym9BkFB sFmc1GKP/YsfDXJNINF7+9RpUGaMxprkthDpMUe78cYHW57wukeHPnO33Vdw0uuRkSyv b+l/51NS0v+Iiv4JKagYxV0dT7Mzq+G6hbLaiLszXqH5fctWK9oeNraTvFTxHJvP7iZU 99JQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Dt8XsfRt; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a056402349100b0049e1b840be0si18910076edc.9.2023.01.19.20.46.18; Thu, 19 Jan 2023 20:46:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Dt8XsfRt; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229707AbjATEQn (ORCPT + 49 others); Thu, 19 Jan 2023 23:16:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjATEQl (ORCPT ); Thu, 19 Jan 2023 23:16:41 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2083.outbound.protection.outlook.com [40.107.243.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F01E893FA; Thu, 19 Jan 2023 20:16:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FzOKWwOEQAXKWswgzfzWlUsJio1tKQvlCgzTYFVRynoBJez/akBbR9bnAfw45k5D81H9P910hf7FThD+SeHX5zCThlaRnq45jU0zYIXnCuxZTaJySGGq16ETEGB88ly/SIKNbnJ1S87/Fv2i+z4oGjRsVV/8Rh9L9TK8WKM7VVHU0hwRegiYXBcrgnvS/pcJPo2poUuLaKvGhtEuDlczusoMyQX/vcckzz6cBSk+7OBUD4n/CuIjzt6sXFDoAYX4EaP64Agu6+i1RUghl4qytg/U1FGZuscYD13naKTcSPZvalPRwraB9Jj0jgBfr5vEtVNTZ70IPpn/iTMhfO3GAw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LoGX+A8j37Lhz5LRM6rbNdW0qABbpt+z/tE8Ty8GPmY=; b=JAGeZsz+yLjGkZ/P751vAi3DFXnoYhSyFBujzqYKDecWU7AkWI/zcHz6sVJ6Xdwm+rGFr7LBvL57FeidG3ZdmrGJmPM/uT1jx0957dasDXtzUwZtyBj/f5PhsSCIuCZ0OUPxAkC+Q6Di6QVXFxiDaYwo4m4FegenubsQ2qtzpHcSh/LgLrfDqwLDnFW5WeV+gWkKXDJZUFAZQdfwlvTj0GW/Yie4qgtSZ/SvPY1C86GTMLRAna9a/EYE89qK5V1F2cdLeDcqpS4w4ScZkYDMeyirzlQCk+67ZvzCxEBxFjInkMtBlS7nn/wodTmWRi6qtY6XrUSlXa8RVehYR8M3mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LoGX+A8j37Lhz5LRM6rbNdW0qABbpt+z/tE8Ty8GPmY=; b=Dt8XsfRtKx51w3xcBW1xsKOybklYaytPtskwblBJnp53ETCVGJMUphZdr1qm3Jw8iIL8gAdWxfNVo0r0fwUZ2IlR0JwPdT79GQvJx9kmTQHxjmJm5ZZWKW2wTs2Sfas7EQMZ0b5rlDUMIIdYxf206zN6wQB+ueQkNp1OWjlaAts= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BY5PR12MB3876.namprd12.prod.outlook.com (2603:10b6:a03:1a7::26) by SN7PR12MB8060.namprd12.prod.outlook.com (2603:10b6:806:343::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Fri, 20 Jan 2023 04:16:36 +0000 Received: from BY5PR12MB3876.namprd12.prod.outlook.com ([fe80::4ac9:c4f8:b0f:a863]) by BY5PR12MB3876.namprd12.prod.outlook.com ([fe80::4ac9:c4f8:b0f:a863%7]) with mapi id 15.20.5986.018; Fri, 20 Jan 2023 04:16:36 +0000 Message-ID: <39061ae2-e8a2-c3c1-7909-9bcb030a16de@amd.com> Date: Fri, 20 Jan 2023 09:46:22 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3 6/6] Documentation: amd_pstate: Update amd_pstate status sysfs for guided Content-Language: en-US To: Bagas Sanjaya Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, santosh.shukla@amd.com, Len Brown , Robert Moore , Borislav Petkov , Rafael J Wysocki , Huang Rui , Jonathan Corbet , Viresh Kumar , Perry.Yuan@amd.com, Mario.Limonciello@amd.com, Ananth Narayan , gautham.shenoy@amd.com References: <20230119115017.10188-1-wyes.karny@amd.com> <20230119115017.10188-7-wyes.karny@amd.com> <13f7a493-d1b6-481b-63a5-64080a4aee90@gmail.com> From: Wyes Karny In-Reply-To: <13f7a493-d1b6-481b-63a5-64080a4aee90@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0010.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:95::11) To BY5PR12MB3876.namprd12.prod.outlook.com (2603:10b6:a03:1a7::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB3876:EE_|SN7PR12MB8060:EE_ X-MS-Office365-Filtering-Correlation-Id: 31603a1c-0740-4681-d9d0-08dafa9d1e81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CzOsjRhkKk7981uUs8GweWcyQzbptaR28d3/imHf9AUvdMQ8qga88o0goEe/I0+jBgZasjNppSHCK9rG2PSqaQZk9yUUkYiyw4xRgqaINQtxgSF7aYaIZKu+MyzUDPOJlwvYKt+sv9p+5EgWTWn0NA2eDNft2yJT2uTWUTdxk5dNwseyzyo3qGeppRk2TjRalpxZL2HM00Wpx1g8NN/AuaYeIXjZSek2WV+OVFqq0NIS23L1estfCPcaqDyVqnAkfO3A8PKKhKmvbZoyeEcZ3AAKWZOqzD0E/NpsXwh1mHgKsiWX8NxaxANFFQ8fmdW6LKKYzywzJzpC9VJmQZqZVNxSFeakIpCfOfXJ2R8WrBhC0COX51uKm0dB0lLISkBAzEVE5oEypl3Rn2JAJGjhW17jBDzIhjXxLjg1YG2zUkgPaAOM9QTmEjvPManUQ2Mej1j/G0oN2mD4vFpD4++04JGGRonr00DgI7xHTeXo4KXjTxND0m0UR7YDi0BmIM0POS4zN359gOHUiSbsVYUK4UF28P0svDWCWZeELAjAEVcYLcJ18ui03qPgUaGBIYY+/yRzjSXS2DsIFMiZyAoIwYkqNBCQB/iW/bPzLBdm3RnQ5g9BDPFopFXLeqPrGXEVkHeO8UJhvQ5JDW6MXQTAolmLk3Pf7hkHnsi0rig7KerrFDSGAgAorIjgpXDpuDTYQSRc73G4j2F2SktXBH1w8uUiT4EAZ3SaQ5Y10QIi8ZM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB3876.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(376002)(136003)(346002)(366004)(396003)(451199015)(36756003)(31686004)(478600001)(86362001)(31696002)(66556008)(66476007)(15650500001)(66946007)(7416002)(4744005)(2906002)(44832011)(8936002)(5660300002)(38100700002)(316002)(54906003)(6666004)(53546011)(6486002)(6506007)(8676002)(186003)(4326008)(6916009)(41300700001)(26005)(83380400001)(6512007)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZlNmbWxQeFpsSnBoZHBJejJHSCs3TnBrekhtTXJBOXZRM2RVOTQ5bjVZZnVN?= =?utf-8?B?RUNTVzhqUFprRFdZMVlIcG5OaW9yYzRVdnNpMlBpd2tvQWxpMUhGMWhxbW1v?= =?utf-8?B?b0l3bmhTak1hcFFZK3RXS0owQkIzUmx0SGN2bDRUS1QyWEVHakhHSUVxcnRi?= =?utf-8?B?VHhHTnlaWi9GTjBiSXVpUFJBTlFrMmNoNnpDK0VQdG5CWWhFUC9uUlBFY2Z1?= =?utf-8?B?Z092Y3VWMWM4MHZsRlZxMWRXK0w1Q2dNQ2FXN1kxNCt4dU1DSHpaUzljMFRt?= =?utf-8?B?L20x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1sZWhrcDZ5MUdDaitablNzSXlpZFNNcjl4QmJR?= =?utf-8?Q?bThuo5S55Sl/2Y5BcDEM9eIsW?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31603a1c-0740-4681-d9d0-08dafa9d1e81 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB3876.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2023 04:16:35.8888 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EF8q7vd0oOHZ53kC5lQZUsQeD0Z6+Xj/CupUqseAWRcTJ9o3Fwcd2w5uINH3w1j4mvo7+PBbwWqOL/sVRZ8D7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8060 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/19/2023 6:00 PM, Bagas Sanjaya wrote: > On 1/19/23 18:50, Wyes Karny wrote: >> +- In autonomous mode, platform ignores the desired performance level request >> + and takes into account only the values set to the Minimum requested >> + performance, Maximum requested performance and Energy Performance Preference >> + registers. > > "minimum, maximum, and energy performance registers." Thanks for reviewing! Will update. > >> +- In non-autonomous mode, platform gets desired performance level >> + from OS directly through Desired Performance Register. >> +- In guided-autonomous mode, platform sets operating performance level >> + autonomously according to the current workload and within the limits set by >> + OS through min and max performance registers. >> > > The rest is LGTM. > -- Thanks & Regards, Wyes