Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1745822ybn; Thu, 26 Sep 2019 01:22:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqygPXRSdx//S2EHNX+MsR6E85lXUaH+GHTXoVgg2YAuEFBEVd8/d3Fz3r8BoU5v950GoWUp X-Received: by 2002:a50:e613:: with SMTP id y19mr2236924edm.290.1569486123441; Thu, 26 Sep 2019 01:22:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569486123; cv=none; d=google.com; s=arc-20160816; b=Pv/EmL3lufMqXVwq9D4b8eUHZ6c65u0Z8mrbP5/jnBBHeW4yTwvKrxlovUua/SChM8 uZWFcADicR474a/vV9vbWEn0UAopEgvKB96q4btnccLavThxiR8/5tIkLeL6WfQaDG5C TTEGUcpCFyrt0tp+OyxtaRSvaPIYTKKccLoRHqH57HVQYt2wwNN96duzmTHF5WMjcki4 ljgQdzTiPUsX9A9mtRWXZCpALAWS5OVMJSYH3/Di2nmmJC+hkkyaICCYZHqdylym7MLp 8n6ZWqnQfi2XFB/fMgRF/ek1IMN8Ps9NcEPZnLkOtQNi9tIMqBQas1TT7NbeAzC9epjv FBsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DrA7bFKwIOoag2aduILYVU+ngioLiFeCj1i91CCn1bw=; b=N18ijWmgMPUo4eOKVi3o8kWuNJajmuiw8uHuks2354+YKOoZYhtPq8wy3mFh34vI2w w7DGeQWU06LRrcumhpMpq5WBLRtpRuy/Amn+7CPsGT9oNZwZflfybaRKAWXKervOIcbi FzFAmR4XBR3P1/Xp1Ri/M7q9qUf+yV4S98qwLd+1HDhPUp8NBmLnTFEbuR8+Dzei3HF9 rANCENtpWNXXM9Lac/ujW8MDMmGKpJfZojAQiku83bDsBAjP6VSWF2ijAHVmKHj1WG4p rvF3WZAYNY4zUVdxp0V56EsyBITVAfnqg7nGDuE8GweNQX+rfML74M/zvLKbwkG9IoRW SdGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=vs2bZZBy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t16si848347edd.269.2019.09.26.01.21.40; Thu, 26 Sep 2019 01:22:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=vs2bZZBy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438184AbfIXQE7 (ORCPT + 99 others); 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(); > +}