Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp294019pxb; Wed, 3 Feb 2021 05:55:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwc5yCgGsz0vuJ+InaQahTwUDAb5dwzFP/ufu8VTsq4ilHzKSHxtwetLgW1CLJdBG86rp6I X-Received: by 2002:a17:906:1a11:: with SMTP id i17mr3386483ejf.278.1612360557878; Wed, 03 Feb 2021 05:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612360557; cv=none; d=google.com; s=arc-20160816; b=f/VF5NxH3AvWIMzwiupUMPp3hXtc3E3c/rbdSf4mA8Nm/8vXLIKm0SfGjUTOGyjVOR pXjQO3Q5LzcvlMOeGvIgjRfN73zORx/DfMhd7tAp4lAA6hZzapwJvo8r6EWYApB4vMmL 7/y19sLhwTQS1P3vazcvx5OoMMF/axnHRy2eOvpfE1+zq1xOvb3AiBqlMVo3ULLdyIK0 QqfJm0YggiT/yVkUQ16lKmJFSvggzd6x4pifssjNa5NvOVU7pkBaiLdACffwIQWSgTfe MiJmrmL7ArwjgPmQEIfieNkbUTWDBsXBbptbHAGzoERS9GjB+MoFwaXTh32b2KZt35r5 4HRQ== 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 :message-id:date:subject:cc:to:from; bh=f6Omtihlcjehv1Q4GDxqfcccHDTPhq9I9GEB/2l9Ctg=; b=bNK5zAWwMK6Y/ziszBj19TKy14vTPPCvKmrbjQ+k3PnTnix4OMKM07OQ7QSCIBkihH lJExw/NxyW0TWmikChpJuIEnubhFokwbiiOHGuysBLuPG2WFcZHM6+9OTzh1uh7UKFDZ qk3RIQ7kjqbCnqI8zy5dIF2iNpgwWtYBR+xShbfyWwSLQRJ6mXoUSY9kM7gusTbPuSar Kmifny4t2CYGquWBNNLc+T4dQopyiNUoWG8uRinZIp5g/lfaDahMAxQ7IYK2MEMf/VvA 2myFAQhhko9cJ/7fIMZyB5OPaT1UxTKJvhr3TbgyZjflfcafcFWCIgE4ACRk6KJY7Ccm Oc0A== 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 h5si1410382edd.237.2021.02.03.05.55.31; Wed, 03 Feb 2021 05:55:57 -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 S232320AbhBCNyw (ORCPT + 99 others); Wed, 3 Feb 2021 08:54:52 -0500 Received: from mx2.suse.de ([195.135.220.15]:45594 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232538AbhBCNyV (ORCPT ); Wed, 3 Feb 2021 08:54:21 -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 183E6ACB0; Wed, 3 Feb 2021 13:53:40 +0000 (UTC) From: Giovanni Gherdovich To: Borislav Petkov , Ingo Molnar , Peter Zijlstra , "Rafael J . Wysocki" , "Rafael J . Wysocki" , Viresh Kumar Cc: Jon Grimm , Nathan Fontenot , Yazen Ghannam , Thomas Lendacky , Suthikulpanit Suravee , Mel Gorman , Pu Wen , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Michael Larabel , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Giovanni Gherdovich Subject: [PATCH v3 0/1] AMD EPYC: fix schedutil perf regression (freq-invariance) Date: Wed, 3 Feb 2021 14:53:20 +0100 Message-Id: <20210203135321.12253-1-ggherdovich@suse.cz> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2 at https://lore.kernel.org/lkml/20210122204038.3238-1-ggherdovich@suse.cz Changes wrt v2: - removed redundant "#ifdef CONFIG_ACPI_CPPC_LIB" Giovanni Gherdovich (1): x86,sched: On AMD EPYC set freq_max = max_boost in schedutil invariant formula drivers/cpufreq/acpi-cpufreq.c | 61 ++++++++++++++++++++++++++++++-- drivers/cpufreq/cpufreq.c | 3 ++ include/linux/cpufreq.h | 5 +++ kernel/sched/cpufreq_schedutil.c | 8 +++-- 4 files changed, 73 insertions(+), 4 deletions(-) -- 2.26.2