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 3D402C77B75 for ; Tue, 18 Apr 2023 06:58:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231215AbjDRG6l (ORCPT ); Tue, 18 Apr 2023 02:58:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229882AbjDRG6h (ORCPT ); Tue, 18 Apr 2023 02:58:37 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA38FCD; Mon, 17 Apr 2023 23:58:35 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1681801114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7JrvTFx0WVeMY9cJy762Xh8k6ZgcD547tgSMeBaRvfE=; b=Et6llJLqBk0yfoU12mOHK72SfYQgEWu+q48gtjbOp01/oW1pWwNWzYkMj3rsubBi7GEzq5 mPT5IZDLQl4QKMdJBFAIqKyeL5/EHZMZmHN21initZgWfHDK9dVyf4svi0aLfhUnyeDqQK I3vYRVmGWdTJWrOGtNsTNLH4myxFa9B/Cic2FVRJKblYIYu57zyU8GZBAWAfanD+weXHiR ms33Y/xbIFrXQYi8r9H5uTRDm8lfMric1/URavwJ7tQwqLrW0R7pwMbi7rSmGj07t3TRXL qWncTgcrXxLCvAZcnDKbYXnQQ7HAmFlnUm/wlHJLSqR024Ajk5DxDVTQi7RWeg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1681801114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7JrvTFx0WVeMY9cJy762Xh8k6ZgcD547tgSMeBaRvfE=; b=2IDo3vCdzNc6EWeefm49U4euIaA6bLjlIhlJmFMjsR5vvqBpGyDNOwFnUfvXHrOiAPFmV7 jCwlVmV4XYpFQwCw== To: Paul Menzel Cc: linux-kernel@vger.kernel.org, x86@kernel.org, David Woodhouse , Andrew Cooper , Brian Gerst , Arjan van de Veen , Paolo Bonzini , Paul McKenney , Tom Lendacky , Sean Christopherson , Oleksandr Natalenko , "Guilherme G. Piccoli" , Piotr Gorski , David Woodhouse , Usama Arif , =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , 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 In-Reply-To: References: <20230414225551.858160935@linutronix.de> <8247ce4d-15b7-03b2-0c9b-74f8cd6cad50@molgen.mpg.de> <87wn2a4la5.ffs@tglx> Date: Tue, 18 Apr 2023 08:58:32 +0200 Message-ID: <87ttxd4qxz.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Paul! On Mon, Apr 17 2023 at 19:40, Paul Menzel wrote: > Am 17.04.23 um 16:48 schrieb Thomas Gleixner: > >> On Mon, Apr 17 2023 at 13:19, Paul Menzel wrote: >>> Am 15.04.23 um 01:44 schrieb Thomas Gleixner: >>> [ 0.258193] smpboot: CPU0: AMD A6-6400K APU with Radeon(tm) HD >>> Graphics (family: 0x15, model: 0x13, stepping: 0x1) >>> [=E2=80=A6] >>> [ 0.259329] smp: Bringing up secondary CPUs ... >>> [ 0.259527] x86: Booting SMP configuration: >>> [ 0.259528] .... node #0, CPUs: #1 >>> [ 0.261007] After schedule_preempt_disabled >>> [ 10.260990] CPU1 failed to report alive state >>=20 >> Weird. CPU1 fails to come up and report that it has reached the >> synchronization point. >>=20 >> Does it work when you add cpuhp.parallel=3Doff on the kernel command lin= e? > > Yes, the ten seconds delay is gone with `cpuhp.parallel=3Doff`. > > There was a patch set in the past, that worked on that device. I think=20 > up to v4 it did *not* work at all and hung [1]. I need some days to=20 > collect the results again. Can you please apply the patch below on top of the pile remove the command line option again? Thanks, tglx --- kernel/cpu.c | 1 + 1 file changed, 1 insertion(+) --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -1777,6 +1777,7 @@ static void __init cpuhp_bringup_mask(co */ WARN_ON(cpuhp_invoke_callback_range(false, cpu, st, CPUHP_OFFLINE)); } + msleep(20); } } =20