Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4669708rwb; Tue, 8 Aug 2023 11:50:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGf/n49q5EtEA+XQnK0NnEu2KlFzgmuMDLqJyxmC25aKo3NBh17xlLvDwVXOeYnpdHjKhIb X-Received: by 2002:a05:6a00:189e:b0:686:b732:8792 with SMTP id x30-20020a056a00189e00b00686b7328792mr14025890pfh.8.1691520637702; Tue, 08 Aug 2023 11:50:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691520637; cv=pass; d=google.com; s=arc-20160816; b=GGHg/7ql5j4WU2dlAGLWRm0NY/PpIPAI3DMhs7Pv7+Q+pIoE5BRQhyDPu3a6ozHV9A 0wF8agg0W22F4X9ZFWavpfuLoXY96hU/GanHXYo4JfeJIz/Yj0Hi2TjFszD6zz4dIzrv hWvRJ12JcRB9Om76UkRZhD5tX1AGFuhZVEOjCT7z4E1Ci7Vn/r2e+V0OnRBG/O01ir+q O+1zmb/WSimub5LD7PIFPFYCqUYelIUHOYrDYIdSIlWgwruz3leQfCdrwGEHQlsQ0u8H hpgebty8LaGDY4Nob8ejMpM9tN8pwDFDKvqCqXGvwt9mfs7Sep2rkOUvmconJYF329lu 33uA== 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=R1fC8DZLTuCRl4nSasLfysjQ0eY8xcxdb3h2/rUXBcI=; fh=/I6M+w5ZBd4rtHP3aaRNOVcXcJC4kvPX0j4sKQRInZ8=; b=gP1TapoJMYPSdxeslpI6XSEwDW40fOsjQ0LwA+XBgGkc7DfROLhqhOrYRBHQrttqH4 PDinSpVcouZRJ6E52WMyMlDdwpxcWTp7Q8tKZaHvqADwukxpCc9fxqHDobX/b7r4koV4 LtoY4wlVOKzwUMFQMS1BKKZuhf8NFx/o5dmwgyGoT+phh5+GS32QnJaIpAsJY1H+56RK 3Ql46FMabRgr2xxgGkbG/1pUTAVyJnEay5NBztjYqcyHnytcz7e3slcol7Y6eKw0VZRL IDqKpL1AkhGU2DChFF9buE97q78BdBCALbSuhRUyVhJApkuGIYq2277/jWnS9xONKFbD cQ3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=XsHQnH2H; 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 eg21-20020a056a00801500b006872b49c1aesi7650712pfb.133.2023.08.08.11.50.24; Tue, 08 Aug 2023 11:50:37 -0700 (PDT) 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=XsHQnH2H; 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 S233788AbjHHQ71 (ORCPT + 99 others); Tue, 8 Aug 2023 12:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233786AbjHHQ6G (ORCPT ); Tue, 8 Aug 2023 12:58:06 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on20600.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eae::600]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA7754EDA; Tue, 8 Aug 2023 08:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H5yh/Y7Nq9iqplbTakJFrm7Swk5+KAQW/C+qLMCN53Bet3mCBoPFDZn5bThTzW46pi6j/hRReOBmoz6/1nCd2wTFE5F93cIYW1NQFlP26oFNaWEjMtwNQv6jVVf8sPWFCGucyOhVNKGldCVUiLzYdwKllqq/SuD4x0CgT+JUwtNOEJM7aW9cgLWhTv7btkca3KP3N8c2aOZinwR2DUkX/jxi/jSjg0oxxDURHf/25Eta74MnJZpvrB3Ogdp4KxSwv0YNJ2y4MAWq8/nv78TfWWBJ6JI6ETY40EswErkizRaMEVeJvjnp9BmZDG+qq/EwCiW9Slhs61E9xrsCCfOUeA== 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=R1fC8DZLTuCRl4nSasLfysjQ0eY8xcxdb3h2/rUXBcI=; b=W53/8NvqXrp6CNXZjlige5pk0PHwd3PLgEx05/06VUMxlLrVZ9ZWirThFFB2Q2QqKG3wpMeCTlyC6pp1jZV7rKEZkgY6GNbAt1IYB0qgIQfNXjKDb16rh/obThMYBw5eiEh6Olqj8Y/azuSky08BVDXcxGaqBlRkWdrEudIQCsn0ZidZJ6bZMDQkubDF64R8BNK+XLSXKuRgIgXZXkmq1VeYMnBJBpc50ZTRs56sNBSmgFtNdQlXI3BrCkgMy6dCX2UFILUiBkdnWelAQh0oVXjgrBeAQoVqX48OvEZQ4SWD8z0omOvQNjjRZlL+PKpls7F31rZAuXqoNQiJguXkBw== 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=R1fC8DZLTuCRl4nSasLfysjQ0eY8xcxdb3h2/rUXBcI=; b=XsHQnH2HGXxqiCktkdndJchdHrTjAIy5nrmT6G3W1z+rzhwJlOO/2OpZdlTxDJ0VtRibQOQoII+LZyjD5nds5vdWoV4Lzh051eS8oa8Ma1PhOErH2qdQjsjI33p7CyClc3AdYqtqE2AvIdEvr9cggvPjl+ZZldNdIQlJTJB5sdc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by IA0PR12MB7580.namprd12.prod.outlook.com (2603:10b6:208:43b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.26; Tue, 8 Aug 2023 15:37:08 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::36f9:ffa7:c770:d146]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::36f9:ffa7:c770:d146%7]) with mapi id 15.20.6652.026; Tue, 8 Aug 2023 15:37:08 +0000 Message-ID: <631c5c8c-2a7a-41cb-85fa-6bdded27670e@amd.com> Date: Tue, 8 Aug 2023 10:37:06 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V1 6/6] Documentation: introduce AMD Pstate Preferrd Core mode kernel command line options Content-Language: en-US To: Meng Li , "Rafael J . Wysocki" , Huang Rui Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-acpi@vger.kernel.org, Shuah Khan , linux-kselftest@vger.kernel.org, Nathan Fontenot , Deepak Sharma , Alex Deucher , Shimmer Huang , Perry Yuan , Xiaojian Du , Viresh Kumar , Borislav Petkov References: <20230808081001.2215240-1-li.meng@amd.com> <20230808081001.2215240-7-li.meng@amd.com> From: Mario Limonciello In-Reply-To: <20230808081001.2215240-7-li.meng@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR14CA0051.namprd14.prod.outlook.com (2603:10b6:5:18f::28) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|IA0PR12MB7580:EE_ X-MS-Office365-Filtering-Correlation-Id: 6167509b-e78f-494d-640f-08db9825531f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e3YjS8BpHP85/DsIjddo10ekR6nBvU9Fkzp4og83FW1Ieukc6iYbSFw3fJCkMgenv+141AYA/7IXatupSAsou2Q3B9oxwT0K+BezFdEfdBA1nvoZMpcMJt1fvik6z0iI6iA9FrTmfv/zpLSpq5US44EL8ql5r4/phX2kaadlI44l6UPSz4rPA9UyrXGLMfrzq4Ta4qlYPtE//OlNzCzsmRMYWCeZJVINAbKjUh8sgLTdFXmXOASTBq7hlQDHxqU05+fkyPIkzffngJB9YqcUXZumXmsY++SlFwM9O4bLIo4z1QVf1tGiq9DNqKtkI+pNqy+Ej4ZoPom9uG8oyvA1cwbSxAcjJmltm9rhskXcfLyE2ocYGhIhzO5N7nzOdf0kgY1cUPWC+vC5SMSlo1C47yUVgmloVY62wp6JBP+rEE7l68ZGv3RKlCtJKIL69alCBeLOVh+4eovxkGmp+sEMjQ1+AYgbANM5XPxPcD8rpNSk8qUR0mn6E3TPmXWXZ0+m8BW9VaWdeInXjBA3dH5QLicFt9k5BIaBbMDqSaWZB3OQPSsTCYhqyJRK3ABA2D82QWPZM4TIQmdqXQOz+uYkojBPPXiWP4htI52MWEnyN0kcmmOPYSbJx1V+sJXihSKn1anW49Vz2vfT+hsJNLIXQFvB9AfFEbkgSeTZXhUROBzLOgZb+qiyplGJQvJ4NXID X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(39860400002)(366004)(346002)(376002)(451199021)(186006)(1800799003)(2616005)(36756003)(6512007)(4326008)(316002)(6636002)(478600001)(38100700002)(54906003)(110136005)(66946007)(86362001)(6486002)(66556008)(66476007)(31696002)(53546011)(6506007)(26005)(41300700001)(8936002)(8676002)(2906002)(83380400001)(5660300002)(44832011)(31686004)(45980500001)(43740500002)(14943795004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dm1WcS96Tm93YkRmK0hmV3k4ZzRMWFNqSHB5OU9VbVR3NktsOUFVRkJuOXNU?= =?utf-8?B?OHRmZEowWEJWaEJRblg5d2RMdytvb1puNDZzU0lONWlWTlJaL0lndUQrUmFm?= =?utf-8?B?VjBhVDFtbENHb2t3RkxjKzhManVsWkZBbEt3ZEJ0ZGpRcGw4QTNHenQ4MHNl?= =?utf-8?B?ZEhrS1BiOGhkenlmQ3RtcUdjYUp3dm1KUG9hK1dhajBDQ0owWEk4UXZ0V2lk?= =?utf-8?B?VHRoVVlweVZkaCs5UEFaT1dKdzBwcmJ3NFp3OGV1WVN5NTBXOHBSbTQwdVQz?= =?utf-8?B?amc0RnI1TCtPaGNBUTFIV2N0YTg4UmtlNzhSSC9IdXB5eXdnWkxUL3QvTkNq?= =?utf-8?B?ZTlVdXY5MXZDdzNrWEJuenFRMTRQQ1ZVR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-08db9825531f X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2023 15:37:08.2956 (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: LQ2jwEqXSoJ8XqDsBBWWDHtfTVW+RpOsjh6wlr4WQdpkV9C4H9URItQIpScGTzJO5BX+NuVS12NQ07YH+AXXcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7580 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_NONE,URIBL_BLOCKED autolearn=no 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 8/8/2023 03:10, Meng Li wrote: > AMD Pstate driver support enable/disable Preferred core. > Default disabled on platforms supporting AMD Preferred Core. Why default disabled? Shouldn't this default enabled and then let users decide they don't want to use it if it's causing a problem for them? > Enable AMD Pstate Preferred Core with > "amd_prefcore=enable" added to the kernel command line. > > Signed-off-by: Meng Li > --- > Documentation/admin-guide/kernel-parameters.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 2de235d52fac..bc92e178431b 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -363,6 +363,11 @@ > selects a performance level in this range and appropriate > to the current workload. > > + amd_prefcore= > + [X86] > + enable > + Enable AMD Pstate Preferred Core. > + > amijoy.map= [HW,JOY] Amiga joystick support > Map of devices attached to JOY0DAT and JOY1DAT > Format: ,