From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F79CC388F7 for ; Tue, 10 Nov 2020 20:10:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 304D520731 for ; Tue, 10 Nov 2020 20:10:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727018AbgKJUK0 (ORCPT ); Tue, 10 Nov 2020 15:10:26 -0500 Received: from mx2.suse.de ([195.135.220.15]:54770 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbgKJUK0 (ORCPT ); Tue, 10 Nov 2020 15:10:26 -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 26902ABD1; Tue, 10 Nov 2020 20:10:25 +0000 (UTC) Message-ID: <1605039024.14855.22.camel@suse.cz> Subject: Re: [PATCH v2 0/3] Add support for frequency invariance to AMD EPYC Zen2 From: Giovanni Gherdovich To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Len Brown , "Rafael J . Wysocki" Cc: Jon Grimm , Nathan Fontenot , Yazen Ghannam , Thomas Lendacky , Mel Gorman , Pu Wen , Viresh Kumar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Doug Smythies , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Date: Tue, 10 Nov 2020 21:10:24 +0100 In-Reply-To: <20201110183054.15883-1-ggherdovich@suse.cz> References: <20201110183054.15883-1-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-acpi@vger.kernel.org On Tue, 2020-11-10 at 19:30 +0100, Giovanni Gherdovich wrote: > v1 at https://lore.kernel.org/lkml/20201110083936.31994-1-ggherdovich@suse.cz/ > > Changes wrt v1: > > - made initialization safe under CPU hotplug. > The function init_freq_invariance_cppc now lets only the first caller > into init_freq_invariance(). > > Giovanni Gherdovich (2): > x86, sched: Use midpoint of max_boost and max_P for frequency > invariance on AMD EPYC > x86: Print ratio freq_max/freq_base used in frequency invariance > calculations > > Nathan Fontenot (1): > x86, sched: Calculate frequency invariance for AMD systems > > arch/x86/include/asm/topology.h | 8 ++++ > arch/x86/kernel/smpboot.c | 84 +++++++++++++++++++++++++++++++-- > drivers/acpi/cppc_acpi.c | 3 ++ > 3 files changed, 90 insertions(+), 5 deletions(-) > Hello, I've sent a V3 at https://lore.kernel.org/lkml/20201110200519.18180-1-ggherdovich@suse.cz/ which is slightly better than this V2. Please ignore V2, the V3 submission is the most up-to-date. Sorry for the noise. Giovanni