Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1652328pxu; Sat, 12 Dec 2020 22:10:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZczgcUHDX5psDK2n+tRICALEnSCJ4D4g0vT2QJf53UOqZaVExHbHgl/C7owOZah1fJjDT X-Received: by 2002:aa7:ce94:: with SMTP id y20mr19003722edv.361.1607839810455; Sat, 12 Dec 2020 22:10:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607839810; cv=none; d=google.com; s=arc-20160816; b=MSpF9RmmLtEN1PwWy/T6Zszj29x64ieUxVsNXynK0U0I8IpS//DP9lC52yh3Q0JQUO XCzgoKK1vgmzdTiHrZ3Z5CQOUWBnsmV6sPBwBbBgSPCxrr2cZUOIlVCi3SIp7c6O+KdU E8EHBLlAn7To86s8EYp5PllWdCe4UEUCdQmvrtbcCOCQoDbt+6qob7ylXD15u4luNtY9 oE7ncr3VTC9lQWhkibIFb41/Tf1G7GjvZIjgyPHqRDOg92po1GbsktdOLv457tq20PMV qaQZH4ZTu/20ELuJfP313uK/Fn54s6jaJiYSFMeHUtXkDB4uZS4YVX74qYUdp13hxMS1 BVqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:dkim-signature; bh=MgWP9jxRB8amULVjgVJSqmEz5Q4ppHRiQaLzS/iT588=; b=U0P8L2ZD+7tv1M8nS/C/FOBHkrsPdzz1lQjY64kKZC2ffZ9sKAcUxd77hX1w25DX8l 3fGh1Hg638sp5plz1KZwU0yFnpXq5LtI2E6W14LPH4Pt08tslk4mF6qBczLVFhVtsYpt xa2vSNiV9jjdX2RMSMFhC2EpFEON15FZNAFKcTIHIApAMaCPlUIP9xh5VaFG2Bn5Alb4 yEXOVz5wAQIDstHJwRO0sEFB5a99DBf8MUHD3Cf+/6YPLNTB8YdFlLR9GoT8L8pC9px1 pRz5hg1VzjNHth+EJsAR1GmKRZSCVokkX0qTtUASo26oSq55csttd+gDVQfmB0xqOr/Z wA+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UR3MFTM4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si7383990eju.94.2020.12.12.22.09.47; Sat, 12 Dec 2020 22:10:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UR3MFTM4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406833AbgLKXiD (ORCPT + 99 others); Fri, 11 Dec 2020 18:38:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437309AbgLKXhW (ORCPT ); Fri, 11 Dec 2020 18:37:22 -0500 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1E29C0613CF; Fri, 11 Dec 2020 15:36:42 -0800 (PST) Received: by mail-pj1-x1043.google.com with SMTP id hk16so3172179pjb.4; Fri, 11 Dec 2020 15:36:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=MgWP9jxRB8amULVjgVJSqmEz5Q4ppHRiQaLzS/iT588=; b=UR3MFTM4CQWCYCmvT32O1a+ZA7AG2qyLrJHwxP4ONPm9+MwSSztBnomol+J4gC/JzE 0TAFACUrFGfjA6R8nmIr2+mlekIjiQktrDWesC2QIZ8RFLUxFsQq/dAIkpV3rCwCfFCZ 6Zkinpqxdq5kLeX3pXVkxebQLM9S8MQdw5Mo6unIyvRyHhAu3GTVegNH6DvbcOB91put LwrhCKaxMw60zNO+wdAT84rFrgV+cXcYWkvG/MHRpTGzhnH3hbYYuLYXcz1dXC5K9b/M 8snR0TwwKpZqN1MDYcon294WMrb2RHcGd88NxrEf4Rn7hvZM4xgKt+P3cDDviUKoomII jZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=MgWP9jxRB8amULVjgVJSqmEz5Q4ppHRiQaLzS/iT588=; b=LwkE7s6OKhgzhMcm7qxNN78d3cMTEnLNZbJX3tcUQCjY3iPjhJ+j+a8FVE4NsFnXeh aB5HcdhlGHHc9Weud3xRsFJfh35sobr/e/TdaIh44r0yWhv97j1R4L3jbEouNtsyJojP w00X+IP9U/bFZXt7ijwsX8AFriZKGi0HI2rRj1sBdidNFaw4incbgLCK8ajIIwWgMlcX 3wbI3CV6o4yYcVK2FFWzw6/RiZKbyJNhYUOVjmfmHh9IVUqyB7mADO+NXoxBUvnNecO+ 6OlFuhhJSuu5bKMpwOrzqDdu/Tm7iaN7PtQrzXVijvHff7F2k4eNub4uNEOiQZjtArJO DqLA== X-Gm-Message-State: AOAM532RYBEkfUwvLZ71QltUVodZi65cNgISeO7XRPDVrJuMcbWzX8AE SSUYmToCL7KF8I0k1t5FWu68Q/jg1bPxeVNb X-Received: by 2002:a17:902:22e:b029:d9:e591:7bd1 with SMTP id 43-20020a170902022eb02900d9e5917bd1mr13297768plc.50.1607729802347; Fri, 11 Dec 2020 15:36:42 -0800 (PST) Received: from localhost ([2405:6580:31a1:500:1ac0:4dff:fe39:5426]) by smtp.gmail.com with ESMTPSA id m77sm12361409pfd.105.2020.12.11.15.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Dec 2020 15:36:41 -0800 (PST) From: Punit Agrawal To: Borislav Petkov Cc: rjw@rjwysocki.net, wei.huang2@amd.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 2/2] cpufreq: acpi-cpufreq: Add processor to the ignore PSD override list In-Reply-To: <20201210230332.GH26529@zn.tnic> (Borislav Petkov's message of "Fri, 11 Dec 2020 00:03:32 +0100") References: <20201210225640.317719-1-punitagrawal@gmail.com> <20201210225640.317719-3-punitagrawal@gmail.com> <20201210230332.GH26529@zn.tnic> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Sat, 12 Dec 2020 08:36:38 +0900 Message-ID: <87360boqyh.fsf@stealth> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Borislav Petkov writes: > On Fri, Dec 11, 2020 at 07:56:40AM +0900, Punit Agrawal wrote: >> Booting Linux on a Zen2 based processor (family: 0x17, model: 0x60, >> stepping: 0x1) shows the following message in the logs - >> >> acpi_cpufreq: overriding BIOS provided _PSD data >> >> Although commit 5368512abe08 ("acpi-cpufreq: Honor _PSD table setting >> on new AMD CPUs") indicates that the override is not required for Zen3 >> onwards, it seems that domain information can be trusted even on >> certain earlier systems. Update the check, to skip the override for >> Zen2 processors known to work without the override. >> >> Signed-off-by: Punit Agrawal >> Cc: Wei Huang >> --- >> drivers/cpufreq/acpi-cpufreq.c | 9 +++++++-- >> 1 file changed, 7 insertions(+), 2 deletions(-) > > What about answers to those questions first? > > https://lkml.kernel.org/r/20201208233216.GH27920@zn.tnic Oh.. sorry I missed that mail for some reason. Let's continue there.