Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1232408lqm; Thu, 2 May 2024 08:42:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUX8BONP/+q63gze7yi3IUKEBzmv9K/zayDRHYGyl0m6U2CPY4CN4o6FFgA2wguE911vTnB4MzV5gGIKrSXwEgC8xrKioE5qTTo2VvC2w== X-Google-Smtp-Source: AGHT+IFIZe8uxREq3uWxo3HS6EFVfNcNkFdWcU6Ib5cEV7lHwiZMytlWy2LG8m9KjbV6wdR8qC9p X-Received: by 2002:a92:ca48:0:b0:36b:26df:cce9 with SMTP id q8-20020a92ca48000000b0036b26dfcce9mr111892ilo.22.1714664530335; Thu, 02 May 2024 08:42:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714664530; cv=pass; d=google.com; s=arc-20160816; b=JRc4HdjLbeqR8KVygpJXLnlGegimQnB6uNo6pdvTTrNIHPbTv6AeQiC8NUraVSvNE5 7IviEbP/of6t8x05js0Rgxb8kAV2M4evQzEuV8TyEy4bRkS16jp9Pa4E/soAwZZgRtJO XabwgbjsnMOO4OqTecCWz0C+j0YqCiyTWHHUO7RIS7KEsuE7QVThwuXU5a2bzgbZ/+2F NXzGoXqFBrPgurUu2+d8nhffTScz+hdSBDl0Vr/hgM/kLvvI5uKnjuMpHq/uEjfuH802 x1D1mVPw50CHwOq1tdHGccl8MuN1H5uX6ghtsunfDdDrH0bS6WZb+wwIWww+09YYe2ys kqAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=BfGYmqaEPgJV/sPLwkgpPXEEBqMjyD1KiEQoEP6Ry1o=; fh=MO/el5bCUI+x71ltTEdatU6VyuRwHWAZt/tbjomOb/o=; b=1FH0r3pnW7NPIy5WULhTJycyjJVdw+XQr7n5Y9RY3hxUWQyS7oWP9m1nAdoivYFMmn 68XNSbyayc3mlCRhKXE5t3zE2C0RqFL1GDTDi87OMrWIe9DRWPY2AaVtJrDZ2N+ZdgLH 3l1y4c2xrdQB0+XkJI/zDjTppH4dPD7JupzTUYhN42RMOgDJodNrnvd0AH9oQfG1VCU4 LKwCPKsqxo+w79sXOjZWwM4ievauKQ61IXCb4C4gcw9kGGQ/UK4y1HKkDUCtpc4hBZA9 YHQa1JiYiT+/t/yPB+qmKNccP0bZAX3eCZxfDnW1ZAnm70NqWLEs+nnX9AoP0uj2rb0I LB4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=etufmLNs; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-166656-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166656-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y4-20020a633204000000b005f3fe37a91bsi1174728pgy.290.2024.05.02.08.42.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 08:42:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166656-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=etufmLNs; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-166656-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166656-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D3BA4284D20 for ; Thu, 2 May 2024 15:42:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB6C215B554; Thu, 2 May 2024 15:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="etufmLNs" Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D3A61553A8 for ; Thu, 2 May 2024 15:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714664522; cv=none; b=pOMU0aM1PHZJE3kNhgXf1ERpMYqiI9IV2YNrdMdIeRz3en8k9Zc0XpjfMJoUykcfER4B4Y6q+l5/E3gjKZXmxOEIr4MysIY0iG8s15SuIeFSmc4JkyqOjkNodpMMbWKV5zPTWmHgyJ7q/TZFWhv4anHE15jD7MGs7n0ekMeNZZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714664522; c=relaxed/simple; bh=BfGYmqaEPgJV/sPLwkgpPXEEBqMjyD1KiEQoEP6Ry1o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Y1Qvq+Qn+7taq7LV3h44oOPQs0U5IuVNvMACh+bNVRNnrbTN+kjJaZPc8Fus6cfkolvr7Z5GbCsJTfP6E7ap6J81MruQfa6PHadi/oDtpk+D3KBgPGp/sPQw6PJ9CPOxcdpWWtaNHVwtw2NqJYLipTWTJwi7i7m0cE+ZR1KZHfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=etufmLNs; arc=none smtp.client-ip=209.85.166.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-7d9c78d1087so52420839f.2 for ; Thu, 02 May 2024 08:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1714664519; x=1715269319; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BfGYmqaEPgJV/sPLwkgpPXEEBqMjyD1KiEQoEP6Ry1o=; b=etufmLNs0h71ujgXcqdh3Yl8bpyHvCTRFwM5OvxXtO/h6UdmfSZppk3Qkd7ij+V/Rk zP5OFBNWtUn1kB5v2uQVXk4h/aTyKDmBvtZyGlJW/Yuc8om/jhnccGzgVT4zfLKcJj11 EYnFn20WSCgSdFTjNWKUh0DtMGBTS9MSfMOew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714664519; x=1715269319; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BfGYmqaEPgJV/sPLwkgpPXEEBqMjyD1KiEQoEP6Ry1o=; b=vIobr6n7Bg4swHLAgDSRbii5Q/4RcT5C6ogPI4BiEwo+bSmLOKZR0Ee4gLqLiyZxT3 6hdzNS81ZWV10TADplml4CJuEF3Mji+W/CDLpM9ikj2me+BSY0AvMm8KTuIzpwkwE7MS ATndn6ZQH6ExLVJVYrz+SKA+7LdUASsooe9hAi/tOgfsI0+hc+KZTeDBXua0NRKq9RUk B5WJHavKOeHXsdMCX2sri+P9ulFjyCs+h+J1XnFKxbGijAt13R/ChUng8Da3iFB4TkaG orEKJHtCi6T1hP4htQ06MwwUWFZ43ooYuf7ekL+uXqo/XaGs4t5vanrXIzX4BTAAXYXZ SsYQ== X-Forwarded-Encrypted: i=1; AJvYcCVFwrJeJtKxsRFu0/alrOJ5dV0pEssFLmIxyoozMVpLH8iP9RvF8Z+xRYc3AdU8ESfVpIWh4JVqKHVQPkrrxapW4u+cV44d9JKWr8QG X-Gm-Message-State: AOJu0YzHkj8t2oQTAzydXk+Lw5H274Fsdng5yz063c8jiKYEF/ERFQA0 RI96jgqD7YNFZzt0vNFyFDw7DXwPVUKpIc+aabraSdy+u6rtO/dU4rSRxJexyGU= X-Received: by 2002:a5d:860e:0:b0:7d9:eeb8:ddeb with SMTP id f14-20020a5d860e000000b007d9eeb8ddebmr18108iol.2.1714664519677; Thu, 02 May 2024 08:41:59 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id j11-20020a05663822cb00b0048813dbf4c2sm262931jat.156.2024.05.02.08.41.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 May 2024 08:41:59 -0700 (PDT) Message-ID: <5cab1797-aab0-4f49-b9fe-cc0520462067@linuxfoundation.org> Date: Thu, 2 May 2024 09:41:58 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs To: Mario Limonciello , Dhananjay Ugwekar , trenn@suse.com, shuah@kernel.org Cc: ananth.narayan@amd.com, gautham.shenoy@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, rafael@kernel.org, Perry.Yuan@amd.com, Shuah Khan References: <20240430083706.69641-1-Dhananjay.Ugwekar@amd.com> <13bcd356-a5a0-4cf0-9222-bccc01177032@amd.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <13bcd356-a5a0-4cf0-9222-bccc01177032@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/30/24 11:06, Mario Limonciello wrote: > On 4/30/2024 03:37, Dhananjay Ugwekar wrote: >> Update cpupower's P-State frequency calculation and reporting with AMD >> Family 1Ah+ processors, when using the acpi-cpufreq driver. This is due >> to a change in the PStateDef MSR layout in AMD Family 1Ah+. >> >> [ dhananjay: commit log, tested on 4th and 5th Gen AMD EPYC system ] >> >> Signed-off-by: Ananth Narayan >> Signed-off-by: Dhananjay Ugwekar > Reviewed-by: Mario Limonciello Thank you. Applied to git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/ cpupower branch for Linux 6.10-rc1. I will include it in my pull request to Rafael. thanks -- Shuah