Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp995452ybz; Thu, 16 Apr 2020 00:23:22 -0700 (PDT) X-Google-Smtp-Source: APiQypKdG011WSMQmz+JvvqLMc5lEiNwVERCgmcQ2ERiJ9jmB0/+S7blRnW1DLbMSStTbA2cski2 X-Received: by 2002:aa7:c688:: with SMTP id n8mr29562462edq.120.1587021802260; Thu, 16 Apr 2020 00:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587021802; cv=none; d=google.com; s=arc-20160816; b=WTJ/J8ljDpoIwWCy8gmZ1mO4Av8gx7CV6eeqEQ+e2ovgn2ZRvr1VKl3B48/UPCjCQR XSem07L01WaMmU2r41ryzKwsQ4s+HrZTUiKWDUhzasCIxaU8NAVL7sm/4yhic1zPzQCK D5b1Hvzjx0pxkPj7F8+40mhtmKTgUTJS9VcIqrznDqnmXxTe/0KvOiAwC8ziZjvwiZNZ OnVSS0AhpPXnvrnfS6pNqlxjD2XTWK5PsLa61fcBQevObQRcHyaLIik8eUvo7dNfPqzr CcZXH35afjKE3ofAfDwpo6OaJZhPVoSEtZ86loYZR6dPMXExM2EcdyWA4q8CGo38YlbB kloA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=jQJpyv9mWOGvWWLLrQIG1lSOaT4yQcrtTLgVAFWtcqo=; b=Ed4vVELunS1xdZxj6DNsuGYhO3rbRQAI9KQDLNrcE7jo08/r/OzekFf//8uHc/OkmX 3x16BWLFr7W4N4ClEtci+TmqStXIZQRjs8pZb8d5EGzkyvPhG13uBfFBwQZwCZ6m/HoO w4/C2Ur/VydkQDEc8WcMLJBecWJ4+QrhLV65k00wNL8BRvLrgiDKwRKYnlqpK6D4vCBj xz7ecGtxPoFtwLRuGG1B8sHhY8VvjUsRH7CBxHKqdlPPM1MyT4S7M837UqA1r1CXGOsD dixv2q7Ow+P2AgUcC/uB81H+sqCIcxPJVN6OJIudNxsgI71TcQwCwX1OIf0VN6KVmyAb QOFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="K/+1a/v9"; 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 cc28si15535825edb.531.2020.04.16.00.22.59; Thu, 16 Apr 2020 00:23:22 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="K/+1a/v9"; 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 S2439163AbgDPHVg (ORCPT + 99 others); Thu, 16 Apr 2020 03:21:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2438790AbgDPHVD (ORCPT ); Thu, 16 Apr 2020 03:21:03 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87E22C061A0C for ; Thu, 16 Apr 2020 00:21:03 -0700 (PDT) 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; bh=jQJpyv9mWOGvWWLLrQIG1lSOaT4yQcrtTLgVAFWtcqo=; b=K/+1a/v9SCQ2y8fy5FWyuyEPVX 4zhtejMmGej+qnrrNoHsMs6hBRkLRNsx+4pqhz9ZmST/bJZhlDO0gzbeY8RqQZHlCijOdk8Ml83Ar 2zpPzLRgLkd9d/BoRctfN3whBLULQV8i3d1Ww4S3KuAhayVlPDcQVzJI1dAJRZ5+pvWk0gS1iFCpE T6sGLeKvWhuW+evqLWUJaU6orM+KKlrarvLQ2BSoDvDXmXvUgL53cQHwNTf473zDA+/KaI4BDcCjx xm4vEGACkbV3g7BMwN2OyEUp2FXWg6numvtEcYVPdkZVd3cbKH0dX570XcROdwPVo72+WeX51TMn+ 8nDmAw8w==; 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.3 #3 (Red Hat Linux)) id 1jOyow-0006TI-TH; Thu, 16 Apr 2020 07:20:23 +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 26D7630477A; Thu, 16 Apr 2020 09:20:17 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 741A62B0DB54A; Thu, 16 Apr 2020 09:20:17 +0200 (CEST) Date: Thu, 16 Apr 2020 09:20:17 +0200 From: Peter Zijlstra To: Giovanni Gherdovich Cc: Srinivas Pandruvada , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Len Brown , "Rafael J . Wysocki" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Mel Gorman , Doug Smythies , Like Xu , Neil Rickert , Chris Wilson Subject: Re: [PATCH 0/4] Frequency invariance fixes for x86 Message-ID: <20200416072017.GJ20730@hirez.programming.kicks-ass.net> References: <20200416054745.740-1-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200416054745.740-1-ggherdovich@suse.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 16, 2020 at 07:47:41AM +0200, Giovanni Gherdovich wrote: > Patches 1-3 address bugs in the current frequency invariance support for x86, > including the incompatibility with cpu0 hotplug reported by Chris Wilson at > https://lore.kernel.org/lkml/158556634294.3228.4889951961483021094@build.alporthouse.com/ > and the issue with CPUs that have less than 4 cores pointed out earlier > today by Like Xu at > https://lore.kernel.org/lkml/20200416021210.170736-1-like.xu@linux.intel.com/ > > Patch 4 is a minor code reorganization. > > Giovanni Gherdovich (3): > x86, sched: Bail out of frequency invariance if base frequency is > unknown > x86, sched: Account for CPUs with less than 4 cores in freq. > invariance > x86, sched: Move check for CPU type to caller function > > Peter Zijlstra (Intel) (1): > x86, sched: Don't enable static key when starting secondary CPUs > > arch/x86/kernel/smpboot.c | 47 +++++++++++++++++++++++++++++++++-------------- > 1 file changed, 33 insertions(+), 14 deletions(-) Thanks!