Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4055797rwi; Wed, 12 Oct 2022 10:00:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Tjqx0EdEcnM8neIy2Q77WW8LeDIBAkCTGNEjYgrwg3Am2pt/oMO2rQya8iW5F/4g+1C1U X-Received: by 2002:aa7:8f04:0:b0:563:1a66:9f with SMTP id x4-20020aa78f04000000b005631a66009fmr21964599pfr.75.1665594028900; Wed, 12 Oct 2022 10:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665594028; cv=none; d=google.com; s=arc-20160816; b=aHOj1YJ6F0zX7s53SG05ZfMhdPQNzQl6CoMuh3PbEtuB2wPCYga3YFFDgTzFjf/NJL uwBW2arbpPNkhptWRy+ibM96DGPXYqFM11CpmDbv640qMWwHjzn3N1ndM0ONCzO9MtgZ SUeTBiAsAKP3ohqtSJypNMZIax/+ZbPr+/ir73TNScmIAy8EfCzUXx7wnIaF9nThfCTc yVU1HqKwvBUmu2ujWEm/xargTdHj9k6KxvtYq6fB9AtSDtSXaRDUWXDXd7svFMumtA33 8PHuGKdUi0DTcC0t+uRZa6EQRprsmIg+YFrII+ObWcC6WszfT6h3RXflykGJoSXYUrnZ occg== 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=TSht1t3DJSD+hCa5eztAtyyaCNDlKdgo6SBIjdjkWrQ=; b=CUfbDa9vUWhbet0cwDO17UHl2eOSCcDdu44jW5VyE0sCp4K+j3GdWQF7aqwZ4uTy5S 5bC6d10fN2uy/u5/OWpxI3IR2o6ZEBCfDyHpM7QEml/cgbwIHeZazf+bYNfyNr3SmOf9 7xZ+mqbnLvJwGnUEbdk3dYRqp72AHqjyVOq1YxNnI3QnA4E0qHuteHD4EIQdW8eNAV3o f5oVAacrvt3DnN9fp5AXho1u5YdA+0WmEU8pUufp1+2seuXjB8an1JlD3GRsBu2g7u0E 4XwRsPXxtik0Tkyac6Puz+19OjAgrRUxJb5ueU6wGDPd18Gg3ofABKlFU0QK7D4iGckF 1etQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=AVbEDK+R; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 81-20020a621754000000b005384c4b7969si17315128pfx.316.2022.10.12.10.00.15; Wed, 12 Oct 2022 10:00:28 -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=@zx2c4.com header.s=20210105 header.b=AVbEDK+R; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbiJLQqB (ORCPT + 99 others); Wed, 12 Oct 2022 12:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiJLQqA (ORCPT ); Wed, 12 Oct 2022 12:46:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3044DD8ED5 for ; Wed, 12 Oct 2022 09:45:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E8359B81B7D for ; Wed, 12 Oct 2022 16:45:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A50E7C433C1; Wed, 12 Oct 2022 16:45:52 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="AVbEDK+R" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1665593150; 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=TSht1t3DJSD+hCa5eztAtyyaCNDlKdgo6SBIjdjkWrQ=; b=AVbEDK+RM/LtmdRyRgkFg9SfqjpWY/wu5EEuGoqtLZgO9lwLm2SHEMBqU5dMljE4PHW9N5 +s20+E+Bnj81IM20QVgXJqiYTZRoWgDJcAORwAt2JPLM+F1u77oUPDwlx2lC7gZy3P1AQl CD6vl9emDlZQwmQ0bbSy/vlKEGnl0JQ= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 8392b9ce (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 12 Oct 2022 16:45:50 +0000 (UTC) Date: Wed, 12 Oct 2022 10:45:46 -0600 From: "Jason A. Donenfeld" To: Guenter Roeck Cc: Michael Ellerman , Linus Torvalds , ajd@linux.ibm.com, aneesh.kumar@linux.ibm.com, atrajeev@linux.vnet.ibm.com, christophe.leroy@csgroup.eu, cuigaosheng1@huawei.com, david@redhat.com, farosas@linux.ibm.com, geoff@infradead.org, gustavoars@kernel.org, haren@linux.ibm.com, hbathini@linux.ibm.com, joel@jms.id.au, lihuafei1@huawei.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, lukas.bulwahn@gmail.com, mikey@neuling.org, nathan@kernel.org, nathanl@linux.ibm.com, nicholas@linux.ibm.com, npiggin@gmail.com, pali@kernel.org, paul@paul-moore.com, rmclure@linux.ibm.com, ruscur@russell.cc, windhl@126.com, wsa+renesas@sang-engineering.com, ye.xingchen@zte.com.cn, yuanjilin@cdjrlc.com, zhengyongjun3@huawei.com Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.1-1 tag Message-ID: References: <87edvhntv0.fsf@mpe.ellerman.id.au> <20221012141827.GA2405914@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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, Oct 12, 2022 at 09:49:26AM -0600, Jason A. Donenfeld wrote: > On Wed, Oct 12, 2022 at 07:18:27AM -0700, Guenter Roeck wrote: > > NIP [c000000000031630] .replay_soft_interrupts+0x60/0x300 > > LR [c000000000031964] .arch_local_irq_restore+0x94/0x1c0 > > Call Trace: > > [c000000007df3870] [c000000000031964] .arch_local_irq_restore+0x94/0x1c0 (unreliable) > > [c000000007df38f0] [c000000000f8a444] .__schedule+0x664/0xa50 > > [c000000007df39d0] [c000000000f8a8b0] .schedule+0x80/0x140 > > [c000000007df3a50] [c00000000092f0dc] .try_to_generate_entropy+0x118/0x174 > > [c000000007df3b40] [c00000000092e2e4] .urandom_read_iter+0x74/0x140 > > [c000000007df3bc0] [c0000000003b0044] .vfs_read+0x284/0x2d0 > > [c000000007df3cd0] [c0000000003b0d2c] .ksys_read+0xdc/0x130 > > [c000000007df3d80] [c00000000002a88c] .system_call_exception+0x19c/0x330 > > [c000000007df3e10] [c00000000000c1d4] system_call_common+0xf4/0x258 > > Obviously the first couple lines of this concern me a bit. But I think > actually this might just be a catalyst for another bug. You could view > that function as basically just: > > while (something) > schedule(); > > And I guess in the process of calling the scheduler a lot, which toggles > interrupts a lot, something got wedged. > > Curious, though, I did try to reproduce this, to no avail. My .config is > https://xn--4db.cc/rBvHWfDZ . What's yours? I also just tried using your github linux-build-test scripts as a guide for construction a config -- https://xn--4db.cc/B0HpEQDQ -- and loaded up your rootfs over sdhci and such, and still couldn't manage to reproduce. I tried commenting out the line "if (!bits)" in _credit_init_bits(), so that the rng would never initialize, so that the schedule() loop would just keep on running indefinitely, but still no dice. But also, I'm running Linus' tree. From your log, I see "6.0.0-rc2-00163-ga5edf9815dd7". So maybe these bugs got fixed elsewhere? Jason