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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CBF8FC4332F for ; Mon, 10 Oct 2022 12:52:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DWdWshg13TguA5Go0WWXq5AYazapLoJymGcH8pi0dUk=; b=Xdh646+MCug6U+ 1DaPhaqr5uYDgNUzYus+2VoLHRd6V04z5oLk5lGqsn3NuNUoeDfSbk+bpCWd3FfQiwPqb42epBwKM ibG/+qGRORMY3GS+g+OFdbpvPLPT9sYFcIrwzgUNJAWeZnFiv583GWl50veqsfX2C5capiW2oeILU 4OvvHOU2MIpgGBTriHoKPdPX5V78nFYU4+lXCKC65jXXUEGBZU/3M/KUwXamtGrR/LSW+hkQkcGG1 PFEuBXwxbrqu+VI3JLNG5kZ1gMTIjSeL6vmz1Xi00F96BqDsuIE7z9JfMOgsyzhwZnuX8qZhhrkC8 SAzcUACHF45c+I7z3wAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohsFR-000svE-4u; Mon, 10 Oct 2022 12:51:09 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohsFK-000stz-Om; Mon, 10 Oct 2022 12:51:07 +0000 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 5FBC9B80EB6; Mon, 10 Oct 2022 12:51:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34BA9C433C1; Mon, 10 Oct 2022 12:50:58 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="GezngbbO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1665406256; 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=IhfpmSDhP2y1RCrvqExIFrL7jy+os+IdsZCAmabzKXI=; b=GezngbbO6VPi2PKNvsf2Mo9nIl+NtvnN33Jl3wVQUsAfi9XBJk53zITzed3hzP60HEdLS6 x+eW2ea2TezuZ87Blu8VqOXZ6kzz6CpJ0nPZvyX4rNhXAgg64KaDdksVCtS+KEXZX7V5YR woQaFwaqBUNWsbFfCMQCqSTs0ZIIwio= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 74dcb950 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 10 Oct 2022 12:50:56 +0000 (UTC) Date: Mon, 10 Oct 2022 14:50:54 +0200 From: "Jason A. Donenfeld" To: Mark Brown Cc: Florian Fainelli , Dominik Brodowski , Herbert Xu , kernelci-results@groups.io, bot@kernelci.org, gtucker@collabora.com, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: next/pending-fixes bisection: baseline.login on bcm2836-rpi-2-b Message-ID: References: <63426bce.170a0220.b8179.75b2@mx.google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221010_055103_216833_22B94A16 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Oct 10, 2022 at 12:59:41PM +0100, Mark Brown wrote: > The KernelCI bisection bot found a boot failure on Raspberry Pi 2B with > multi_v7_defconfig+CONFIG_THUMB2_KERNEL on next/pending-fixes triggered > by b006c439d58d ("hwrng: core - start hwrng kthread also for untrusted > sources"). A RCU stall is detected towards the end of boot reading from > the bcm2835 hwrng: > > <6>[ 3.362859] Freeing initrd memory: 16196K > <3>[ 23.160131] rcu: INFO: rcu_sched self-detected stall on CPU > <3>[ 23.166057] rcu: 0-....: (2099 ticks this GP) idle=03b4/1/0x40000002 softirq=28/28 fqs=1050 > <4>[ 23.174895] (t=2101 jiffies g=-1147 q=2353 ncpus=4) > <4>[ 23.180203] CPU: 0 PID: 49 Comm: hwrng Not tainted 6.0.0 #1 > <4>[ 23.186125] Hardware name: BCM2835 > <4>[ 23.189837] PC is at bcm2835_rng_read+0x30/0x6c > <4>[ 23.194709] LR is at hwrng_fillfn+0x71/0xf4 > <4>[ 23.199218] pc : [] lr : [] psr: 40000033 > <4>[ 23.205840] sp : f093df70 ip : 00000000 fp : 00000000 > <4>[ 23.211404] r10: c3c7e800 r9 : 00000000 r8 : c17e6b20 > <4>[ 23.216968] r7 : c17e6b64 r6 : c18b0a74 r5 : c07ccd99 r4 : c3f171c0 > <4>[ 23.223855] r3 : 000fffff r2 : 00000040 r1 : c3c7e800 r0 : c3f171c0 > <4>[ 23.230743] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none > <4>[ 23.238426] Control: 50c5387d Table: 0020406a DAC: 00000051 > <4>[ 23.244519] CPU: 0 PID: 49 Comm: hwrng Not tainted 6.0.0 #1 In drivers/char/hw_random/bcm2835-rng.c, if you replace the cpu_relax() with hwrng_msleep(rng, 1000), does it fix the problem? Jason _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel