Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp465166ybg; Wed, 3 Jun 2020 05:33:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt3MeAd4ZaC+lcyWTSF0lsVOsBEg5DuRi6HZiqGi7CMMhILYnTK63lnNfAV4klteodI6/H X-Received: by 2002:a17:906:f53:: with SMTP id h19mr26888645ejj.343.1591187625684; Wed, 03 Jun 2020 05:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591187625; cv=none; d=google.com; s=arc-20160816; b=zbkuulQr325qyhCAPMDDZnS2ZwkvIeV4u89yL2EGBkpk9518uwh8LU2a8D8xjA4yXd 10+7ygNqpGY+OTPuQJ9oMQrjEVxYvwdLtOAokqNHbphAZ9psQyI5MK4k97oQCnrkI+yi 5wFZUmYnO7HoQOdmhPmpxWZjK3aFaH281+X6Zx3JDJvJX3NBJKR330+vJVyeonk3owSa Ssh9Ym0ZqLuUBK/AqVOZU+QWMj2gSVTSlUbczAACL/aKmsBUIl5soMj4TsEbFUpItyBj uqhCWN5ekzNv9iPkRvLneZpUl+1uY/p819e1m0uMXiy33SBuPgvk0tAz/VE7BBtUGbIa HnYA== 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=1R/2YdAZSvt3VyvYBxysqrGCsIyLuWCrDG39UYVf7Wo=; b=WXAhgjM/1jihePGxhfuL7beh++bQzVF18LUIGTSLt8DZtrogQajjJQd5mILKlKhe7D hLv0yOhg6uFwX/DEkh6IqIOOLfrBkJyBjqqAC0pagT8wVcYfbgWcYpmZbGkSfj+lAso5 n3eR2Y3+QgzN8Ky1AbRTuplzCFp3ymnW1PmS8JSuPCPH/OEA9XWOXvXX6/koA2Gvegng Ebr8FGm0HWUkMMTi77TnRTZY1FczUKNlEESbcdsqAdhKzphBRGNiXkW1r5/TGxSfPFHE XbiRuKaULUyE7Xms+cYTRrKyPshcJuoreLUooXuD5k1EqJqPSyrmi6ZTKCuC3p+zXY5V JqUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=B5HfY2k7; 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 m11si1012337edp.600.2020.06.03.05.33.23; Wed, 03 Jun 2020 05:33:45 -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=B5HfY2k7; 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 S1725906AbgFCMba (ORCPT + 99 others); Wed, 3 Jun 2020 08:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgFCMb2 (ORCPT ); Wed, 3 Jun 2020 08:31:28 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62077C08C5C0; Wed, 3 Jun 2020 05:31:27 -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=1R/2YdAZSvt3VyvYBxysqrGCsIyLuWCrDG39UYVf7Wo=; b=B5HfY2k7oWgDgwYI4Ho2MRl72v qRcxT5aVUTiZPip/orNqNpF2m5BQLkMvGTG/FQRd5dR00vVEVUv+s+GOWOrVY855oa3PQTYNmiDAt Rwbv3/Kw7Ne/csOfPykzVrbSrLpQ7KLWd6ShCnyfDYwKjXkGPV2DzfKs9UW+jC6NyEzb0R1o3Qfps /QSf2uDzRTGeaBa5itJc6lBDDJ/LjgaFzGLfHnj4V2Kfw0mRDNDVYH7ptFqDv/ZMUOlg+UQCyiC8h 26OdfkOmk6iopJPpDhdl/qI+e029JYR0Vxomnpz64CpaX5WFJB+RAcatXi2HfLZ9cxj7AL94feeO0 Yz5hLKtg==; 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 1jgSXx-0006oY-9w; Wed, 03 Jun 2020 12:31:05 +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 277C4301ABC; Wed, 3 Jun 2020 14:31:03 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 11B2B20BDBF72; Wed, 3 Jun 2020 14:31:03 +0200 (CEST) Date: Wed, 3 Jun 2020 14:31:03 +0200 From: Peter Zijlstra To: Giovanni Gherdovich Cc: Srinivas Pandruvada , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "Rafael J . Wysocki" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Ricardo Neri Subject: Re: [PATCH v2 0/3] More frequency invariance fixes for x86 Message-ID: <20200603123103.GI2604@hirez.programming.kicks-ass.net> References: <20200531182453.15254-1-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200531182453.15254-1-ggherdovich@suse.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 31, 2020 at 08:24:50PM +0200, Giovanni Gherdovich wrote: > changes wrt v1: > > - add Peter Zijlstra's code to check for multiplication overflow, see > https://lore.kernel.org/lkml/20200501133042.GE3762@hirez.programming.kicks-ass.net/ > - put all frequence invariant code behind CONFIG_X86_64, as the overflow > checks need 64 bits operations, see the build error at > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/7GDIBOMNVDG5W2XZD4EICE2TUZR3THBN/ > - add additional patch to check for when base_freq > turbo_freq, > suggested by Peter Zijlstra at > https://lore.kernel.org/lkml/20200501130427.GD3762@hirez.programming.kicks-ass.net/ Thanks!