Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1021191rdd; Wed, 10 Jan 2024 06:31:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEBX89LNuDkcKnSeK8gjUDVlOtg9DS5szyjt/FwjVjfEMVR/IHxj85XT7ltmL0jw4EuClb X-Received: by 2002:a17:902:64d0:b0:1d3:b609:eb0b with SMTP id y16-20020a17090264d000b001d3b609eb0bmr201750pli.27.1704897064812; Wed, 10 Jan 2024 06:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704897064; cv=none; d=google.com; s=arc-20160816; b=r+xNfrSYJpIwpyeF9qLoiWySoxjUgqvVbSg/woIxIsXJ3xSLaU6OEaU0LXkMe49Tkn nKY8Ifaw1rinncpGe/DpHu468lexFxoAzsPS80I1rf0KekBgvkOEPnoE1MPEuxPO7ME2 tV3VsciRGIDwAQmKG4RETsaMcZHZrDQhk5zD167sAsN6w5TCF2pQ+5N6JpVQ2R7gguEa duF4BPvZwg9t9xd5nQIkwlEz34vMYg8d63plMof2d2xglFAZ3yFLsLepnFb9tlIjXcUg o3wQLi9zuS6MPJQf278EHzsk8Z7eaiR8iB3/7+DH8dv/8K8HkbFodjIIjYGGGcvo4UI1 w/8g== ARC-Message-Signature: i=1; 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:dkim-signature; bh=i89h27D5x8fo1WpuYhfPb+vKKL6dKMeRr0vXj33KjsU=; fh=gJj9PWjD8hECyqrpNxNXFv1zUGnr6gtSwUPRGjnhS+o=; b=XdQ5CommlckWNGAllCAHKSB63f0pHhI9M0Dv0kvRw7OaaUhHN+lr0ydT8fqAW2YNMh Mf5FLWKuIxxVA3gKV9lwJUOiNVnLOCMiWqO7tAgNnQCe0pKku7qP32VH1TzcMIiFe8Vt V5EhQPkkC4JpAQMEHhuP13HG9rJh2L2BqsfmZ0imnZOeXVv1amZI2dhN2DqszxwNYY8H KDbDLEYN927C6JhuysKEibn5gZsylByntUKCCNZgv/MZDxyka9YIaQICKGfGLLj50qph pstPHuHhyGMzggkO9T+FQA7JnL9SszOQ+TZI7Y6tvIicYotivGEACtwO33PhIPUNQopf PWsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RmCPG5Pa; spf=pass (google.com: domain of linux-kernel+bounces-22358-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22358-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j12-20020a170903024c00b001d4c27cd15asi3977905plh.491.2024.01.10.06.31.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 06:31:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22358-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=@gmail.com header.s=20230601 header.b=RmCPG5Pa; spf=pass (google.com: domain of linux-kernel+bounces-22358-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22358-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 71F23288823 for ; Wed, 10 Jan 2024 14:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73D8D4B5B9; Wed, 10 Jan 2024 14:30:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RmCPG5Pa" Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (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 51813ECF; Wed, 10 Jan 2024 14:30:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-f53.google.com with SMTP id ada2fe7eead31-466fb253b19so3017447137.1; Wed, 10 Jan 2024 06:30:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704897053; x=1705501853; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=i89h27D5x8fo1WpuYhfPb+vKKL6dKMeRr0vXj33KjsU=; b=RmCPG5Pa2OFCUB2QAh+kE3i/P5stPU0pz/SEN5oRXYx0S2FLdY+EOpSHGDRvHPKtay QFHV3Y7hz0SX3qywyGx1GzcH2owNXJrzCUrE8W+CK6RTWD2qA35M+pty6+21ZzQ1y496 vDQMXSkl4R2vKkXr8MKX+0/DBRqFeFn5UwgYnMTBRgTjn4OsgOLpLuM15+mKkd73kyGa a0G8xjUhSZ7TIkMIo6qvjctYSHxKDqtSwqx3PYhpAQjzjiz+HTuEHan8yGBGU9Pt9pH8 CIeL5+fUr/v4U1KjjE0cd8hJhUy+fCpEL78a3kT0Nj4OEsFowtQ4dllNdfJEat6u+2kS 68UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704897053; x=1705501853; 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=i89h27D5x8fo1WpuYhfPb+vKKL6dKMeRr0vXj33KjsU=; b=g2R4S6ltLqki7XQgL39nVA3UoKa2r5Ex/2eB752Fe+c8wJEQ0BqQPWp6NVqQJsnFi4 gbmI8IKFp0IgyILT7Wy4bYCpPkQcTXmaDMiv/z6pXQYhQ9NQcvTEkiiLbxu8eFId6Pu7 9zlhxzE6BNWbezOafP0NQ/MQPl3s4dRi7rM72zSWOqfmiMtXPoIRuyR1m3SvkwOlWhdO VjxcCKc+o36fk9zz8S214I9TYEh32NxZduSAyT156n0jviwx6Y+2X8E97bjt9Xy41IVP UZgR6ft1wikKgXTImzocrnaZW6uQHSsrCQTTPQ18vQxvaDv0sRnt1zVnl3WGHd/IWz2V +jDQ== X-Gm-Message-State: AOJu0YyJM6vDwDxkqcHbZuejumfX6hl9At1GEdRuumc/IgNV+uQ/NRkS BeZVKAxFwTs9Kg3jSSotP18mcfwUnAfQaSyIe+s= X-Received: by 2002:a05:6102:508e:b0:467:dd85:4304 with SMTP id bl14-20020a056102508e00b00467dd854304mr203081vsb.27.1704897053071; Wed, 10 Jan 2024 06:30:53 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240109175844.448006-1-e.velu@criteo.com> In-Reply-To: From: Erwan Velu Date: Wed, 10 Jan 2024 15:30:41 +0100 Message-ID: Subject: Re: [PATCH 2/2] cpufreq/amd-pstate: Adding Zen4 support in introduction To: "Rafael J. Wysocki" Cc: Erwan Velu , Huang Rui , Viresh Kumar , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So it's probably better to let AMD people fixing this part. Thx for the feedback. Le mer. 10 janv. 2024 =C3=A0 15:21, Rafael J. Wysocki a= =C3=A9crit : > > On Tue, Jan 9, 2024 at 6:58=E2=80=AFPM Erwan Velu wrote: > > > > amd-pstate is implemented on Zen4, adding this architecture in the > > introduction. > > > > Signed-off-by: Erwan Velu > > --- > > drivers/cpufreq/amd-pstate.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.= c > > index 1f6186475715..9a8d083f6ba5 100644 > > --- a/drivers/cpufreq/amd-pstate.c > > +++ b/drivers/cpufreq/amd-pstate.c > > @@ -14,7 +14,7 @@ > > * communicate the performance hints to hardware. > > * > > * AMD P-State is supported on recent AMD Zen base CPU series include = some of > > - * Zen2 and Zen3 processors. _CPC needs to be present in the ACPI tabl= es of AMD > > + * Zen2, Zen3 and Zen4 processors. _CPC needs to be present in the ACP= I tables of AMD > > IMO, it would be really nice to avoid extending this line so much, but > this is up to the AMD people. > > Also, while you are at it, "include" in the first sentence should be > "including" and a new paragraph after "processors." would make this > comment easier to follow from the logical standpoint, because the > first sentence is about the supported platforms and the second one is > about additional requirements (ie. something else). > > > * P-State supported system. And there are two types of hardware imple= mentations > > * for AMD P-State: 1) Full MSR Solution and 2) Shared Memory Solution= . > > * X86_FEATURE_CPPC CPU feature flag is used to distinguish the differ= ent types. > > --