Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp754712rwd; Thu, 15 Jun 2023 01:22:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6NJ86wHK2ZQIJae54Y4f0zkgqyJPbGHv1URCameNh70zxPhRIm8nJSoIctR9MBFhDcUqZR X-Received: by 2002:a17:907:3fa4:b0:977:da9d:b842 with SMTP id hr36-20020a1709073fa400b00977da9db842mr17694837ejc.74.1686817330007; Thu, 15 Jun 2023 01:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686817329; cv=none; d=google.com; s=arc-20160816; b=pdi6C6DGcWgqD84eiBp69CnN0qFdXJXa8R9k1J8QjBq+h/DjIx/tctzlpP8QIHsENG E3Mibpz18xHAoIEr29FlLIuwlEg0ZUcmp6ucZMxr+BQ1prk/Mc7rzu5rfHidyL9bHwbA QnGcWTvHXiMAf9f/pKILRb/Q+8rRzgdsBfILEfwtw/b/rQCoRuYvs/HRXgtgguFF97uj QVkWExEdsUFZvbCSB1FHxkxP4BTAqLvTQbkwaXmhPiZKCMBRYz/K0gRVfiO19+znId9S ZHfdh/04B/ygqolW4Ir/jsrVMyv70H3TCrIkOgyUtJvi3QPuiCZigmXhZYcPVw0M07uk D2bQ== 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=gho11wZoZWLWG4zZ+7agmz14TOT07IFWiEGilb6nY6k=; b=s3i7y5C6LgrNWZJMaiL1+y+LxOmZUvcIo0JzBuunZ6gyv8dxGdRJnhlW9HMMtVE3wd y1KxsS1/sHCTpBa+8YSFveIf/tVRwb4jTPULouVeLJ4lq/tUYwVY+5OnbR8q/KygukPI SAmpv9AxgPAkJRNcBWS/lmpwz//yZVg9A38VGTZmIJ1mBNma/teuPbMpXB1i6qGWyRB+ Nhvc3bcshkb4U8dAg5trGYiIisYgRuwg2z4ESEvTOpSfd4AxRKcDfl+wZoXWjAmxLk+A VNj6i0Xq3TipwKTdmtC1a3urb99YAu8Ai558iPEMkePiUkOTZoPfQP9mXw2LNaG5+WSk hckw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VqRNGYVx; 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=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o18-20020a170906861200b009665976cbddsi9040118ejx.170.2023.06.15.01.21.46; Thu, 15 Jun 2023 01:22: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=@bootlin.com header.s=gm1 header.b=VqRNGYVx; 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=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244903AbjFOHl2 (ORCPT + 99 others); Thu, 15 Jun 2023 03:41:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245115AbjFOHlN (ORCPT ); Thu, 15 Jun 2023 03:41:13 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBFC273D for ; Thu, 15 Jun 2023 00:40:45 -0700 (PDT) X-GND-Sasl: alexandre.belloni@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686814841; 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: in-reply-to:in-reply-to:references:references; bh=gho11wZoZWLWG4zZ+7agmz14TOT07IFWiEGilb6nY6k=; b=VqRNGYVx4Z9iOL/91ztR/lTHoOP7nYFdDhT5qQ+jVDUHkvIYNRiaGxqGqVjuQEGWk5zAKa 7jcG/5P+iFydavjwGyHALVCOjYkWLjujEm7bHszQDWlJHwqQ+LOOmjZ8ucKz0cnUXkCAQp Nn3cjw24KWiX0Xcxqp2gHnspI7Yd8OQlMi7haAztlzL2D+4kfPHtrLCVjgwNUzggynH/Yq sip3+HJg5RCGtN05cixA/A8vtQV7CplFS33Au2J9PSBvSw/CEeUf78YIvnYi9IZiGAUJ3s uktJ8Hv/PENN2ngZnzSPgcIPdOiLtXa2s4CWrVUsc7GHzAvA+XmgAtR+02hCsg== X-GND-Sasl: alexandre.belloni@bootlin.com X-GND-Sasl: alexandre.belloni@bootlin.com X-GND-Sasl: alexandre.belloni@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id D1E31FF802; Thu, 15 Jun 2023 07:40:40 +0000 (UTC) Date: Thu, 15 Jun 2023 09:40:40 +0200 From: Alexandre Belloni To: "Richard W.M. Jones" Cc: Peter Zijlstra , Aaron Thompson , linux-kernel@vger.kernel.org Subject: Re: printk.time causes rare kernel boot hangs Message-ID: <20230615074040d166068b@mail.local> References: <20230614113536.GJ1639749@hirez.programming.kicks-ass.net> <20230614125320.GA1640563@hirez.programming.kicks-ass.net> <20230614130348.GF7636@redhat.com> <20230614130945.GK1639749@hirez.programming.kicks-ass.net> <20230614145348.GB1640563@hirez.programming.kicks-ass.net> <20230614150717.GG7636@redhat.com> <20230614151920.GN1639749@hirez.programming.kicks-ass.net> <20230614153108.GC1640563@hirez.programming.kicks-ass.net> <20230614155016.GI7636@redhat.com> <20230614173430.GB10301@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614173430.GB10301@redhat.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Hello, On 14/06/2023 18:34:30+0100, Richard W.M. Jones wrote: > > FWIW attached is a test program that runs the qemu instances in > parallel (up to 8 threads), which seems to be a quicker way to hit the > problem for me. Even on Intel, with this test I can hit the bug in a > few hundred iteration. > I'm just chiming in to say that we do hit the same issue on the Yocto Project CI. We are using qemu 8.0.0 on Intel hardware and a 6.1 kernel. I see that f31dcb152a3d0816e2f1deab4e64572336da197d hasn't been backported so it may not be the culprit. However, this seems to have started happening when we switched from 5.15 to 6.1. Regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com