Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3783027rwe; Mon, 17 Apr 2023 03:35:22 -0700 (PDT) X-Google-Smtp-Source: AKy350a22SwdtV/W//wmuVK2Ep9Gd5Xxra+AYH+qGSSUaley/zUEWUwVUYKBeQc7sN9du0d1/hxm X-Received: by 2002:a17:902:d501:b0:1a6:81e6:4bfb with SMTP id b1-20020a170902d50100b001a681e64bfbmr15294099plg.9.1681727721529; Mon, 17 Apr 2023 03:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681727721; cv=none; d=google.com; s=arc-20160816; b=cY6VJtWglpBhBMHJeUQT02KzH6j+6fMVvU+n7AdRTE90GbVEjc1pdZ78mNkxNuqovU eNvQp5u03BmRzIo9Qlox1yEiZRBnNooeZ2zoPXfQzimSS9U919ELlOiyHEnhHqFp9IAk q09VA+/odZciwpJuI+t6DoUMxaj8oqWaQXTp3tWzc4fLl38Vb/OxsLgjJHuHnsjXFJ23 AXZx0XQuKgwG3oaM8tq0vI6E7uB10vttqFnNofXfVRyjGnI+HRvRAPUA095V+PNaQVqV 5AEKdPygO298B+OW0A6JK+o2mguoRcXn95c2TCMUWUKpOderDNB9s0Qw95R9OKNPpBCQ PxEQ== 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=Cn+6pHKXj0VgnZYFnmy9b6moWoCaDLSiP4wWF3jJhpk=; b=tzI1Vk1+yHSdFfIG30nMc/5aQhiq+Ypb+gezbI5cfGQfaqTfmGZ30fCfiVjIjdRR0R fV45YRtCxLpU573DjdHyE7Mvt9bLj2qIrWoEiBcLSwDnxRjoVF/OH80OXWjl74/ZC2Tx sKR8764OGVkymrAuiOUc/8thqwOwau56pYxP8hjdaKGnczzyVgudsnogV9BrVKRZl3bU YS8Gp/dT0EdqWZLf9KmZVwLzoVbc6JykVyOWx+p5QYsE4K2ww60xtij9nw1Z4OPH4D9I BIzI0uwQX7RHoAOe2gG+n6ZYEFH2FfGt101ta8vHjQ3Fol+oYOwAxEwqVW8LTgZVM8ua xc1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=eFjpJ43H; 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 d10-20020a170902b70a00b001a242dbbd27si11096567pls.513.2023.04.17.03.35.07; Mon, 17 Apr 2023 03:35:21 -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=casper.20170209 header.b=eFjpJ43H; 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 S231174AbjDQKd4 (ORCPT + 99 others); Mon, 17 Apr 2023 06:33:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbjDQKdz (ORCPT ); Mon, 17 Apr 2023 06:33:55 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D74E173D; Mon, 17 Apr 2023 03:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=Cn+6pHKXj0VgnZYFnmy9b6moWoCaDLSiP4wWF3jJhpk=; b=eFjpJ43H0H0+AtZ/3zOGdj6Vd6 OueCbYqge93774y/hDVMyg9JOeSPYaoz588QMxpqE7X2BrsdzYXm1eiqUkP7r5hy1uMf6j5nNTJjv A9RRC/WSRjF825s0T8GA0lQebZ3dp9M9IyU3teuq/dI8X2XZaUTdNuoTFxBGKCMOZfl0s4hJ10bJE wildSkhs3WJwK8286wr1oqCiRM+g4dc162upctej4aFx3Lq869pJvyLudFHd9czfvyLxuQYKNwfz9 DnxilytX62HF8vLXmxZCch6S6pEDTaIL2gQ1g0bQsLMq4QE1xuAYGgNXpzurzPjqHGFuZgvEc/Dhj UcZ+ecNg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1poM8N-00BF8h-AH; Mon, 17 Apr 2023 10:30:55 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E90B63002A3; Mon, 17 Apr 2023 12:30:50 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B6C8B24209FD2; Mon, 17 Apr 2023 12:30:50 +0200 (CEST) Date: Mon, 17 Apr 2023 12:30:50 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: LKML , x86@kernel.org, David Woodhouse , Andrew Cooper , Brian Gerst , Arjan van de Veen , Paolo Bonzini , Paul McKenney , Tom Lendacky , Sean Christopherson , Oleksandr Natalenko , Paul Menzel , "Guilherme G. Piccoli" , Piotr Gorski , David Woodhouse , Usama Arif , Juergen Gross , Boris Ostrovsky , xen-devel@lists.xenproject.org, Russell King , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , Guo Ren , linux-csky@vger.kernel.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , linux-riscv@lists.infradead.org, Mark Rutland , Sabin Rapan Subject: Re: [patch 00/37] cpu/hotplug, x86: Reworked parallel CPU bringup Message-ID: <20230417103050.GF83892@hirez.programming.kicks-ass.net> References: <20230414225551.858160935@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230414225551.858160935@linutronix.de> 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 Sat, Apr 15, 2023 at 01:44:13AM +0200, Thomas Gleixner wrote: > Background > ---------- > > The reason why people are interested in parallel bringup is to shorten > the (kexec) reboot time of cloud servers to reduce the downtime of the > VM tenants. There are obviously other interesting use cases for this > like VM startup time, embedded devices... ... > There are two issue there: > > a) The death by MCE broadcast problem > > Quite some (contemporary) x86 CPU generations are affected by > this: > > - MCE can be broadcasted to all CPUs and not only issued locally > to the CPU which triggered it. > > - Any CPU which has CR4.MCE == 0, even if it sits in a wait > for INIT/SIPI state, will cause an immediate shutdown of the > machine if a broadcasted MCE is delivered. When doing kexec, CR4.MCE should already have been set to 1 by the prior kernel, no?