From patchwork Wed Dec 11 17:25:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Limonciello X-Patchwork-Id: 13904001 X-Patchwork-Delegate: rjw@sisk.pl Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2040.outbound.protection.outlook.com [40.107.92.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C72D1FE479 for ; Wed, 11 Dec 2024 17:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733937907; cv=fail; b=n9Yo7ot6yE2BKvagupCaaTwTdCRVfWx0MnGHqkcAqCotDv4y9wN/8p+apwYKvLSYy2FsCx/Ac7KbwVcAZ9WCSPSQlO652fdG2ozHSGxaDcOBwtmjlFRWISE/jt30B5aT2kdV0FLY4dmingAaEpDYS1hGKPjzEp4VTsLjlnUBFnw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733937907; c=relaxed/simple; bh=xc7GO7oye4H3FZBPVyp1m16EUTO+jTb/U+i8q22MTDs=; h=Message-ID:Date:To:Cc:From:Subject:Content-Type:MIME-Version; b=JXzs0cxcMS5s/4Tmd2ePaWyRf8lQEWFlSH60aUWFit7FIKFZYvAcxWfTg7kNRRJgUKCr1rzQiwQ+tABL1q9BzvB97js1UJRJ48GCHEMHMnvH7Ks3FSxVLqTDjZTdU+o3YQHsGsQv2h5DlJF7ahUdYpa2/yBbcZv2ClUylquRTLM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=iVz1CYt5; arc=fail smtp.client-ip=40.107.92.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="iVz1CYt5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oQa6h40TZrNtLYusouhBeqzNcHWYPDBCijiz8WQ9rTaWcu8bOrf55ciKT+KTh48r40JqEPiVXHZ8Nr5NbCS3IbTYMtIoIgAFtjYZPKGtIBdBlKMLXNfgiujSN2qhlwPVc1pInsv/BKNEQw8SdnZgf1VaDXgS3ZPKy2s0KoCyvSTDVomKrOutGrg05i/qCIluGDE7vRoW3z6c8r7GmjKAXup8rIM8oy0WYEh4s+Rs1VWpEvYLU72g2ll7uo4nh3f09apcf/W3sRXXiCdzMAslylzTraCCbacPHYmHAAEV/TdhUkysm8s3O3yV4XxRoAJ3lXF4fSRQ9lwiCT2HS/nN/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=VArrvSsbWnIjLYVuO/FVc5lIJOs1wFm/E9SS6r7v5UU=; b=lPdc2YRAxdKDzs00RAdEHj6IpXLGV0SQr+prj9wx/gfghjCt6WBfQdve0YiFo0qQCpCikDD8hQH60hfjCcUjlUM9UQ3YGaZqflWnCvRf6XH/YMbHoUFxRA9bncQqJ9gpxjMk8sy5XX2haHzplzpeLsTF3uvSOnRe0qxxZe3Wgh7usafojbB+Xx+/6fzEaTZ4zIy7F1SqVK6FKco9+ihmosknhu5nwtoIhN9iNI4Tux49u+i/Mec5x8aavJIgv+N+8n2w9lk5DrRG2LTYvK6bAmb79xreeAWZ/fcm98N3UiDIQD9A+Aa1NObrJE9YSdasFZQXXAKRhs8tuzlvZW0kyw== 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=VArrvSsbWnIjLYVuO/FVc5lIJOs1wFm/E9SS6r7v5UU=; b=iVz1CYt5fR4l42gJ6NXCEyf5NwurM1tHgcoQhee+kt5naGB2SYaCjDNvR7juecX6HQG0xx5zpzpaCPT13tFfHjFlUqmHmHY2jehjURavUUQvrt8S1r7kgr7+g7JgmKKWmM+HmMTRYToiK4Ud7oNbJB1tJHfCf04dtk/fQq9RXmw= 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 SJ0PR12MB6925.namprd12.prod.outlook.com (2603:10b6:a03:483::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.15; Wed, 11 Dec 2024 17:25:03 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca%4]) with mapi id 15.20.8251.008; Wed, 11 Dec 2024 17:25:03 +0000 Message-ID: <63f03935-a73c-45f2-b152-29d08cb300b5@amd.com> Date: Wed, 11 Dec 2024 11:25:01 -0600 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "Rafael J. Wysocki" Cc: Linux PM From: Mario Limonciello Subject: amd-pstate fixes for 6.13 (12/11/24) X-ClientProxiedBy: SA9P221CA0025.NAMP221.PROD.OUTLOOK.COM (2603:10b6:806:25::30) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|SJ0PR12MB6925:EE_ X-MS-Office365-Filtering-Correlation-Id: d6508062-6b8c-4452-e1ae-08dd1a08bf6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?DXm+Or0R/5OKMZEDbLQW8iSpzUMRCho?= =?utf-8?q?3Ue+yLeR2D2m6vSsffJ4C5aeErMgs/cGVHfByNyIqw7RFqK6o0BcCK8gxOTEJF/I3?= =?utf-8?q?ll2Kv/L+pLLNQN2/Fiz+ljJYRHs3j1yyUVv6JQTyp6Ih2/Js+UV5oDzcP8Lr60+LR?= =?utf-8?q?jCTVT7WsaUC/dvXemToUv2OWJa2nNIpwdWMqjD6tUU+W3O/HqAXUMBKojsiPvwBl+?= =?utf-8?q?WeF3xXS0engJ2dGNfnMbYmrrtnZWGkQ/+7idW5xhyRhuFIQNoxg01U6VuY+DScMNm?= =?utf-8?q?+wnZJr09079VZyPwrmZ5m8gtQOPT04ZMNXvtWMn5QZFi71DkojEyltIFSwAh+v1ph?= =?utf-8?q?980WwyFLQvjv/Xs0FdCTx0qHpRDY56V+d4pSbH88tfhlB84d4wpq+TugzmkY4/54x?= =?utf-8?q?AXeS6DUiEYhvjqvZfgkaF4fibYYg3G9XtmGE+Xg9dMqPCJSA1SeuEotgIZfdmwE9y?= =?utf-8?q?yFUUoq+t9IumNYxS+Co7Qa+nmLm0rMkv25UpGw+6SsfRGWGpE6jeVPhx8Jb7zrxZU?= =?utf-8?q?M/b73ypkP6PvQ2aJR8YUZeEo0vufmR2Wp/t2Iep2J6S8fAq6YjNKOVjdj9TyI1a/3?= =?utf-8?q?BLBbgQIUNCz+ffVRwtnI9po6gcQNpzcqBNtpiqmrVbZK4P39ES+VGuBJzTzKgdbEV?= =?utf-8?q?SzukcDeTKshftiWzS/cb3jnU9j3BDmbG1R9IBRCCEaSMzw/ModJ76YyUQMSZnVecz?= =?utf-8?q?oI91jRRF9jS/EOT4wFCZ/nl4P/8FbvlGD03y0ak3CajxAYMKvbqCV4S703qX1TRCa?= =?utf-8?q?JKMI8cbUEJQoQV02eb+rgbY+/tT+hboriRbdknVlmqYrO7M2S5QLkFSvL1WHk84q6?= =?utf-8?q?fbu9YGfy5uyDAsg7we7kAYTSZFKSJ+Njt0Lhj5pu+V/tJDTN0Ct44Vd4uLRZxtpAn?= =?utf-8?q?jJYYICbEf3r5wd7E3TzmnA+1LzYnqeBOKbtp1UIohRxhrYZjwm3dAMrhryX+vpd43?= =?utf-8?q?SojMtVvIspw9591Z4yWa80OrkjxmMwvdppz7XeRSFMwTfxYyDH6HM7z70JaM+6E1i?= =?utf-8?q?vLNVUDc/p4BEzPOK4D3+OCdyI5WhJ3/vEn9rjiOk5mVev/dFrZgLJs6+7mFXL3Vxa?= =?utf-8?q?HKZqtLFn14eE5efSr7Nib2z7VEoItKlRgxvIssJTkLcg13lgvBs/MXwNTpUcWdFgi?= =?utf-8?q?U2CXZPYaaFs0eHTj102stp4W5wFPCLJwCgqHr+tDow/W3vntvCJmLeXIFaB9Sp8NR?= =?utf-8?q?5GrE5l9VVhBKJCtAG21Jzw4HtlXMhgH7Wh4cjLmLfavGSUZLF61bXIP4Y=3D?= 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:(13230040)(1800799024)(366016)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?rBH8I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TDQDhBDeV+dbuA?= =?utf-8?q?7KBegyL/kuNBsiKYxWodxiC0Ze/aanPHEFnQTkgoyxLqLMJn0XutVsxX2AFMbuLmJ?= =?utf-8?q?VA1qdWApXdQT0kdXhBouk6z9mczmxXu1VWsESqXK88/GqOhDPUBgw6gpWMCCuWnzN?= =?utf-8?q?KVdfHuHW9MYDgqcQ8WFn+NFiNTaoB5vHhyiRLjuzz6ersXTLckLJ1lNoDHD3R4Hcr?= =?utf-8?q?3HH5Pnq+WTwP3ge1dVPXhh1FQVFYb+4bv0pXls3w9T2CFC0r2aUSfVAyzhSYZn265?= =?utf-8?q?iOw0AAz6U3w8VUgR1XcGtDRQdeCYMZMLqz6D+Tr9sbbfryj9FA2J3pz6vM9nXAue6?= =?utf-8?q?TPreEd8Y0sVLmYVd4vBDAH0C528ps3zrSTiffp0gvhsvcjTgUAhsIACfcm+EeZbYp?= =?utf-8?q?zcJrzLL8t4ldGCpR6D10EuufoHnoilIR+pwnibXLMjHv7/QMFMv+/qYqZ4H42GVtf?= =?utf-8?q?L2R3CKAWM/TP6ymW/qvIeiRptqSsvtCB90cFi6m2gz+Vca2bpmLXxwDjScKZWnAL0?= =?utf-8?q?g0/Xu/d0rnWBwEN90AlCAxfkrYY2I+IikbLLN1erdqqsujoZ7AUQ718abMeAU99yt?= =?utf-8?q?RZ4+3l6cdEv1tuX1cpMclu2kL8Cip7kqtNb2K4+uUg4jatbYkAZvJ/o0wNOcQagWc?= =?utf-8?q?IsNpf51hfgtJ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6508062-6b8c-4452-e1ae-08dd1a08bf6e X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2024 17:25:03.1553 (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: ZygWXh2bxU5Si3modr3uo1BlI2v73fpVvlVHA2dUW1MSpUPwupdmdqXQHIAGW0b2n9v3w1b2NlbJdhPoFwZfGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6925 Hi, The following changes since commit fac04efc5c793dccbd07e2d59af9f90b7fc0dca4: Linux 6.13-rc2 (2024-12-08 14:03:39 -0800) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git tags/amd-pstate-v6.13-2024-12-11 for you to fetch changes up to 2993b29b2a98f2bc9d55dfd37ef39f56a2908748: cpufreq/amd-pstate: Use boost numerator for upper bound of frequencies (2024-12-10 10:17:43 -0600) ---------------------------------------------------------------- Fix a problem where systems without preferred cores were misdetecting preferred cores. Fix issues with with boost numerator handling leading to inconsistently programmed CPPC max performance values. ---------------------------------------------------------------- K Prateek Nayak (1): cpufreq/amd-pstate: Detect preferred core support before driver registration Mario Limonciello (2): cpufreq/amd-pstate: Store the boost numerator as highest perf again cpufreq/amd-pstate: Use boost numerator for upper bound of frequencies Documentation/admin-guide/pm/amd-pstate.rst | 4 +--- drivers/cpufreq/amd-pstate.c | 50 ++++++++++++++++++++++++++------------------------ 2 files changed, 27 insertions(+), 27 deletions(-)