From patchwork Tue Oct 22 20:54:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Limonciello X-Patchwork-Id: 13846164 X-Patchwork-Delegate: rjw@sisk.pl Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2058.outbound.protection.outlook.com [40.107.237.58]) (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 C79451CCECB for ; Tue, 22 Oct 2024 20:54:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.237.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729630478; cv=fail; b=k6TXca3jYaapmC+G4OAAz7laVrPDnRh13oqVpWw1RDHG7H1cSXEtPwU0JQF2Vfsz49auHNhq0SguXuNSqmwKgQok83flzwQGaP5EFsc2n5EqmTTEu/KeD0gGg2DVysGJjlLbWjZ75pyVxW+eNWG9atogH5gYXS+2cTKuBtp707w= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729630478; c=relaxed/simple; bh=Fjyu7fY9zB6++jvckYDFefYpog/RcqBrUyeCZLVrbuc=; h=Message-ID:Date:To:Cc:From:Subject:Content-Type:MIME-Version; b=NIUrgMl7VCWfJuketkAiCIZCsyf/+sOafbaS3Ic+3SX9eIwrdjw/9JM7AD5nU7u/O1y4gQgWkVwagyzFvX7r3e67mI+dXvZPIKszjlF8UGc4lLiWcKuMluQKQqD7WhEo9C6CNqwN9fwYpbV6n0Wg0unjMf5CjV3i4kLM4+LSWsM= 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=yTzjU/kH; arc=fail smtp.client-ip=40.107.237.58 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="yTzjU/kH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iFQoSBr1FGjMTL1vMD/2DPkVt6aknjyzakuTumzvb5SbFg1IHFg/8DLluQIf4tJfLdMeWovEKcqDtoGaa46GZ1Z5cczM1jlgzK2hX4gx2EXpnHqK5w/ebxQwXkMOhTRgPt5UabPlPOLpOE3ne+AYZk706g9K6vxumm+rTMuNcrAKf8cSOBKJMKepf2a0kpsH98NUBqNQ/E1RKiChUhxmtdajPVxshk7o7aUhGlJ0gdnlSsGYWdQ4OTas3ZYRmlarhs1R3I33MSlzRVd9/Z5p4AL4tXSQVQfka26/hP/OyJbVMJHRxuu129cPRNdiMBuR5R2JJz7eIsGaXBbPDCpB8Q== 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=e5PjAcQ9JbbyexCUBBgDJxJ1jZh2WvioHh/uD8UHPHc=; b=hrf9hsmTiqP/bI3fkZtTKdGUsUJ+0Cad1KHp51Bs47oerYLwQ1XrzKEloKmVJi2XtBszIcTDLZPkuig/IeMt9TP3CGYwevl3OhHpECmwanO1eXqmspjpjvJKAZKTgJlQG539OQ3ps5HN2UVvMd3aTCECF4SRHNYEDvyJlViqEYhRz2aC9/m1clxGIiedJzbxh5qhr5CQemU6lWY/2XgdOZSn2EbLUGjiMwBji0LV7Lvt8+N0bXdBAwhzYnxv3QPqXNMSGmJcyNL4XoBOYp+kHFvj2aA7qmo7YeWZiqFxhYBVkJNTskCa8dkYEuEpgMskDvr4bd2cL7oQ0vIahqTKDw== 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=e5PjAcQ9JbbyexCUBBgDJxJ1jZh2WvioHh/uD8UHPHc=; b=yTzjU/kHTOfMO0nvnNkP5EAaeA6HEUEwEfRnWw9dmU6znFpKUdz7FqKxv6dPwz8cee6YCY2WwCMKem9fMEML+4MbRIkCqmrgOWFQC5PQg+BJIQkE4/JwBt1vceJSiBqswmCcvZt4CzyIXR92MwAU4kOMk8LiY31jJzhZOpKfzNM= 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 SA3PR12MB9180.namprd12.prod.outlook.com (2603:10b6:806:39b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Tue, 22 Oct 2024 20:54:34 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca%6]) with mapi id 15.20.8069.027; Tue, 22 Oct 2024 20:54:34 +0000 Message-ID: <19b70e8a-7a11-46f6-ab9e-6dfaf315ef95@amd.com> Date: Tue, 22 Oct 2024 15:54:32 -0500 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "Rafael J. Wysocki" Cc: Linux PM From: Mario Limonciello Subject: amd-pstate 6.13 content (10/22/24) X-ClientProxiedBy: SN7PR04CA0108.namprd04.prod.outlook.com (2603:10b6:806:122::23) 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_|SA3PR12MB9180:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f727adb-c37a-4595-1d41-08dcf2dbbb8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?qe/Hb5Zkg3ncTRWKTI1OMtTsSP21+3n?= =?utf-8?q?A2stBy+pLcBscXRE1n9PH556plqEx5kmWqVzSRl7dXPt7dxRgstCovamI3pVd6I9F?= =?utf-8?q?jbMCvTlqPcdL2lFoATitG01vxcCg9Big0G7Yq7p5Hg/HU6Qj16mvyJFCb03QcHwU5?= =?utf-8?q?H7lduBg2gQDaxp1exd9JXdncMdTawlTsYXZibEKwvXZKrdnEGrSSDf0spOpGKBPsT?= =?utf-8?q?Fypr4k34ofMnUKiwgYQpdSb7X6zk7BzNLVjP73wTpuk80hsDT5zov9f/m7IJ6NmAv?= =?utf-8?q?2wIe04SOMc6HJ0v76jXC+Dv4x6Ertu+HgmEXsiEHyyBkzKa2KUwqbmvTR248lRC8T?= =?utf-8?q?j2Mv1hRO7MmtGTAr25Vq0dZrezqq3eY+dfkpJVYdqho2VjMnVrpBxfKfMVKxOUcDk?= =?utf-8?q?wYh+NPeQutzMEVQCG7EPKoV0Px3FZZUXh2qTMLruPoS4H5w4uTyb6odCM6ipWkehr?= =?utf-8?q?y4d5sfL1QZ4PQyAEVw7/w95/5NV9MCdjE76790VqMHLzMqWGKOqtxzhskCCbqCynN?= =?utf-8?q?ei45AeRKUeW+TlDjpnUafbDj/q0YCvnSYSApu1nXNDF1okgkhWENlRfE9nZNRF1i/?= =?utf-8?q?21azwf3nGKnt0rXN++X5M51BhtMYq3uDD11qe8YcTVnM50p/tDThXVW42ODs5I9Wz?= =?utf-8?q?Rtd0UUWazy28LjVbQOBjosTX/x3VANe/JWgqs5WSgjn9Bnd00mvqJHLDLIZ0y9NLH?= =?utf-8?q?oOLoIaquFWPl6JCzdGsN3WzLz1JQxR9AlJXh2xv42pKzCkIVfINxigbwfctANZ4IO?= =?utf-8?q?NDWXKO8CD0t3/Fv7nbTX1C2/pfC/SVS/pLmZSJPx997h9pRfDT4fOqWkawLe3BFcW?= =?utf-8?q?h2P8q4aFWIj1aY+PagMndagysXc/wKn7P78f3eoQQhi52K3vC9/v9uX91KLFelkJj?= =?utf-8?q?q8hMqZeTFES+iI8TZMZTL6RcRQJCrreizIorFLzxnOa5mTPmRo8HKO9h9ll3NnBWi?= =?utf-8?q?olxdeWaUplArr6zRcZsTLphiwFmK9iVTUkpXWnfqOCxlVgbuf5O8Zp9OiUSnm2kBU?= =?utf-8?q?jdmlshchqobl3RNnpwOZe9lYbJnR4LCPYHeuahD91Py7d9mY3fJtaRTfvLOQRUBBA?= =?utf-8?q?uBlEtENC++KNyss3QsCBsouQ9bdMbMPJuktYh9TQTRUp43Q6howUZ5goFSoRZf3RY?= =?utf-8?q?cMg7Oml9lRhHv0q8ATyzsMxShvKeAGsS3wET0NKGTShx6v8T/kb7kY+sdkZmlptgB?= =?utf-8?q?1xODo61LaxzYnP?= 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)(376014)(1800799024)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZjYHrx6/32CYfCDnZXE66NEoFh4V?= =?utf-8?q?+K4a3Dzi3FYqxD0/YoK0I8ma+CKtXAXQebai8pZ31V4NxGl5PJGfB7+CBOYP8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vwrjkmosIY0+k0hciG2I6?= =?utf-8?q?bWNhJHqPVUVYV8uJK1lIx2t7LlS46b9yDUfUsLaV5Zpb3vmyG+dRn/w64P1L4jFgW?= =?utf-8?q?Akro8Xxgyd2SyGW9/h5UFvGiwksLZmFZJHJYeoRUuiM3l5SoliYNHfPqYws//q2wd?= =?utf-8?q?766Of26z7czVgnkdWUzSkp7nB8x37cI+qNIjg6HJN+0KBm5YrPBhu8+QF28Vxqe6X?= =?utf-8?q?/W1Mh5qG1CtmHNSLjJ2Ugf+NdIKWqIRI81ID9As8fIFfBbszIMR2hbHNUQrqdp8qT?= =?utf-8?q?WAt2D0vNPl0h0anxYvHEyyANVtroMb+Xtjg/t/P3yqRWxMDTHRDTOotDX4aTrtWJ9?= =?utf-8?q?iQYwehEIjCuIDsD2FMToI/77baRVdVJK5s0qyZHx0n+79d+Jk3aQFPOg0lNxJoHDH?= =?utf-8?q?7pvC3jxqGY1XBh4dsNs+75iYSHhcLtMISCJ0d5hFenZ9W3MfdhD3Mp/4FUjCVKcFp?= =?utf-8?q?JKyqaWSjrDwRrBqJx+8YFZ8pW1Heqh7t+1iTvBamoaKMiVNYE7c2pK0YpSS/8fFPB?= =?utf-8?q?ojae+HmWM5E1pQnac97msRndI5lmO+FvOJnDVN4qUR1Fh8cYr/CeZPnbDDyXJSgJI?= =?utf-8?q?sl+TEdifwIFI?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f727adb-c37a-4595-1d41-08dcf2dbbb8f X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2024 20:54:34.0101 (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: irsXmgphFjQLT4MmtOfD+8bWDm7+WK4BRQr/npSErMHXrAs1LouumyRjawj6LUGjYDDfzbh0X6YT8ysklx2sYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB9180 Hello, The following changes since commit 7f31183fa1d5c043864b4bd5632930f40d3c7002: Merge branch 'acpi-battery' into linux-next (2024-10-22 22:00:30 +0200) 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-10-22 for you to fetch changes up to 7027b415ff1a4184b99055f11455d5c7041aa3ee: cpufreq/amd-pstate-ut: Add fix for min freq unit test (2024-10-22 15:21:42 -0500) ---------------------------------------------------------------- Update the amd-pstate driver to set the initial scaling frequency policy lower bound to be lowest non-linear frequency. This will have a slight power consumption impact but should lead to increased efficiency. Also amd-pstate is enabled by default on servers starting with newer AMD Epyc processors. Add various code cleanups to rename functions and remove redundant calls. ---------------------------------------------------------------- Dhananjay Ugwekar (7): cpufreq/amd-pstate: Rename MSR and shared memory specific functions cpufreq/amd-pstate: Remove the redundant verify() function cpufreq/amd-pstate: Set the initial min_freq to lowest_nonlinear_freq cpufreq/amd-pstate: Call amd_pstate_register() in amd_pstate_init() cpufreq/amd-pstate: Call amd_pstate_set_driver() in amd_pstate_register_driver() cpufreq/amd-pstate: Remove the switch case in amd_pstate_init() cpufreq/amd-pstate: Remove the redundant amd_pstate_set_driver() call Gautham R. Shenoy (1): amd-pstate: Set min_perf to nominal_perf for active mode performance gov Mario Limonciello (5): cpufreq/amd-pstate: Fix non kerneldoc comment cpufreq/amd-pstate: Don't update CPPC request in amd_pstate_cpu_boost_update() cpufreq/amd-pstate: Use amd_pstate_update_min_max_limit() for EPP limits cpufreq/amd-pstate: Drop needless EPP initialization cpufreq/amd-pstate-ut: Add fix for min freq unit test Swapnil Sapkal (1): amd-pstate: Switch to amd-pstate by default on some Server platforms