Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp652914pxb; Tue, 2 Feb 2021 14:26:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwutxHyrkWql+08bUtFz0Uin/2+q0ZKNXTh0WT1iJw/Xnw4hWy6pnDvXaSj2dUpU9zKSsCr X-Received: by 2002:a05:6402:50ca:: with SMTP id h10mr235162edb.181.1612304812587; Tue, 02 Feb 2021 14:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612304812; cv=none; d=google.com; s=arc-20160816; b=uhUXJwwRtBOS3D12CPs7prlAthvFlg1s5DilDpnZRNm3CcrUp+AEV6ScrJMj23S8Gy 9hhlZ8X+x46mf0UzBMmDOcCZnZbsFnDhaVSobN/7ylwk/mng2Kwk5xYmVri5lbvMLMhc Gt56wgtpsIrtPWdriyD75qsst0nAnlb7Pu170vRLv3vZ9JglZq9G9clrSRCZoKT/6ECV 7zlRv3NU6x1wFtv1fkbD7hUqTPZgGryVftt473wYz//daXnPhVMZTsWvw3L21rD0Nu8v zquI7jW7lU8JeHQU/OlAodUduJNaV4YBLfCAEQBnF5PiiyBHUVgwZZcIVBLcVdeA390O IFig== 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=GE7elvQLNvbNcxWd1h5+9ZfUmchZFw9e12JQj/gRj6c=; b=x4ZwEhpx3jheNvJaWDrdDG9yQE7B2AIjame6CmNS4Tw8UB2k4YvjxoCgh1TBHe80Kg a8+EST83Ur6yjsLb9Yj6BzOlM5s8ubToTqXto3B4ZNXxrG9MLMpVDK+W5Ktr2ctFiYjZ 3CX15PYZ3FlkeXvURUzaTaUA4xyPqABKZdmzl3TGyk7clYGNqp9qwvuPfIYSBy+CRdXf F1UTNcgd5J1leEZq5bM1OSMhhSduk4Jsp1XiCqdLToczK1oDiPVM5SiMwTzi4Kavg4ti /Yo7dyOXC30Rnq9wvSaRg5akagzxdtS3fs221av8fZ6QbDfAghwwSopWLPhHFeSLLAfV OqYw== 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 l11si128429ejx.382.2021.02.02.14.26.27; Tue, 02 Feb 2021 14:26:52 -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 S234708AbhBBOib (ORCPT + 99 others); Tue, 2 Feb 2021 09:38:31 -0500 Received: from mx2.suse.de ([195.135.220.15]:49700 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231524AbhBBORt (ORCPT ); Tue, 2 Feb 2021 09:17: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 D77EBABD5; Tue, 2 Feb 2021 14:17:06 +0000 (UTC) Message-ID: <1612275425.27785.70.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: Peter Zijlstra , Mel Gorman , Borislav Petkov , Ingo Molnar , Viresh Kumar , Jon Grimm , Nathan Fontenot , Yazen Ghannam , Thomas Lendacky , Suthikulpanit Suravee , 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 Date: Tue, 02 Feb 2021 15:17:05 +0100 In-Reply-To: <1611933781.15858.48.camel@suse.cz> References: <20210122204038.3238-1-ggherdovich@suse.cz> <20210122204038.3238-2-ggherdovich@suse.cz> <1611652167.11983.65.camel@suse.cz> <20210126093140.GB3592@techsingularity.net> <1611933781.15858.48.camel@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 Fri, 2021-01-29 at 16:23 +0100, Giovanni Gherdovich wrote: > On Tue, 2021-01-26 at 11:05 +0100, Peter Zijlstra wrote: > > On Tue, Jan 26, 2021 at 09:31:40AM +0000, Mel Gorman wrote: > > > > > So, should this patch be merged for 5.11 as a stopgap, fix up > > > schedutil/cpufreq and then test both AMD and Intel chips reporting the > > > correct max non-turbo and max-turbo frequencies? That would give time to > > > give some testing in linux-next before merging to reduce the chance > > > something else falls out. > > > > Yeah, we should probably do this now. Rafael, you want this or should I > > take it? > > Hello Rafael, > > did you have a chance to check this patch? > > It fixes a performance regression from 5.11-rc1, I hoped it could be included > before v5.11 is released. Hello Rafael, you haven't replied to this patch, which was written aiming at v5.11. Do you see any problem with it? Frequency-invariant schedutil needs the driver to advertise a high max_freq to work properly; the patch addresses this for AMD EPYC. Thanks, Giovanni