Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1268748ioo; Fri, 27 May 2022 05:22:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0tr40bCUFbP4Ih3gYbF96kGUzYmnNjPcUhogPhx/u73e2xnHvwUDq65PjBVPHqivaFGa3 X-Received: by 2002:a17:907:a06f:b0:6f4:d336:6baa with SMTP id ia15-20020a170907a06f00b006f4d3366baamr37691758ejc.638.1653654121484; Fri, 27 May 2022 05:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653654121; cv=none; d=google.com; s=arc-20160816; b=Va/A5Ootxduhow6ZnJ8q0mH54dX098WuBy13orpPuGgv/yQa0Bbh0e/pZ1qD1dolvJ Np8tWgSg9uiHslfnPzpvniyorak6djkQi42yZxwOz5OCB0L5EitusYymsKWlPJWY/XE5 eTLHtRMOpL0KZBLMG/BNkJo7czYvCP5zkcVcW39oJDosY3TyeO/Dl+nOYrDzv7VUP4n/ paIF54EA6jWL/J7jiZJoLdJfI2E6/3L6qfrQ4PXYRwR0gi5Ex5zmCH8R0Wi8H8qZnVrU MCYUt4zgKwBKBTFwUQihcRANA9OK5N1NU1JAZgaLYN40ZmCFkDjb619oowZyflwtTjMl XP+g== 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=19gn52/CILDHcyYZhtfJSaIpE45GA5X4DLumc17J+6E=; b=Yxxl+j8WxaVGVZRnIE6wa28suz3v5YkOKHTI+er17kPSKIXFrV1va8xcQwxuB1gPAp QKBFqqw0QtDMaTBj5zov0oFjUzBGQF40HVuF4Ib239f2X5vZ6I/ScUuaUCWxiWyeyBNi HLffn80dNAHOC2LVcj52jC1vQkuiiMHz5wmnEAaDNQOM6RK2Xf69+mPXi+DO6cpZICjf dDuB6MtZMsqamZA+m6bEXVAL+YlMh70ch4pU+rl+ppEXmoSBBvQxhbarRIcwn98oP2BV TlCKQaXziUJQkbKjBbTB5ZAXllrYjy1Xz/YCrQ0AiYDARADGB3xuy9XlVaX8Q3R3MctI fyhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=kxVNDsdj; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a27-20020a170906369b00b006feb7f30ef7si3523512ejc.58.2022.05.27.05.21.35; Fri, 27 May 2022 05:22:01 -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=@google.com header.s=20210112 header.b=kxVNDsdj; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238202AbiEZIYi (ORCPT + 99 others); Thu, 26 May 2022 04:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbiEZIYg (ORCPT ); Thu, 26 May 2022 04:24:36 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 033F0C1EF1 for ; Thu, 26 May 2022 01:24:34 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id f2so1251518wrc.0 for ; Thu, 26 May 2022 01:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=19gn52/CILDHcyYZhtfJSaIpE45GA5X4DLumc17J+6E=; b=kxVNDsdjeN8srlZR4+tE9FFTL4P6Tdt70Kom5we3WpF9MTiFXfcVdeCfTU1BLUQKM0 Q+2DK0HhNgjnAmJA/gQ2MCwVGYuYVXR0E7KyAoZqmHLBbg1gXDK6NcxeaRWcHfxRRbjg NdE1wQlEk3uyXGL7zxHn2mDGBc28n1wH6k5GnVwiPLOaC6Ai6ij1Qn33hgo9qg9XeZad lkSlmYeV0HztGgJJ0rY05XfRh4Lie/CF+U+JVCJlIhpQE9TCtq7B8H3kCMo6EjD9xN8x EMXTSx3lge9xsEvAnjzopYj8FtZ1BbVMxIuncAzJdfzbLjpUJpWbj/zSjKelKyOrvbwq jFZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=19gn52/CILDHcyYZhtfJSaIpE45GA5X4DLumc17J+6E=; b=CAM3jgWiBw1uIYcKy63fd6YNMZ7eNe3cyA8lqc0b6t69mEwOvZap0Mvzldhcxoxt1P wIH1rHNaLJkYmiyQ/C8y1GPzYWcaMNA0KQpFpHW7DM/2qNGXG+SFJbOK8QZDI7J+jHmO SqUXr9VBfSSkgIbI+aSrIj1FHQNrfcNejsuwZtXI91yBh/rPsvPYPbXLRywXFfzhzPfU Y6lZHak35kKUnrTcGPSSsuX7+19lrTitig9tD2TT8P9QvO7cro09YhC6TWvFcAizC5MJ bx9CGo2dzU2bMyGTUFrRTK099IYIIjW7ouuI8vfXNiIh8Rb3ai57cIPuckHVywM8GvjR t83w== X-Gm-Message-State: AOAM5335iZcTqK3Q9+MpdacCG0FrExG2Vu+Mnc4198AAilhmPGEciNLW Y3C6HaOBmcUl58TOATmHxoY/cg== X-Received: by 2002:a5d:5041:0:b0:20e:74e3:1d3b with SMTP id h1-20020a5d5041000000b0020e74e31d3bmr26046786wrt.323.1653553472461; Thu, 26 May 2022 01:24:32 -0700 (PDT) Received: from google.com (109.36.187.35.bc.googleusercontent.com. [35.187.36.109]) by smtp.gmail.com with ESMTPSA id l6-20020a05600c4f0600b003942a244f2fsm4277906wmq.8.2022.05.26.01.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 01:24:32 -0700 (PDT) Date: Thu, 26 May 2022 09:24:28 +0100 From: Vincent Donnefort To: Peter Zijlstra Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, vschneid@redhat.com, kernel-team@android.com, Derek Dolney Subject: Re: [PATCH v2] cpu/hotplug: Do not bail-out in DYING/STARTING sections Message-ID: References: <20220523160536.2889162-1-vdonnefort@google.com> <20220525165248.GI2578@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220525165248.GI2578@worktop.programming.kicks-ass.net> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Wed, May 25, 2022 at 06:52:48PM +0200, Peter Zijlstra wrote: > On Mon, May 23, 2022 at 05:05:36PM +0100, Vincent Donnefort wrote: > > The DYING/STARTING callbacks are not expected to fail. However, as reported > > by Derek, drivers such as tboot are still free to return errors within > > those sections. In that case, there's nothing the hotplug machinery can do, > > so let's just proceed and log the failures. > > > > I'm confused. Why isn't this a driver bug? It is a entirely a driver bug which has been reported already. but 453e41085183 (cpu/hotplug: Add cpuhp_invoke_callback_range()) changed the behaviour so I thought it would be worth to revert to the original one which is to not break the entire up/down for a single driver error.