Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2833742rwd; Wed, 14 Jun 2023 07:56:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SmFQ7kMSGo2ycMUh5hCV9jF7Is9EpQy7g02IeB9TDk/A9yMyLml9EoYA6zlq0j39rfINp X-Received: by 2002:a17:907:d11:b0:96f:9cea:a34d with SMTP id gn17-20020a1709070d1100b0096f9ceaa34dmr2179682ejc.21.1686754571743; Wed, 14 Jun 2023 07:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686754571; cv=none; d=google.com; s=arc-20160816; b=zNHXJOoFrT4TA3KpuO/Tl2fKXTLLWRGvtZnHxK6hko0DLZbPYPxI4x+qYeDYJuQ1/h zipjDFOMCxLuap86CXjvKHZ1JJsbSP8gse6EgQbdrbH1pSWuMu9vpZ4GePkxhjI5yCbQ 9aP7R/mgzhZlqkMj5GZ7B+XXOKsMgTrXRL9wgt5MOf5rTdUG1Sq6jgOWbcJBDrVWYr48 xATm0PBB/Sbq4l6nZbGK9N3vOMQKndx6TZYvEfrfohxYzYAdJsbaCNZf16gbO9CF5VJ4 6nyisPMF9kyia8j1DEnCUesN/8MthMBS2QV0A2ONtcdj91DMxTQ3sG6mzi38MQAMCFLD LuJA== 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=vQIh9rt3ny8U0TLt3kcLM40HArnjCLKdcZhHwk4yddE=; b=OZkIvifKo+tU1A6KQjqdGIYLJwUYoo896c0Yo/vm8icexF1Zq0N4rtIq9aGNIk5P7M 903Mjkwk/BaQIVf5RWd6G6zi7D7stAc52BMaUzZyqUd7tY2lbEJTlx8xeNNDUoCm6hqH t2jRWCjnPo8ZNHDFweMckJCh3g1MXxV0GErEx/Y/5qGiDasVR4L6plT0xvr/2jHHyC5x jjvmqDmGUJFClr291PlBnkHrkjMk4DMF7mPBY2zqTq45wMCzkozd0aQr4++6oYeqHVCW M0sfvGmp8goMZojvqVV069oIeFkqFpCqAk3oezA6HLhHCFd9h/u06kleDILpqKmyyJ52 Hmrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=m6NtQ5Ep; 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 l6-20020a056402344600b0051a1ea30d3esi190261edc.90.2023.06.14.07.55.47; Wed, 14 Jun 2023 07:56:11 -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=m6NtQ5Ep; 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 S243985AbjFNOyB (ORCPT + 99 others); Wed, 14 Jun 2023 10:54:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244810AbjFNOx4 (ORCPT ); Wed, 14 Jun 2023 10:53:56 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85C0B1981 for ; Wed, 14 Jun 2023 07:53:54 -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=vQIh9rt3ny8U0TLt3kcLM40HArnjCLKdcZhHwk4yddE=; b=m6NtQ5Ep2yYq1HjciTcJZrETax NaW4ckO0c8Aq81U8Vp7+yFzK3A6j1heYW+bTPDlh+xbhxmcoB49itjMxbW/MCoWQ/guuOFsaFw7ge 4rpbjbf5aHBiSzvmRvjCizD5w9RgAWFFlJaItoXxo9yipQbEBrDVefkAyjrrJ9y1v8/xMSm9gbnoP L8malMIo4JVQM/6BhbDaCezsz/kPaGlVxaaAOL1H5NPsn2WVI47JlETirC0vtan8zmDPHvSOLmcnP OLBuPNdS3MP0ntP7KppRXCbAGyWGnI/Eu1vbPBFVbM0OvLnBH6QWcMC2Aoa3wY43v8B/FPHm2b1TK EQjnJhMA==; 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 1q9Rsb-006RRx-7r; Wed, 14 Jun 2023 14:53:49 +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)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id DB5B0300188; Wed, 14 Jun 2023 16:53:48 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6EEB02080F556; Wed, 14 Jun 2023 16:53:48 +0200 (CEST) Date: Wed, 14 Jun 2023 16:53:48 +0200 From: Peter Zijlstra To: "Richard W.M. Jones" Cc: Aaron Thompson , linux-kernel@vger.kernel.org Subject: Re: printk.time causes rare kernel boot hangs Message-ID: <20230614145348.GB1640563@hirez.programming.kicks-ass.net> References: <20230613134105.GA10301@redhat.com> <20230614092158.GF1639749@hirez.programming.kicks-ass.net> <20230614094522.GA7636@redhat.com> <20230614103011.GL7912@redhat.com> <20230614103953.GM7912@redhat.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614130945.GK1639749@hirez.programming.kicks-ass.net> 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,URIBL_BLOCKED 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 Wed, Jun 14, 2023 at 03:09:45PM +0200, Peter Zijlstra wrote: > On Wed, Jun 14, 2023 at 02:03:48PM +0100, Richard W.M. Jones wrote: > > On Wed, Jun 14, 2023 at 02:53:20PM +0200, Peter Zijlstra wrote: > > > Ooooh, what qemu version do you have? There were some really dodgy > > > reports all around self modifying code, all reported on 7.2, that seems > > > to have gone away with 8. > > > > > Now, all of them were using TCG, and I think you're using KVM. > > > > I'm using qemu-system-x86-8.0.0-4.fc39.x86_64 with KVM. The host > > kernel is 6.4.0-0.rc5.41.fc39.x86_64. > > > > > I've at least 36000 cycles and still nothing :-(, let me go try your > > > .config. > > > > I can definitely reproduce this with your config (but AMD host), so > > that's odd. Let me try with Intel hardware and your config. You > > really should see this with only a few thousands iterations. > > Yeah, I'm running on some ancient ivb-ep, let me try on the alderlake. I > don't really have AMD machines at hand :-/ Using v6.4-rc6-37-gb6dad5178cea, and 36000+ cycles on the ADL (affine to big cores) later and nothing :-( Clearly I'm doing something wrong.