Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1637274ioo; Sun, 22 May 2022 22:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy70Eu8cHdoyw0uFZEg72Nc/w5E9NsSoBuQqEqjWX+WAYO/9gL4bmO10N/fX/f+2t1LU5Iw X-Received: by 2002:a17:907:5001:b0:6fe:d912:aceb with SMTP id fw1-20020a170907500100b006fed912acebmr3634860ejc.144.1653283789062; Sun, 22 May 2022 22:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653283789; cv=none; d=google.com; s=arc-20160816; b=heWJwOOL1HUc3HH+gSLtOGl2zAdTPpWGUR9vuE4hCbo4dKW3RLVXf978dJE7NBWivY wIiMdhpb6xT3iAwq4Jeo616otDsHnrtmB3OR12tvCIdeaspG34ryhCwZGfrHNAPGM0Ht wgtEa/jnfuj65FAWqEfntYZO737qmAUjLegpaf2TJx2xgS1x8IzBexd8eEW8IVC0DDpj OgyJL1Ns/fUNUr1Z0FoCgoWhnT+8rTot93zI40wHIYr9TTV/HxVW1WVzaXHgHHhycjTy C4+/d0efDf0k7LbMRNBBWuOCRcq7cGSC/Swlqd3NEjLLSJdj+ad7lBHuikitWL37CHgR dCag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LfyHbALNTPecA2HX176Hbr8CB/YSXoZN5WLuIRvvUns=; b=xyQFyrMZ910E+Dzmh6zAhMaQPPbmSLT2WQnDcFMhS54etYKfwPCcvpglpc+/iWQZLO oO+opMXCCVyaVt1E0Llbbv18lCPXdG2yaCCyE+cO6aJzxxjBQd1HLEny/DXwG726mqiu CyiaBegkCHpZppYL2Dd3z/bBkL+Gvj1lHwvTRu0aUmv2LcrhSdL0usErkwfJUtZTwjN9 qO1sO0viI4ATHgbOa8Q0dlutmeQtS1k185Xo2CCeCc2y2pR2XvZcR2QXFpeX078gpsPg Ktc6hng/1BgO+0CEwMKohKqSgAng27JZ7fZLZJUx4XtAUdrN1npJbRPN0PJvsp/t3r0V R+qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=KJrPx6vS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb24-20020a1709071c9800b006f40ceae093si16229124ejc.19.2022.05.22.22.29.24; Sun, 22 May 2022 22:29:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=KJrPx6vS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347367AbiEUKDE (ORCPT + 99 others); Sat, 21 May 2022 06:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbiEUKC7 (ORCPT ); Sat, 21 May 2022 06:02:59 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B37555B884 for ; Sat, 21 May 2022 03:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=LfyHbALNTPecA2HX176Hbr8CB/YSXoZN5WLuIRvvUns=; b=KJrPx6vSz3NPryjADqppadBwTA mSvmLa4/k7ZxTcLMwmZArlrhTFcxnr1s9Dh03Ohx6vZcVQpCm7B11BgUkZ/9wyu5Jk/3qYyZ5m6zM /4qCgbT9Oa/9vvhSNTRwUWFDXsPOHQ1aqOnkLenIvi/K6sS3kn6DoZGNyijF4qbMmWbcMpe04zmfF f/wvInPZ7UmV2ERXcUtqa9L79NyM5OEfZCmmlJFRc5JWtuJNiXwGwxn/8UN6sPEcTHFFAz0+yZIQG SS2Wd5RYvsOJl+Bg7pNXIR6BiQ1G2DCnj43apbGVFk6wWPzWb+awCJKZmMyb+XpKuFYtBbcnCM6RU /87HB9Uw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsLwH-000CKT-HV; Sat, 21 May 2022 10:02:26 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id BF36D980E99; Sat, 21 May 2022 12:02:24 +0200 (CEST) Date: Sat, 21 May 2022 12:02:24 +0200 From: Peter Zijlstra To: Giovanni Gherdovich Cc: Borislav Petkov , Ingo Molnar , Dave Hansen , Thomas Gleixner , "Rafael J . Wysocki" , Dan Carpenter , Srinivas Pandruvada , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] x86: Fix return value in frequency invariance setup for XEON_PHI_KNL/KNM Message-ID: <20220521100224.GB2578@worktop.programming.kicks-ass.net> References: <20220520161022.5972-1-ggherdovich@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220520161022.5972-1-ggherdovich@suse.cz> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 20, 2022 at 06:10:21PM +0200, Giovanni Gherdovich wrote: > knl_set_max_freq_ratio() should return true on success and false > otherwise. If the last line of the function body is reached, it means no > appropriate value for turbo_freq was found: the setup is unsuccessful and > it should return false. > > Fixes: 8bea0dfb4a82 ("x86, sched: Add support for frequency invariance on XEON_PHI_KNL/KNM") > Reported-by: Dan Carpenter > Signed-off-by: Giovanni Gherdovich > --- > arch/x86/kernel/smpboot.c | 2 +- You seems to have missed all that code moved in tip. This no longer applies.