Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp194301lqt; Mon, 18 Mar 2024 05:36:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwSCAEf7GNN21uplzHj6Tpesqb8mcQSo2bO4pUmNkTsv0FG+p09pzI1Ba2AGGfhvH/8Txo+b5F388qP4b5NnEHMf+UXZRBke9kBXGn8A== X-Google-Smtp-Source: AGHT+IFOno/U80t2GiMg6JvhKOWaGUNgbxFbmyKQN9T/iEA3AIOQTz8oPW3R8CGi79px7rDqPMK0 X-Received: by 2002:a17:906:26cb:b0:a46:61ef:2846 with SMTP id u11-20020a17090626cb00b00a4661ef2846mr7385829ejc.66.1710765369500; Mon, 18 Mar 2024 05:36:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710765369; cv=pass; d=google.com; s=arc-20160816; b=e2oypKr15hGgdDusV+d/tTyRLYL8WZtGUNhPTPCWIfzT4e7HT+j+7qnn86e1gx093R BxA+IrYkStqf6k/XC8sXOGVWJkXz71MA0duX9UV29p4x3oxA8lWNFtkUvy1wL+t0zpvm s3BFwk4/ah4/zvinFcgaqyZPLR/bcaHhQYCyKiRECeQ9683PJOwmsmy0akmDmXqK3eUI noxr26fXImJ9gfHSH9+z/VXWvVtT4KfNIezw+QfJfUt5jftdXPxBV5fjNaVb6NOKMK9h ltS4jxUSSs15/01dcpKeSH4OT3L0ZkWMgqY187YN7W6AzEeDtpm5vdeGQXZ+H7qKFPOG snkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=s/fmEPoe+d05t3iTfkNMO20tkvfZOlaVp/MVUPaENYY=; fh=0Ib4dH9z6GGNeVgMFvwI9LL354c53fxDw2JbM/ZY8gE=; b=ejPwRU5pjATHAWdGfoMd8tIdOZEsNhUGcyvs1F2/oUz8qZBdXt5Be/a4vXdvCEZUcr dqgV8uo1VviUS9LbnYHeGx1zmUZyfL4RGXxSMarzgLfASjzbJmIrFPrw1iSDJXaHLwf6 V6wucZd2lzAxk/12VONqZnlszAZITRmemmKSO+bNFuMoZah5VltQs/w8yYLxJIsQ58/Z eHmcqSqjrP4Hv5bX46+fLks92crMzmrf8kDJmu4WwlbRkgYySCxL+V/cT6BN+psuO2tW gVTt/3Dfq9KgWmmSkesA/VXeGXGtDP/rGZXkF+QmSOfmc5a67lHrWy0/41hwsBPXp3pS sDJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i8-20020a170906114800b00a46be100a37si974280eja.843.2024.03.18.05.36.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 05:36:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3D7AF1F23036 for ; Mon, 18 Mar 2024 12:36:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E20C82FE0F; Mon, 18 Mar 2024 12:36:00 +0000 (UTC) Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) (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 E96891E4BE; Mon, 18 Mar 2024 12:35:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710765360; cv=none; b=Ra15hp24rjBo8nZxICfEJFaQcwZjUuzEjzh77ZmpcCQ6DEo+c1iTpNF80XLOESKaKQiUHTzpfWLp7t25f31D69SoSY0Epm/7wbxo5elh1I5ih/C5G9VnD9c1dhS4HEtJ+K1/1nget80EkOOI/OQT7UIMWrvWE2/lS6V8uKMb37E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710765360; c=relaxed/simple; bh=xfZo1SesS+n+5OMh9DO2aODGB6aFCGGu3zN7BKHgJ9A=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=iptHj5Rc21IHvuveCLQw4wJ5p7zRNHiL0p5mDJYk3BeB4PK/MVkRcJSNbPUF3KfxxZOjkUodr/s2qVnLxZe7LdactBENSlcdfnKBm7n5OZqjttQN2fN6n+NH+BwY0xWbqYFuJlWzrSXj/K4/AQ2WXYcFMDePeh9AChJDEFTk4wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.160.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-22271941060so614069fac.1; Mon, 18 Mar 2024 05:35:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710765358; x=1711370158; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s/fmEPoe+d05t3iTfkNMO20tkvfZOlaVp/MVUPaENYY=; b=DpaacBI0E7+RGI7z7Ny00h3gs98mCjnSFQO2QUIlmBYWidFlNDAvKwJEhCiRcnU89R 9zIquom3P52jEAC+Wo+yWERtPBQtpMdihWI2yact8smLTb9+nyVcOTDO/fTBXPcyQE8X BPxQ6PxAlDce1fZF/SeGo6v74YDDtNJzPEj5JDfM0jmK3ge8yiv3IwpGXIzjrDRADzoW uENmc3vSLNEMujuorABPC8zPvc/3tberofzqcI/pDS2NafxpjesakupcVVoscNnOFhsy ScHthpBQ0eY1BFilESqoItCqO2qz3hmEUOGXBOJdcP931y3ezs42zrgENeJKb6DO2zWG okRw== X-Forwarded-Encrypted: i=1; AJvYcCU8Fq6zsGfJAu01SJcbHMhSKS4nK/WB+vA4XzKzdhxR0FkQ7G6MnL5b9FbTaVZn4BFbYwj0GCI54klLc1iTmcYJo9PyBNJBNEk8gqL/4VN0lZ8vTP0X3eveSy92X7A6y7CWUSiOd5g= X-Gm-Message-State: AOJu0Yz+Q6yX3SQCzA3L1JGiVPCAeLLpEsez169Yh/dPH+oOnkZ8V/3f 28Da733xPcsSq+Ue53nqgCJzRYYGTLLJ7LVCZslc4nPS3gRW+6qMWLRilnX0glCQIgjdluemVDb L3ailGItINYOaNX6GAALI6oDg3HI= X-Received: by 2002:a05:6870:3117:b0:222:bfb4:1ead with SMTP id v23-20020a056870311700b00222bfb41eadmr4235974oaa.4.1710765357941; Mon, 18 Mar 2024 05:35:57 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 18 Mar 2024 13:35:42 +0100 Message-ID: Subject: Re: [PATCH v8 2/8] cpufreq: amd-pstate: Document the units for freq variables in amd_cpudata To: Perry Yuan Cc: rafael.j.wysocki@intel.com, Mario.Limonciello@amd.com, viresh.kumar@linaro.org, Ray.Huang@amd.com, gautham.shenoy@amd.com, Borislav.Petkov@amd.com, Alexander.Deucher@amd.com, Xinmei.Huang@amd.com, Xiaojian.Du@amd.com, Li.Meng@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 18, 2024 at 10:49=E2=80=AFAM Perry Yuan wr= ote: > > From: "Gautham R. Shenoy" No changelog. > Signed-off-by: Gautham R. Shenoy Sender sign-off missing (when sending somebody else's patch, you need to add your S-o-b tag to it). > --- > include/linux/amd-pstate.h | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/include/linux/amd-pstate.h b/include/linux/amd-pstate.h > index 212f377d615b..ab7e82533718 100644 > --- a/include/linux/amd-pstate.h > +++ b/include/linux/amd-pstate.h > @@ -51,15 +51,15 @@ struct amd_aperf_mperf { > * priority. > * @min_limit_perf: Cached value of the perf corresponding to policy->mi= n > * @max_limit_perf: Cached value of the perf corresponding to policy->ma= x > - * @min_limit_freq: Cached value of policy->min > - * @max_limit_freq: Cached value of policy->max > - * @max_freq: the frequency that mapped to highest_perf > - * @min_freq: the frequency that mapped to lowest_perf > - * @nominal_freq: the frequency that mapped to nominal_perf > - * @lowest_nonlinear_freq: the frequency that mapped to lowest_nonlinear= _perf > + * @min_limit_freq: Cached value of policy->min (in khz) > + * @max_limit_freq: Cached value of policy->max (in khz) > + * @max_freq: the frequency (in khz) that mapped to highest_perf > + * @min_freq: the frequency (in khz) that mapped to lowest_perf > + * @nominal_freq: the frequency (in khz) that mapped to nominal_perf > + * @lowest_nonlinear_freq: the frequency (in khz) that mapped to lowest_= nonlinear_perf > * @cur: Difference of Aperf/Mperf/tsc count between last and current sa= mple > * @prev: Last Aperf/Mperf/tsc count value read from register > - * @freq: current cpu frequency value > + * @freq: current cpu frequency value (in khz) > * @boost_supported: check whether the Processor or SBIOS supports boost= mode > * @hw_prefcore: check whether HW supports preferred core featue. > * Only when hw_prefcore and early prefcore param are true= , > -- > 2.34.1 > >