Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4279082pxb; Tue, 10 Nov 2020 12:14:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJywJXOUkKrD57Tqrh+7YY3f9S5gpWvqjBa4C+BWaWHtK/MlVIhwKPtHOhzNjWTKZXlgJUta X-Received: by 2002:a17:906:22c7:: with SMTP id q7mr22662396eja.291.1605039285520; Tue, 10 Nov 2020 12:14:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605039285; cv=none; d=google.com; s=arc-20160816; b=oAJImBmFyCXMszl+uxCA68X5hgcLlqA68jKmatefE1wIGfDO4gy1wtqD2JU4lSLk9g AwSx89Mf7HvSR7o9LZqgEaBLo8EgxkZ6yv0XIYRXDOf68+xD527sLTHOdG79q5RdZ3fl 1KVva2qN052KMbI2go84J66NMAGAq+qGQWs8/lsF8ioRNu7icM/jGHRMAg/ZXj25pNvu gegytsgWRYLmvbdU4onCLRNFDHOTsOdc1ibQ5AbORt/5eNNvA/ybjvtL+V8Al6YPVABx h5m5otyzk0PFxmUCtlrri/S9j1DMv4yNN329gSO71ipDQ7jJhn9Wlwqy6/FgN7/sAkh8 MZbQ== 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=n1+Ky6dzIhtf41RYhOwfrGv1JMl3wOlBVfI+gKG35u4=; b=0IAdFCnMztvSJcb3Ok7VidH53ZBEDCWJP2WAuLql8tmZ66rl5LJe0ML7FBXDBx0O/j UaFDsrubZg1/TKEUO9He26iAQ4kZR7VeJ4+gN/GtGv85LHQCeBUvRFjcsbWCsQ/FSp+J 8Hb24DjhrRYSTTc0NGPk7RZcuHXPzTfoazDyf7y/lRmb1ycqRD+Q4wGif+p+lqb26I6n Qt1xPyeE0RZR3nJRB2arbgW7+0aIvxSi62zVXdIhCBSMM4dOo3yok4ga5adn38TSmhrO H5g21mYkO8I6UFYWZc0jc/ylIBFbEGcGJXi8ceffXa4McP26BhuArX8s0kP2PmOvzgQU BPGA== 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 u2si9960996ejo.423.2020.11.10.12.14.21; Tue, 10 Nov 2020 12:14:45 -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 S1730164AbgKJUK0 (ORCPT + 99 others); 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-kernel@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