Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp524295pxu; Fri, 11 Dec 2020 07:54:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUOJeKNZYTlYRU1wt3e1PqOjl64m4gSROAFPq2pshfVJtcuZui+343Q+T9ZI1B0oBVIqjI X-Received: by 2002:a05:6402:352:: with SMTP id r18mr11830379edw.373.1607702072689; Fri, 11 Dec 2020 07:54:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607702072; cv=none; d=google.com; s=arc-20160816; b=ZyS8+IEbhpoivacYPNgHdBEySLg/zXzELjEz9UEdB02RdV8YImHXIkCnCO06AKe9Uq EhudU6dObNTb4/47y7UAqzTmJhZ7POpZtssPhBfJgGYHZIxG+lr5n7raPrPxM9yXmIoN 3YOzl4AGO9mbUnhN+h2xdtlEADnRaSdPywwqv6pQmmQpXcF+p7LRBqjrMKLqrnJabWoH Br9tsxY72eeTbbzu1n6RyGbWS49TV2zkUaf0i2cXcXlpfz4EVqaXBn0xID73Vy51ShQK MtAIpx3b8Ke7KIIHLmgnO4vtjnuaYVhOujon0DOMpzf5GRID2Ff7fGXOjohgoJbwHsNy uv9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QHCDS5xknLkQSxrIZmTflSOoir1pkSLjwuD4Z1gvOmQ=; b=zS4aqWBHKlXBU3Rx/mSy3L3gpgk3ar2wHYcH/khmz7hH6q19YVH+nJDMejZeR2D280 tlYiiunDBkZyMsU+hN1vFw+eju7PQkolmgbcuMal0Z7HlLxWBdbp8kMgRdpyPe9GbkSC PQ1Px/SO63zYynWJNJGjiYJk8CTfidfZNWu5taRNI7GLp+8ZvdT4+XBYQHgrWVYFpGvm ssUans2Akw2V8kBeed3sz9F3Tyvxlz8GY4vlKx52AZkasmdtjjLXUkmfNHSlNGiZlh0t 0hmCKnjg6mgkAR9ILXkuQBcewfO3nh+1wacu4GxT+o39E6FE+PxElTEceO2j1CIF/Rz/ AykQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=d3y7sXGG; 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=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rh5si4593916ejb.488.2020.12.11.07.54.08; Fri, 11 Dec 2020 07:54:32 -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=@alien8.de header.s=dkim header.b=d3y7sXGG; 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=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729967AbgLJXEi (ORCPT + 99 others); Thu, 10 Dec 2020 18:04:38 -0500 Received: from mail.skyhub.de ([5.9.137.197]:59482 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389035AbgLJXEU (ORCPT ); Thu, 10 Dec 2020 18:04:20 -0500 Received: from zn.tnic (p200300ec2f0d4100324f6551f32106f4.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:4100:324f:6551:f321:6f4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A70E41EC0380; Fri, 11 Dec 2020 00:03:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1607641418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=QHCDS5xknLkQSxrIZmTflSOoir1pkSLjwuD4Z1gvOmQ=; b=d3y7sXGGaX0ykclPID3Ma6JCsxGeZQPsM99z8xsROYspdcvDANHUUgSU2MHkJ0VtlmduYt 00YPFiBU1BivZbLK7Q5BRmQTZD5078R/W7vWSoE3P/amVV1yEbyRD/wJVGbTnPFvGPLzdF RftBMJGpk9hNjR4BK3uhAMlZ4SS2hIw= Date: Fri, 11 Dec 2020 00:03:32 +0100 From: Borislav Petkov To: Punit Agrawal 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 Message-ID: <20201210230332.GH26529@zn.tnic> References: <20201210225640.317719-1-punitagrawal@gmail.com> <20201210225640.317719-3-punitagrawal@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201210225640.317719-3-punitagrawal@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette