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=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 258DEC4320D for ; Tue, 24 Sep 2019 16:05:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E5A1F2190F for ; Tue, 24 Sep 2019 16:04:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="vs2bZZBy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438317AbfIXQE7 (ORCPT ); Tue, 24 Sep 2019 12:04:59 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49860 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391013AbfIXQE6 (ORCPT ); Tue, 24 Sep 2019 12:04:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DrA7bFKwIOoag2aduILYVU+ngioLiFeCj1i91CCn1bw=; b=vs2bZZByr1rQHI73Tn81WvTKd WJ9Xz2zdf9enGGoCAKuytnpjE/I34yrDv89TQO47IwSobZ3AKx7uFC4SbD1wmFIHineftJxvNx3GH V4uUKAXH76Aw0gFP4l8bYqJoMyl/gtSZ8JYmgfe9X8joaklsPbU/4CHkenHHHmK/L/MI4+mZzN/gB UaeLq6xIJ7G06579YB/um+lk3Zxt5KYia0A46PeQuVgmlFZSP5yDu4RxsAWXwraPkKoZzbgvoiy0Z 4PBjQBakOZRgtlSKzDeFlzhzvHWQ+5s8xgd0W3Wb5bWWPvn4acS8lPONw3s1lhgOS0XWVg4A/qDyL JX1/hfiUg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCnIe-0003af-OH; Tue, 24 Sep 2019 16:04:29 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 7A8C83053E9; Tue, 24 Sep 2019 18:03:37 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 26C8329E510E1; Tue, 24 Sep 2019 18:04:23 +0200 (CEST) Date: Tue, 24 Sep 2019 18:04:23 +0200 From: Peter Zijlstra To: Giovanni Gherdovich Cc: srinivas.pandruvada@linux.intel.com, tglx@linutronix.de, mingo@redhat.com, bp@suse.de, lenb@kernel.org, rjw@rjwysocki.net, x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, mgorman@techsingularity.net, matt@codeblueprint.co.uk, viresh.kumar@linaro.org, juri.lelli@redhat.com, pjt@google.com, vincent.guittot@linaro.org, qperret@qperret.net, dietmar.eggemann@arm.com Subject: Re: [PATCH 1/2] x86,sched: Add support for frequency invariance Message-ID: <20190924160423.GN2369@hirez.programming.kicks-ass.net> References: <20190909024216.5942-1-ggherdovich@suse.cz> <20190909024216.5942-2-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190909024216.5942-2-ggherdovich@suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 09, 2019 at 04:42:15AM +0200, Giovanni Gherdovich wrote: > +static void intel_set_cpu_max_freq(void) > +{ > + /* > + * TODO: add support for: > + * > + * - Xeon Phi (KNM, KNL) > + * - Xeon Gold/Platinum, Atom Goldmont/Goldmont Plus > + * - Atom Silvermont ISTR I had code for Atom.. what happened with that? > + * > + * which all now get by default arch_max_freq = SCHED_CAPACITY_SCALE > + */ > + core_set_cpu_max_freq(); > +}