Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp129559pxb; Wed, 3 Feb 2021 01:15:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeQ6hlrRrHR86q5Y78yFgiW3rxy5r9301nQOyg2v0QGVW+oW8g7F6uvxnbBN1lU8MErS02 X-Received: by 2002:a17:906:8416:: with SMTP id n22mr2315226ejx.32.1612343737767; Wed, 03 Feb 2021 01:15:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612343737; cv=none; d=google.com; s=arc-20160816; b=Gds5TM4UEDiGpq+FxMBuINRBYZx/eamB6Onl2evFXWhB4K7ZXVcy9AaGnPp9XFELHB SP4VT5REW7jEVPlIqVLWPm+ea+li3jI/X2FlHQgbjpG1wZu4AiZTbbfjfjh65VYK8Xve TL8C8LqOTR0V6ekt2r9v024CkLo9H+fs7wHzmXtebVExLJ9vea5XU41Lxi+chHXwlKaA 9UIIRrJwBfuwAf1a+CDKBZkeoad00ssZLLyoFeepwk4yz11G60IXKTIWhqu/1r90pNii 4I/RenTDDs9rCZMoSCFUeTOHkIDRwhjQk73TqUigQYy7uwiG1oeQ0Waxh1PcqdkiBgn1 cMEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=YvsMAlkcYi3b9JS08TDd7u5VIWn5Bg/rP7PJuc2Niu8=; b=TDdpOrS8W7Vg27cYw6nKTR3XkNY13M7CZIYqQPJ6NGBjuCP0gsxzqmjtIKUcynjMLf 96OZSRtqyhwVKAR8cWQXsuXuu2OUSlbLtbMzg7HxxX+Ib7kVu0bqF0Ky74oE2PuSjyh/ q924te4yTliDOw/IE9lW0qXn2MTHxLKkbvSsqD65uBU/D+DqhvRXWZhLtBT1zeLqszWS mCCIhlXBqjaxNl0qhPi3DjQhnzeoQ77CX8NI0G4ORNCcCtifsiVrNlybkyFA8O3KWil3 2AKUD2DejrLFK2JDXYomEBd2epjLA0hr+D7tOyQP0pTDLWAzJ7nTl0TcX894DGXux+w6 WsxA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k5si977250ejj.483.2021.02.03.01.15.13; Wed, 03 Feb 2021 01:15:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232911AbhBCJOe (ORCPT + 99 others); Wed, 3 Feb 2021 04:14:34 -0500 Received: from mx2.suse.de ([195.135.220.15]:42128 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232880AbhBCJMt (ORCPT ); Wed, 3 Feb 2021 04:12:49 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8B1E8AC9B; Wed, 3 Feb 2021 09:12:07 +0000 (UTC) Message-ID: <1612343526.3640.23.camel@suse.cz> Subject: Re: [PATCH v2 1/1] x86,sched: On AMD EPYC set freq_max = max_boost in schedutil invariant formula From: Giovanni Gherdovich To: "Rafael J. Wysocki" Cc: Borislav Petkov , Ingo Molnar , Peter Zijlstra , "Rafael J . Wysocki" , Viresh Kumar , Jon Grimm , Nathan Fontenot , Yazen Ghannam , Thomas Lendacky , Suthikulpanit Suravee , Mel Gorman , Pu Wen , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Michael Larabel , the arch/x86 maintainers , Linux PM , Linux Kernel Mailing List , ACPI Devel Maling List Date: Wed, 03 Feb 2021 10:12:06 +0100 In-Reply-To: References: <20210122204038.3238-1-ggherdovich@suse.cz> <20210122204038.3238-2-ggherdovich@suse.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-02-02 at 19:59 +0100, Rafael J. Wysocki wrote: > On Fri, Jan 22, 2021 at 9:47 PM Giovanni Gherdovich wrote: > > > > [cut] > > > diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c > > index 1e4fbb002a31..2378bc1bf2c4 100644 > > --- a/drivers/cpufreq/acpi-cpufreq.c > > +++ b/drivers/cpufreq/acpi-cpufreq.c > > @@ -27,6 +27,10 @@ > > > > #include > > > > +#ifdef CONFIG_ACPI_CPPC_LIB > > Why is the #ifdef needed here? > Right, it isn't needed. The guard is necessary only later when the function cppc_get_perf_caps() is used. I'll send a v3 with this correction. Giovanni > > +#include > > +#endif > > + > > #include > > #include > > #include