Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3256422ioo; Sun, 29 May 2022 19:08:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiShihrdVldWtdxzqkeQ9JjN7XxzzJP2aizxZ77zHxR7bm6LHIzYsZRkasliZmmZWYhKsL X-Received: by 2002:a17:90a:de01:b0:1df:cda5:8332 with SMTP id m1-20020a17090ade0100b001dfcda58332mr20650258pjv.123.1653876503115; Sun, 29 May 2022 19:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653876503; cv=none; d=google.com; s=arc-20160816; b=dxVt7fOq9Dw5okmHH0G+wdk0XHraJfHbNnG17zmVVozthMQcZ75wPaRxQNvrImfhA+ T3fwaRjhqAtH+bTxrYuZEtqJEuBCNwO7cRJRQRWCg78ORG9NILlyn5i9P8WhsLHSLsMc IllTMirUnRDfdhko7lftjFszHitKF8RRZhNuqxph02pjusr8+VILm1cDYtZPWT3wLGRP vA9ZZGu3ZatqdMaXHUC6Y7Pe0K5IY0PJ93w9hjeVxc7I77ghDrtCY9xEu+5Hxu1xXJuW FC5ncRAvz63KVFKYvMeQlOOsVmb5/yHNbW7sIHZZwhBLfutjT9DEhJJOX4TaFwkc4EIV MAMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:references:cc:to:subject :from:dkim-signature; bh=Afw/01tgzB0B45BIhwMEeUYdZm+3td84J9fTqMYUg64=; b=bL58jlEsIbsur6I5ur4YZWR/h3fL677iMScKrxyMFyQGdXtzZQa686kFofD/t/7XbS 5BhZJwdYzda97ibg4BxhqX1bHGzuOHJwC6qlTJotp8F2uFIcbZBteFHigAQCxPW79kwO hOCT9Wn29pp6R7pq0L85DwwgfnvBN9tgypTWmRIS+HVeZ/lgfFaVIZ1JU9cMb2+NU54s M1u4vRi8uz3RgMsQN1TqOBzudLSzCAQAUTzER3cmgt+rK+OdTebtGFUICduK2U/qlKxS PJiDk5RsU+LawFNZL+JplEJRT55+IGnBripiMBx5PpJuRNfq3eto+ETkJ4xN55YQnYPD xkew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=sJHWaz0X; 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=NONE sp=NONE dis=NONE) header.from=posteo.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u32-20020a632360000000b003f5f32a50adsi14894642pgm.705.2022.05.29.19.08.10; Sun, 29 May 2022 19:08:23 -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=@posteo.net header.s=2017 header.b=sJHWaz0X; 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=NONE sp=NONE dis=NONE) header.from=posteo.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231247AbiE2SDP (ORCPT + 99 others); Sun, 29 May 2022 14:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiE2SDN (ORCPT ); Sun, 29 May 2022 14:03:13 -0400 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 883E064BCC for ; Sun, 29 May 2022 11:03:11 -0700 (PDT) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C134E24010A for ; Sun, 29 May 2022 20:03:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1653847389; bh=V+hBGlzYh2FUjbMb+wqYLlGhEtLBNvvtCi7vq1yt04I=; h=From:Subject:To:Cc:Date:From; b=sJHWaz0X8fP0TCOt/QNTW0Hr3ejb7CPAoEXXdj+x0WAqiZqvYRFy8z4xx2z3KGKaP Il1K4E9U5HCRUb1h1ZSLMg39yfICJaTCXDSDJ8UTaKTXYnc36g/6Uz2ko+HcY32rvU TsqF77x+RHvXNZaVxDRPhVhZqKwZAGSMvXZW0mLeoUFZzz10/Nb7NtKNgAsVwQaTxu v7FudzwQU3ANS/uaLl1OhcT5nnyHwaBGYD7iUuv2G4lKhO/EvS0N4J86sfOvsM7qFE u29O/iQIMhmz4bsOESARarRYU+wI5PB9OxV5UteZNup7yE+OFAWIoiLMWEpBUUWr3v wmCTfD/3J62xg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LB5xR2qhKz9rxQ; Sun, 29 May 2022 20:03:07 +0200 (CEST) From: Derek Dolney Subject: Re: [PATCH v2] cpu/hotplug: Do not bail-out in DYING/STARTING sections To: Peter Zijlstra , Vincent Donnefort Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, vschneid@redhat.com, kernel-team@android.com References: <20220523160536.2889162-1-vdonnefort@google.com> <20220525165248.GI2578@worktop.programming.kicks-ass.net> <20220526101536.GP2578@worktop.programming.kicks-ass.net> Message-ID: Date: Sun, 29 May 2022 18:01:14 +0000 MIME-Version: 1.0 In-Reply-To: <20220526101536.GP2578@worktop.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit 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, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,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 FYI there is also now a patch to fix the driver bug in testing by the tboot devs at the moment, you could monitor the progress here: https://sourceforge.net/p/tboot/mailman/message/37659164/ I tested this patch and it works for me. Derek On 5/26/22 6:15 AM, Peter Zijlstra wrote: > On Thu, May 26, 2022 at 09:24:28AM +0100, Vincent Donnefort wrote: >> 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. > > Ah I see. Fair enough I suppose. >