Received: by 2002:a05:6830:16d2:b0:61c:ac69:ca1b with SMTP id l18csp2156728otr; Mon, 25 Jul 2022 08:39:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1txqjW8b8nJdg4f1y2FbHQzF8HYXv6jk9O4rwwtI75xz/OAQqdusA7216yTKMJbVbXYxNHX X-Received: by 2002:a63:170d:0:b0:415:f76d:45e1 with SMTP id x13-20020a63170d000000b00415f76d45e1mr11676428pgl.171.1658763549495; Mon, 25 Jul 2022 08:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658763549; cv=none; d=google.com; s=arc-20160816; b=P7KjXTHUbV4Dj2pkDyKeSy0yY60i7t8L6/NdteVDgC+yzlmA+RB/NOdAM9cgcQFq5a zY0OCJjfGYgDDhy2H1piR0uc/2V47r17+7YEw84Zj1kEniiR9Qzp6UvOPYEMaAfx/YiN 8oDuWKbQBog7TSMSiGVDpfKV8D1owmxXsJLWRIEP+ifqsNdDy//mwbYKnsZ9j7aNnR22 FIUwKDBGDVQJRlYyRYAkohCFj6vnG8VXCcvISWRFFjEiZF9DWhijnsMdktb+eHEK6Mn2 uydcNUpTCcI1NsI2xyxUPz3iVOtmiabfOigZNTd6LJmZ0MjyqPczd1vPsxky1IMRiyhh fW3A== 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=CVCQ8tfKIFEzeVExE0kyLHNTa2ByqIgAnCfadhZ4mCU=; b=D/+pswflGhQ/LW6zAvrR2YhJ7800wIqRrH4WuPPQLOkxV1g7MQOnkMr4unUTDhiwgh EOT7+4rHjxTDUpzKC9U9UZuYQghFFka1G9u8rdfrN1KTmQs5oASS1N8leOtPcXCuWNrD RgCOMo+hXjmwbKDbb7rXhQyCIhAW0zTrvW2x5WahZ9dcpi8o+5LBmu+orLYlqOdtT6Dc Kuf1yOfr1481C/SOf6czCAKr9HmUZZ+zM7V3EDXkch7d8ztwzIGb1yxnNK3dsM4q9kwp C6lP8nj5YUlb8xlnLf26PDxZhetFUndJbWL42WkO7UH6kItuEEeTH6XTRk2ESgyGPsqs 0Thw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=kC+Ks2aA; 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 81-20020a630254000000b0041298bc412asi15651987pgc.862.2022.07.25.08.38.52; Mon, 25 Jul 2022 08:39:09 -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=kC+Ks2aA; 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 S235879AbiGYPTm (ORCPT + 99 others); Mon, 25 Jul 2022 11:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236292AbiGYPTF (ORCPT ); Mon, 25 Jul 2022 11:19:05 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D0C01EC6F for ; Mon, 25 Jul 2022 08:16:17 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id h8so16429491wrw.1 for ; Mon, 25 Jul 2022 08:16:17 -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=CVCQ8tfKIFEzeVExE0kyLHNTa2ByqIgAnCfadhZ4mCU=; b=kC+Ks2aAX/NG7lgXCqWZc0gBkHZkddcZb8xh9mAOY+8Hd1Jjo6/ShYoE88KxSCm5jb YAPDF04OQiHmHgNnX9N5CySstP+K4L3WC1PoZH9RGTEFr2GaWo3YtckD7qv25dVhdC1B iAzCFpuEpcfNhPy4dZ0R2EeJMikulV/awSJRzX9xC842sMlVypJJZ0+uJBxNYDZ/bLPG Z7BDg9KYNauRpOm5aJ23P7GjIM1vUhZEVjyH3LD6oFDcImCL7x8uPdWFKI6mc02sLnX1 ZsZx2QkXBnQcg/rlwcOHM6k+yhkm5mYIWL2WTYNerzesTbXxyIBNXsqGACg1bezaVwh9 8Ftw== 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=CVCQ8tfKIFEzeVExE0kyLHNTa2ByqIgAnCfadhZ4mCU=; b=PZ4001gUOstMAPkRa2098Tg6ndaBLLvexmqAx4w3eoMYn7Zmi6Paa1QB6qwiZZUMN4 hvCWSiJD3RcPxb/GmJlPgscLtSfpRdCtYl6AJj+faZhXmms7ZF2TFZxKInFy1gh0yv1M vsE9BZp1SYY+/1Au3oTVGdMTSLkQGt9RqNkj8g7wI15Yaq826nzprR71vGsQsAK0alyS irpXeSdUjsreY9iSEbYs2GlhdENat0Y4LbpdfbRcaLvRwq2nioeQJ037beqJZTPjSXC5 NsAZkmQuxqIBIsVOfZgZjHAYE37KVC2DofRV3isIoG6HVewu7MvqIWuXLlWG63NjMcB+ 7D3g== X-Gm-Message-State: AJIora8+0OvUW1T/gtN0L804mAFc9i9s7unLQMiOZbVy/W9wPJVwmvaz +qQsmQrx+GgIrQKZxIJrHYpshA== X-Received: by 2002:adf:e188:0:b0:21e:9291:44ab with SMTP id az8-20020adfe188000000b0021e929144abmr1820465wrb.106.1658762175058; Mon, 25 Jul 2022 08:16:15 -0700 (PDT) Received: from google.com (109.36.187.35.bc.googleusercontent.com. [35.187.36.109]) by smtp.gmail.com with ESMTPSA id k20-20020a05600c1c9400b003a31fd05e0fsm34364843wms.2.2022.07.25.08.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 08:16:14 -0700 (PDT) Date: Mon, 25 Jul 2022 16:16:10 +0100 From: Vincent Donnefort To: Valentin Schneider Cc: peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, regressions@leemhuis.info, kernel-team@android.com, Derek Dolney Subject: Re: [PATCH v5] cpu/hotplug: Do not bail-out in DYING/STARTING sections Message-ID: References: <20220725095952.206884-1-vdonnefort@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, 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 Mon, Jul 25, 2022 at 04:07:47PM +0100, Valentin Schneider wrote: > On 25/07/22 10:59, 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, which halts the hot(un)plug and leaves the CPU in an > > unrecoverable state. > > > > No rollback being possible there, let's only log the failures and proceed > > with the following steps. This restores the hotplug behaviour prior to > > commit 453e41085183 ("cpu/hotplug: Add cpuhp_invoke_callback_range()") > > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215867 > > Fixes: 453e41085183 ("cpu/hotplug: Add cpuhp_invoke_callback_range()") > > Reported-by: Derek Dolney > > Signed-off-by: Vincent Donnefort > > Tested-by: Derek Dolney > > > > The changelog has some undesired stowaways below, but regardless: > Reviewed-by: Valentin Schneider Arg indeed, my bad. But thanks for the tag! > > > v4 -> v5: > > - Remove WARN, only log broken states with pr_warn. > > v3 -> v4: > > - Sorry ... wrong commit description style ... > > v2 -> v3: > > - Tested-by tag. > > - Refine commit description. > > - Bugzilla link. > > v1 -> v2: > > - Commit message rewording. > > - More details in the warnings. > > - Some variable renaming > > >