Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2273931rwb; Thu, 8 Dec 2022 23:18:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6p1UDLMioWFqHfo/mPRQLXwwOXupBqlHkdMPF80oDuZgqWkrsjfq5LtAyr6z271YYjzbYs X-Received: by 2002:a05:6402:4021:b0:46c:fabe:835d with SMTP id d33-20020a056402402100b0046cfabe835dmr7563225eda.12.1670570323217; Thu, 08 Dec 2022 23:18:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670570323; cv=pass; d=google.com; s=arc-20160816; b=eztxnURF/LSIiCIo/QQuRpzfnhsSDNSZ7jU+KrU+81H80OGQmges8i+jMxWF5DNajw 75vGK3l/p8mrSq/oZPUCYKcwyLYwG80GvlLEnRB81TZ693oFIclU77NASdgPHRg7MRC2 6uYT0Tqcm850WA4SEZkn0jTCYn/R+wdOv+ISF7jRLCB5N1vWPOn/0M9sXH2b+SYSWb8g VgOBVsITANeWslB9yHBtmgjcD7bGU+fsUmvh1ESbByvPox8JKbRLtfqvyn6HgXhnMjZ3 0PCVPtrDsPHES1DYE7ayztpgz8GlB8l77hvRgv6BsSwqg0o0R/QIYLuEE7/rLQnXiJjo a/fA== 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=sH9bKJbTdBLWRoYfQhTgpSbn0hghEgyUE/HnF6VcTLU=; b=m5Jg/b677Sq/3nKR9+EgxzjxmFlTJhlLUf5I166pkcrKUGcT+iYztMdNsgRETffref Il1aqtTDa7XkHdQozmnTVEvleb4rRKN7ZlhjJPhthmP3FNjQxbdA3D7oPdJjm5KjYcUP TEUz09nzGutdyAiKqWPBa/AFOhD8fJLvJYlTFE1rpaRBpqNa+c9Wz0LRGJMn27HW8bLf abmN4jc8VqgMz6eagFV6Sxd2fNaLINV+XkMwIFikVIdcdujwFKbIgf+Yr4pAMztovcUA XFAl43O7VsyKcdKbbixZgOa7NTLQEc5KnUdqMB1vv/hPfMLkvgYbZwkhigrTK30+4hVL vpug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=WeItxTbX; 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 t18-20020a1709063e5200b0076f0940cb28si514537eji.175.2022.12.08.23.18.25; Thu, 08 Dec 2022 23:18:43 -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=WeItxTbX; 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 S229885AbiLIGoT (ORCPT + 73 others); Fri, 9 Dec 2022 01:44:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbiLIGoI (ORCPT ); Fri, 9 Dec 2022 01:44:08 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2087.outbound.protection.outlook.com [40.107.223.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B72DA7125A; Thu, 8 Dec 2022 22:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OdxRGfKlpJGRm2KdC0iUgE7V9vbcZnohk7+2Hm0+4Rf5Z8a/9gqtW4KIpIC+8x1b/KZEsUppjTsL6Nr8OWumx7oTpF6PEUwiB6wO+dZtqXWoQ3i2EUKZQBQe6u7QihmJJvmrF8ioChcnv1wMkFFo0PSJv9wR1YnKzUKVz8PM6MWV3H0W9+7FTozXzcPyMk09+8xGQ4c7EawDxKoqXfnNHCh5Z073LpFOM829VKRghK9QsNtNUwUKQEu6eFWHYmDrtCxqKZCiKJKN75IYpwi9KiuC6cQuNHG/0rMJDcZax12DNJyrD2uHR7x46CGzgpbj2po+vYSLUnuYS9n8d17qEg== 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=sH9bKJbTdBLWRoYfQhTgpSbn0hghEgyUE/HnF6VcTLU=; b=chELt61UPnDGMX0HI8P5qPqdKU6NCJAl9Xjo3g8jEB+GdX4FjlJ0j0+tw0YFNKyKo/bhX4quoxLU8ZXJQGrys3QGapKbX4YLuL8EX1Tss9uqDatGRBX1E/mjVw/ykBNJJahHYFMcIK15DmezNa/Gb3KSOWshxyyzbf2LHp0JD+gvMb1iH+E1XawVxYYEpMIQj31MFhMa15WXPQEKYP2GN2zcU5lTNVKYOjcfKtA8vadY2pNA587gGtGi4iuXXVndv5bO7w3A4r48xCKLN1P/3aRK+vHBwhSLxXXC76Xh+Tlwql1ry2nWnXa21t+BP9s/ixZAhtteRywoFJpQBcb+QQ== 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=sH9bKJbTdBLWRoYfQhTgpSbn0hghEgyUE/HnF6VcTLU=; b=WeItxTbXUEmaUhTfXOAD6rZRaXl4xKefs6zfntmO+2GL/Xx2FGSn2c6hKAxCF/LkADbrsHx7fy9jONUdLgKHEX/A/7BJCCPYhUxrAasXuE3nG63sDGuxQ7JTgWygkOqxgcFeXtlEs3v47FWMDFju9E3yrBDxVi9ivOfjeRaIRsQ= 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 SA1PR12MB7039.namprd12.prod.outlook.com (2603:10b6:806:24e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Fri, 9 Dec 2022 06:44:04 +0000 Received: from BY5PR12MB3876.namprd12.prod.outlook.com ([fe80::45ef:724b:4b64:b98]) by BY5PR12MB3876.namprd12.prod.outlook.com ([fe80::45ef:724b:4b64:b98%3]) with mapi id 15.20.5880.016; Fri, 9 Dec 2022 06:44:04 +0000 Message-ID: <8da7cbbc-0a03-32e5-cc92-56931365782a@amd.com> Date: Fri, 9 Dec 2022 12:13:45 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 2/4] Documentation: amd_pstate: Move amd_pstate param to alphabetical order Content-Language: en-US To: Bagas Sanjaya , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Perry.Yuan@amd.com Cc: Jonathan Corbet , Huang Rui , "Rafael J . Wysocki" , Viresh Kumar , Mario.Limonciello@amd.com, Ananth Narayan , gautham.shenoy@amd.com References: <20221207154648.233759-1-wyes.karny@amd.com> <20221207154648.233759-3-wyes.karny@amd.com> From: Wyes Karny In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0216.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:ea::14) To BY5PR12MB3876.namprd12.prod.outlook.com (2603:10b6:a03:1a7::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB3876:EE_|SA1PR12MB7039:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d02e53b-da62-4d3c-20a8-08dad9b0c31d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ySnNfXC8n83jkZFSzRCw2VGXhcFFa9q8oBSMj66WF2bzj4PCRsis+48tu7XosIPfdSg69bjsUwkoX9x1+r/Y8nymlLR/bbrPH9xu2SgyfHnn4ZP0UU0OTD+XFrupKd7wkkPacVujsS/7p6n36KcXVD+tQbv/PtBA59x6m3VkT+vXD7xxoxRpnux/kUAOpgKkL+b2NPr5BdaLDigwVVtiVnIp2OJPbPb9TtlTuolL9QMTCIDBE8c2dXEyy+em7Glc1xZjx8r6U5owhgiKstenLvRVRBwUx6y46Edst86ihmLQaBsdAbnZ3baEx8LhmnCtSiF/fufbBZS47mZ6E98jZDD52cswF66GDRln7ZYWjLKHtewdfRNYtlkpXEmaR6IQQ/vcihQP4c0gA7X+RbdqvXGZ+/T9ZGNnKO+Jwvba4K2DDAuYrBEBqIrsxCAAM5ZkQfxr1IzrvA5MwqncPu/G1ZvMUmiVZtspP9QzqvJLVFSpJcyTEzzJDMvil/TCRyr+/ZxGZs8JfX3ywSpoIBNLRG+NoPXB2zEx4dibCTE5C+LAixPfzFsBsL9gUZTQcVCgVXnhxXJbXHHB27r7v1hXNnXTd0Ua8PumqHCdwx+Kk6BXhElpZUPxbpEgSc89VMcMYjh3IMZ5wMYEPsyVIyOany2jdPgrC9xZNzVDK9/Rw1JBnSRvbYVMvx6wYC6AQbDJRIdu8EKKv+a8CAttu4Y7zogUNBqV5drIsgwtylq1s5M= 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)(396003)(346002)(136003)(39860400002)(366004)(376002)(451199015)(41300700001)(83380400001)(6506007)(8936002)(31686004)(5660300002)(4326008)(36756003)(66556008)(8676002)(66476007)(6512007)(2906002)(66946007)(316002)(44832011)(38100700002)(2616005)(6666004)(86362001)(31696002)(53546011)(186003)(6636002)(54906003)(6486002)(478600001)(26005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RXdqaHVzaVEvMUlRWVhudFZvQnJob3lRRXp4a1BhRVYrMERyd294bmkvM3o5?= =?utf-8?B?WGViWUFpaFp1MHdvUFFob1dCVldKTnd0ODNUbWFYcUg1UEdDL2lNTWQra3lJ?= =?utf-8?B?Z3Uwek50SEIxZ2p5d1ZaSkVSb2lTQUxkNFB4c3R0QmczRlRUaktRRjRHRjhF?= =?utf-8?B?YWJlbWhoQXFwd25qZG1PRVZjYXplUlJWWVIxNHhtVDExRlhxNWRoZ1ZyZUN1?= =?utf-8?B?MGRwTjZSMjBwZ3MrVlFWNFpNQWxNWEtLOHNiejM0Lzh0Nk5tdGxlLzFrc1RL?= =?utf-8?B?VEJYU1ZjRGUrRHl2S1FYbk9hcTZkdDYvb3p6bm13SE9qMG5STldETEJiV1F4?= =?utf-8?B?M1RkZEFnNkxEZWJpd093MjFzdmRiUkQyRjJWN08vTHZrajFmTVNUbzRGUUdT?= =?utf-8?B?L3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thSource: BY5PR12MB3876.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2022 06:44:04.1190 (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: iOxQCmkhFwei+CRWCGD+BK+Bh2wTqVWHH9lIFhyqJSu6P76YUen7PjCkouKKOP9oyXqtXU+hxdzYRlzHn06TPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7039 X-Spam-Status: No, score=-2.4 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 Hi Bagas Sanjaya, On 12/8/2022 8:12 AM, Bagas Sanjaya wrote: > On Wed, Dec 07, 2022 at 03:46:46PM +0000, Wyes Karny wrote: >> + amd_pstate= [X86] >> + disable >> + Do not enable amd_pstate as the default >> + scaling driver for the supported processors >> + passive >> + Use amd_pstate as a scaling driver, driver requests a >> + desired performance on this abstract scale and the power >> + management firmware translates the requests into actual >> + hardware states (core frequency, data fabric and memory >> + clocks etc.) > > Device drivers request certain performance level? What about the below wording? "" passive Use amd_pstate with passive mode as a scaling driver. In this mode autonomous selection is disabled. Driver requests a desired performance level and PMFW tires to match the same performance level (if it is satisfied by guaranteed performance level). "" Perry, let me know if it looks fine to you? > >> + guided >> + Activate guided autonomous mode. Driver requests minimum >> + performance and maximum performance and the PMFW autonomously >> + selects frequencies in this range. > > Same here. I'll rewrite this as: guided Activate guided autonomous mode. Driver requests minimum and maximum performance level and the PMFW autonomously selects a performance level in this range and appropriate to the current workload. > > Thanks. > -- Thanks & Regards, Wyes