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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21036C433EF for ; Sat, 21 May 2022 10:03:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348279AbiEUKDG (ORCPT ); Sat, 21 May 2022 06:03:06 -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> 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.