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 6324EC433F5 for ; Sun, 17 Apr 2022 19:36:49 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=u0k9+xbOrWYScMsaGKBXfq0gnjr0szEd0C1g9ahVmII=; b=yOXElA6gNrFvkmuUxI5wiIan0a 5vKeolUQKQO1LH2hzOZQg8RJcTiGyfgBMhhT3/QF2Opgu1EM/YGv9E9IHEMU+subHgr6FqBGPE11n LRyERPW1pEDm1DSFUmudw9BdhW6GxIgkB27/p4SzjNWL/muecnEEfwd6Zx/ZEW/aTiLO/zpw0Dzd9 sed9c4kdeoGjkYVY4kDxv1d3EgdcHpkJJ6JdN+iEFkjYgPrQBMAAZphFq9NcMNwZY6GIPEWxX3lvt 1JLmwCcjjMcgoDEaSz2ZOjHeTBBxZPV4KDZtYA9jz13ep6DgxJsCy3kcDLHcMmQHc2mX9sSEOLiu6 kQNMmHfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngAgP-00EseI-PP; Sun, 17 Apr 2022 19:35:41 +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 1ngAgL-00Esdl-Mg for linux-arm-kernel@lists.infradead.org; Sun, 17 Apr 2022 19:35:40 +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 58ED1B80B51; Sun, 17 Apr 2022 19:35:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9210C385A7; Sun, 17 Apr 2022 19:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650224134; bh=l/RiGgzvaTi8BpCfm7dYeR8wWkPFh3Dgs20S3i0zjXs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Enu+xZ+65P34Xq2zQZvCVhQIb1ba2nq4sksgrsaVfNeR+eeOkQAySm+8gKQA5Edqn jPQaDFHwyIDTyDmauXg2nXavqBdiGhu+Lr3CUf2aJ59sos9EFxxNPvoiXZJvy1cMUV WYre5EQiqc60u/rwgmvzMpkcDOVcIpRjVnnkoLQtlUfcIHprHQKuLgCtUMiYi5I+I7 cZFyWep9X0ntniKmJwlOkOC/T9aDFFY3NtSnEpDkYwnWwwyFvHOpc7w0I6JgzptofL CSS3+HFoOet9DXgizJ9yBY3yW5AJzgJa0djokMdl89ZlD27J1tpkluHBvnDIYjYx7l k+twrMfFw2bPA== Date: Sun, 17 Apr 2022 20:35:29 +0100 From: Mark Brown To: Russell King , Catalin Marinas Cc: kernelci-results@groups.io, bot@kernelci.org, gtucker@collabora.com, linux-arm-kernel@lists.infradead.org Subject: Re: mainline/master bisection: baseline.login on odroid-xu3 Message-ID: References: <625c0133.1c69fb81.448c1.e6db@mx.google.com> MIME-Version: 1.0 In-Reply-To: <625c0133.1c69fb81.448c1.e6db@mx.google.com> X-Cookie: Stay on the trail. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220417_123538_082968_0F5B4E2D X-CRM114-Status: GOOD ( 22.92 ) 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: multipart/mixed; boundary="===============4584550724150510033==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4584550724150510033== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0Xi7UJ9RuX8jAKaD" Content-Disposition: inline --0Xi7UJ9RuX8jAKaD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 17, 2022 at 04:59:47AM -0700, KernelCI bot wrote: The KernelCI bisection bot found a boot regression on Odroid-XU3 with commit 8d9d651ff2270 (ARM: use LOADADDR() to get load address of section). It appears to trigger a deadlock somehow at some point after the secondary CPUs come up: <6>[ 0.133301] smp: Bringing up secondary CPUs ... <6>[ 0.138439] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101 <6>[ 0.139400] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102 <6>[ 0.140325] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103 <6>[ 0.141167] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000 <6>[ 0.141185] CPU4: Spectre v2: using ICIALLU workaround <6>[ 0.168676] CPU4: Spectre BHB: using loop workaround <5>[ 0.780471] random: fast init done <3>[ 21.167354] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: <3>[ 21.172051] rcu: 4-....: (0 ticks this GP) idle=3D001/1/0x40000000 s= oftirq=3D0/0 fqs=3D1050=20 <4>[ 21.180284] (detected by 0, t=3D2102 jiffies, g=3D-1199, q=3D1) <6>[ 21.186003] Sending NMI from CPU 0 to CPUs 4: <5>[ 44.300722] random: crng init done <3>[ 94.237962] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: <3>[ 94.242664] rcu: 4-....: (0 ticks this GP) idle=3D001/1/0x40000000 s= oftirq=3D0/0 fqs=3D4202=20 <4>[ 94.250897] (detected by 0, t=3D8407 jiffies, g=3D-1199, q=3D1) <6>[ 94.256616] Sending NMI from CPU 0 to CPUs 4: <3>[ 167.308571] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: <3>[ 167.313269] rcu: 4-....: (0 ticks this GP) idle=3D001/1/0x40000000 s= oftirq=3D0/0 fqs=3D7354=20 <4>[ 167.321502] (detected by 0, t=3D14712 jiffies, g=3D-1199, q=3D1) <6>[ 167.327308] Sending NMI from CPU 0 to CPUs 4: I've not deleted any context below for reference, this includes links to full logs of the failure, a log of the bisection and a tag for the report from the bot: > * If you do send a fix, please include this trailer: * > * Reported-by: "kernelci.org bot" * > * * > * Hope this helps! * > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >=20 > mainline/master bisection: baseline.login on odroid-xu3 >=20 > Summary: > Start: 90ea17a9e27b5 Merge tag 'scsi-fixes' of git://git.kernel.or= g/pub/scm/linux/kernel/git/jejb/scsi > Plain log: https://storage.kernelci.org/mainline/master/v5.18-rc2-291-= g90ea17a9e27b5/arm/multi_v7_defconfig+CONFIG_THUMB2_KERNEL=3Dy/gcc-10/lab-c= ollabora/baseline-odroid-xu3.txt > HTML log: https://storage.kernelci.org/mainline/master/v5.18-rc2-291-= g90ea17a9e27b5/arm/multi_v7_defconfig+CONFIG_THUMB2_KERNEL=3Dy/gcc-10/lab-c= ollabora/baseline-odroid-xu3.html > Result: 8d9d651ff2270 ARM: use LOADADDR() to get load address of se= ctions >=20 > Checks: > revert: PASS > verify: PASS >=20 > Parameters: > Tree: mainline > URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li= nux.git > Branch: master > Target: odroid-xu3 > CPU arch: arm > Lab: lab-collabora > Compiler: gcc-10 > Config: multi_v7_defconfig+CONFIG_THUMB2_KERNEL=3Dy > Test case: baseline.login >=20 > Breaking commit found: >=20 > -------------------------------------------------------------------------= ------ > commit 8d9d651ff2270a632e9dc497b142db31e8911315 > Author: Russell King (Oracle) > Date: Fri Feb 11 19:49:50 2022 +0000 >=20 > ARM: use LOADADDR() to get load address of sections > =20 > Use the linker's LOADADDR() macro to get the load address of the > sections, and provide a macro to set the start and end symbols. > =20 > Acked-by: Catalin Marinas > Signed-off-by: Russell King (Oracle) >=20 > diff --git a/arch/arm/include/asm/vmlinux.lds.h b/arch/arm/include/asm/vm= linux.lds.h > index 4a91428c324db..e02710d17cf93 100644 > --- a/arch/arm/include/asm/vmlinux.lds.h > +++ b/arch/arm/include/asm/vmlinux.lds.h > @@ -26,6 +26,11 @@ > #define ARM_MMU_DISCARD(x) x > #endif > =20 > +/* Set start/end symbol names to the LMA for the section */ > +#define ARM_LMA(sym, section) \ > + sym##_start =3D LOADADDR(section); \ > + sym##_end =3D LOADADDR(section) + SIZEOF(section) > + > #define PROC_INFO \ > . =3D ALIGN(4); \ > __proc_info_begin =3D .; \ > @@ -110,19 +115,19 @@ > * only thing that matters is their relative offsets > */ > #define ARM_VECTORS \ > - __vectors_start =3D .; \ > + __vectors_lma =3D .; \ > .vectors 0xffff0000 : AT(__vectors_start) { \ > *(.vectors) \ > } \ > - . =3D __vectors_start + SIZEOF(.vectors); \ > - __vectors_end =3D .; \ > + ARM_LMA(__vectors, .vectors); \ > + . =3D __vectors_lma + SIZEOF(.vectors); \ > \ > - __stubs_start =3D .; \ > - .stubs ADDR(.vectors) + 0x1000 : AT(__stubs_start) { \ > + __stubs_lma =3D .; \ > + .stubs ADDR(.vectors) + 0x1000 : AT(__stubs_lma) { \ > *(.stubs) \ > } \ > - . =3D __stubs_start + SIZEOF(.stubs); \ > - __stubs_end =3D .; \ > + ARM_LMA(__stubs, .stubs); \ > + . =3D __stubs_lma + SIZEOF(.stubs); \ > \ > PROVIDE(vector_fiq_offset =3D vector_fiq - ADDR(.vectors)); > -------------------------------------------------------------------------= ------ >=20 >=20 > Git bisection log: >=20 > -------------------------------------------------------------------------= ------ > git bisect start > # good: [ea4424be16887a37735d6550cfd0611528dbe5d9] Merge tag 'mtd/fixes-f= or-5.17-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux > git bisect good ea4424be16887a37735d6550cfd0611528dbe5d9 > # bad: [90ea17a9e27b5778ec517efb1ce0b81d36905654] Merge tag 'scsi-fixes' = of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi > git bisect bad 90ea17a9e27b5778ec517efb1ce0b81d36905654 > # bad: [169e77764adc041b1dacba84ea90516a895d43b2] Merge tag 'net-next-5.1= 8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next > git bisect bad 169e77764adc041b1dacba84ea90516a895d43b2 > # bad: [baaa68a9796ef2cadfe5caaf4c730412eda0f31c] Merge tag 'arm-soc-5.18= ' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc > git bisect bad baaa68a9796ef2cadfe5caaf4c730412eda0f31c > # bad: [5191290407668028179f2544a11ae9b57f0bcf07] Merge tag 'for-5.18-tag= ' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux > git bisect bad 5191290407668028179f2544a11ae9b57f0bcf07 > # bad: [5628b8de1228436d47491c662dc521bc138a3d43] Merge tag 'random-5.18-= rc1-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random > git bisect bad 5628b8de1228436d47491c662dc521bc138a3d43 > # bad: [eaa54b1458ca84092e513d554dd6d234245e6bef] Merge tag 'x86_cleanups= _for_v5.18_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad eaa54b1458ca84092e513d554dd6d234245e6bef > # bad: [c81801eb7f2476a25d8fb27449e01b0bef46908a] Merge tag 'acpi-5.17-rc= 9' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm > git bisect bad c81801eb7f2476a25d8fb27449e01b0bef46908a > # bad: [c30b5b8cfb72cc83c10793588ce94471a4769409] Merge tag 'staging-5.17= -rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging > git bisect bad c30b5b8cfb72cc83c10793588ce94471a4769409 > # bad: [3bf7edc84a9eb4007dd9a0cb8878a7e1d5ec6a3b] Merge tag 'arm64-fixes'= of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux > git bisect bad 3bf7edc84a9eb4007dd9a0cb8878a7e1d5ec6a3b > # skip: [cd22a8bfcfe07ef35b1b5d96dd468e92dc5e9d8a] Merge tag 'arm64-spect= re-bhb-for-v5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/= linux > git bisect skip cd22a8bfcfe07ef35b1b5d96dd468e92dc5e9d8a > # good: [bd09128d16fac3c34b80bd6a29088ac632e8ce09] arm64: Add percpu vect= ors for EL1 > git bisect good bd09128d16fac3c34b80bd6a29088ac632e8ce09 > # bad: [b9baf5c8c5c356757f4f9d8180b5e9d234065bc3] ARM: Spectre-BHB workar= ound > git bisect bad b9baf5c8c5c356757f4f9d8180b5e9d234065bc3 > # good: [04e91b7324760a377a725e218b5ee783826d30f5] ARM: early traps initi= alisation > git bisect good 04e91b7324760a377a725e218b5ee783826d30f5 > # bad: [8d9d651ff2270a632e9dc497b142db31e8911315] ARM: use LOADADDR() to = get load address of sections > git bisect bad 8d9d651ff2270a632e9dc497b142db31e8911315 > # first bad commit: [8d9d651ff2270a632e9dc497b142db31e8911315] ARM: use L= OADADDR() to get load address of sections > -------------------------------------------------------------------------= ------ >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#25908): https://groups.io/g/kernelci-results/message/= 25908 > Mute This Topic: https://groups.io/mt/90521049/1131744 > Group Owner: kernelci-results+owner@groups.io > Unsubscribe: https://groups.io/g/kernelci-results/unsub [broonie@kernel.o= rg] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- >=20 >=20 --0Xi7UJ9RuX8jAKaD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJcbAAACgkQJNaLcl1U h9ACGwf/cSiDdnO7FOfywLjABHuY1sTcC/x0ot+uf0etLLtNc1rTdenrMTutTte3 wKehwLfOjwozoEB6F3nfRGLE8Sfdbh/XivTtYYQJ1AlU/D3Ghn4Jfgw5rGr2MTKk QnW8DqOTvZo8UU/v5x8VOeVf79BqBXOU7Id16HrlbiGRnVvisFfvJ/ILAL9fSayQ gT3FR28Va0mFysSFjWLtNqqMWzLt3WPKS41I5pGu0oM+Fi3W/TLMHy++o7GuyOmU Em8Zh1z1hBGfA6L+Zi6gNV7M5s7JsEpzg41QewZNWApZh9JHRbOoW4KJC8ZcXXVE 6iH3/sH1kifMawAjg+pEbmDQdmWGoQ== =Af1a -----END PGP SIGNATURE----- --0Xi7UJ9RuX8jAKaD-- --===============4584550724150510033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4584550724150510033==--