Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3187677pxx; Mon, 2 Nov 2020 02:19:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4dxW69vL/xSacjtfenHMyH6o3dxwNYNjK0K6W0V2B7oqP/EnysHFjAou/qEGp2c0o9Mq0 X-Received: by 2002:aa7:cb1a:: with SMTP id s26mr15775071edt.219.1604312367833; Mon, 02 Nov 2020 02:19:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604312367; cv=none; d=google.com; s=arc-20160816; b=VOKth3FwLltbGf3Ep/pzMIl+lH3/epXzsDQR5Fgzri0xmO4UC34iE7+F5CyFJ0D8jH aCCKyNT1n7zYhj+SJAyKtcRP7LslIKKsWwWz+CYmzopGnXqzOxX74adhX4SCKwe68W6o juSHzp7QYQE9HkjDg1IPoVRGXZIoW5D5wCudRp1ne0Kv4+pxJOEk6QKQUuMnT1D/8LVs 578tx3vQr275StQfIfY26rsSPPm29+cZI37QuDmGy140zEBgKXVmXopFUo2HSrY/bf6p DccLDa+2R0GrG/dlPw0vMm+K6Zb01MR+se6TBc81E92i5ASkb947Vhy1orGehdyzMLl8 fMQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id; bh=wU2b2ELwKRcMXkreDRGE3SIQF9S3Gl39dkKUCWCVTAY=; b=KILNV+z137u5ev57r1vxGeHsImTzPVPqLKm/OjVCVUSn1XD2vJyLH5SxbBjT4oqFn+ +zCQQi+cZXJh9yrJ8gbcB2AsM8eTRHFaFLXQl6FdQueYHWpvA4cC02GnrY3CteIwVFo0 AJzuoxGBwS24ZJN2/RPt9sUtSJZU/82Pi/ifoUc/ZKvWGSz21mHdwGwHfhFHkjLzt+1s G3sxf+i6mEWc3vh2H6qqgEN1XyjDkSY/wNH/UQ9r8bPRd5FZ9nOqfzgt6jgV5247QKrm 7lBjDP5PbDofJz/1EicCZZt8NGy/8GUE0z4ICdXoeed8klkAChKd/FNH4HFia3psTZQX 7Eow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si2257682edn.399.2020.11.02.02.19.05; Mon, 02 Nov 2020 02:19:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728419AbgKBKPp (ORCPT + 99 others); Mon, 2 Nov 2020 05:15:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:48746 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728362AbgKBKPp (ORCPT ); Mon, 2 Nov 2020 05:15:45 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A08C3AF2C; Mon, 2 Nov 2020 10:15:43 +0000 (UTC) Message-ID: Subject: Re: Hard lockup on Raspberry Pi 4 after v5.10-rc1 From: Nicolas Saenz Julienne To: Nathan Chancellor , linux-rpi-kernel@lists.infradead.org Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 02 Nov 2020 11:15:41 +0100 In-Reply-To: <20201102072900.GA2124436@ubuntu-m3-large-x86> References: <20201102072900.GA2124436@ubuntu-m3-large-x86> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-r7OltOwC1wkoa8ne25RE" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-r7OltOwC1wkoa8ne25RE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2020-11-02 at 00:29 -0700, Nathan Chancellor wrote: > Hi everyone, >=20 > Starting with v5.10-rc1, I appear to be experiencing hard lockups on my > Raspberry Pi 4 when compiling LLVM. My standard workflow for testing the > Raspberry Pi 4 has been compiling tip of tree LLVM (to catch host > AArch64 issues), compiling linux-next ARCH=3Darm64 defconfig, then bootin= g > it with QEMU + KVM, which has caught a few issues so far. Starting with > v5.10-rc1, compiling LLVM causes the serial console to print junk like >=20 > |=E2=96=92pp=E2=96=92p=E2=96=92p=E2=96=92p > p|=E2=96=92|=E2=96=92|p=E2=96=92p=E2=96=92p|=E2=96=92=E2=96=92|=E2=96=92= |=E2=96=92|p|=E2=96=92=E2=96=92|=E2=96=92|=E2=96=92| > p=E2=96=92pp=E2=96=92=E2=96=92=E2=96=92|=E2=96=92=E2=96=92 > =E2=96=92 > =E2=96=92|=E2=96=92|=E2=96=92=E2=96=92=E2=96=92=E2=96=92 > p=E2=96=92 > =E2=96=92 > =E2=96=92=E2=96=92 > =E2=96=92 > =E2=96=92p|p >=20 > then I lose my mosh connection and I see the lights on the front of the > Pi stop blinking. >=20 > I have managed to narrow it down to a commit somewhere in the armsoc DT > merge. >=20 > Good: 2e368dd2bbea ("Merge tag 'armsoc-drivers' of > git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") > Bad: e533cda12d8f ("Merge tag 'armsoc-dt' of > git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") >=20 > I have not been able to complete a full bisect due to a lack of time > unfortunately, I am sending this email to hopefully get some more eyes > on the issue. >=20 > $ head -n6 /boot/config.txt > # My settings > enable_uart=3D1 > core_freq_min=3D500 > kernel=3DImage > os_prefix=3Dcustom-mainline-gcc-arm64/ > upstream_kernel=3D1 >=20 > $ cat /boot/.firmware_revision > e8ddac7cd34b179efd702d4dc1efd0ccf44559b9 >=20 > I can reproduce the issue with: >=20 > $ git clone --depth=3D1 https://github.com/llvm/llvm-project >=20 > $ mkdir -p llvm-project/build && cd llvm-project/build >=20 > $ cmake \ > -G Ninja \ > -DCMAKE_BUILD_TYPE=3DRelease \ > -DLLVM_ENABLE_PROJECTS=3D"clang;lld" \ > ../llvm && > ninja >=20 > If you need any more information or testing, please let me know! Thanks for the report! I'll have a look at it tomorrow. Regards, Nicolas --=-r7OltOwC1wkoa8ne25RE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl+f3E0ACgkQlfZmHno8 x/5pBAf8Cq/zso/3zLGGWh5+YRbtGn/c63hYTim11PFcAT3aj+XhawnAg/F8j9ll v22w1HQqHEWGnkC3bbYD6BXUH0DzwOppb9CWIEVmwP4c2tJSXy18oetzj8UPQ2YO v6NUlcOn3FIxyORSw0EYstiIFgZkbIOyJGoDCIOePuqA5RWGb1tp5/kujW10MkCw zT6gU007d3agGml4utmyw4gE3vwljUwKOQv8ismuKfsB43WfRwefMhyIcsVoQzzc bKv9xCWpqyVOwna+UhpakQ8uzoVyJF2BtKxTgX5qZgPOOl8qI1EpjaLLcPuPrt2l JR+0GMjjT+1oQzbqRBcMpNTIqD+b2g== =LEK+ -----END PGP SIGNATURE----- --=-r7OltOwC1wkoa8ne25RE--