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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BE88C3DA49 for ; Thu, 11 Jul 2024 12:29:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 802246B0089; Thu, 11 Jul 2024 08:29:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7B0DD6B008A; Thu, 11 Jul 2024 08:29:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6510E6B0092; Thu, 11 Jul 2024 08:29:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 408B86B0089 for ; Thu, 11 Jul 2024 08:29:54 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id D846C80563 for ; Thu, 11 Jul 2024 12:29:53 +0000 (UTC) X-FDA: 82327403466.16.B923433 Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) by imf02.hostedemail.com (Postfix) with ESMTP id F012980015 for ; Thu, 11 Jul 2024 12:29:50 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=oXeZZZD9; spf=pass (imf02.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.50 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1720700957; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JqOZWQvbbgEAblHpvsq+XVyNbsKTjqsS396HYvWfwX4=; b=mdkwhOiKwTOgPzmL1MaqiQG30MaG4I4dU3I+9XZ4siobBjECHgGw72HVeVAw7+xP8hq4VZ FqTkxxxXnT6qTL9517c2tlCPLOCdR+ve3QJjD/PBAGd3F+cGOTddMZHgyaDZFj//RWWwQ0 vLhohBTVYWo4ucrXgkRurHSUBxVC6s8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720700957; a=rsa-sha256; cv=none; b=ubaRI1m9tUcnb50YcElD92dA7dSLsnRFYCXjGwyK0+fF/PLjT1qabL2V77FJOoqTZdoJlm K/rM8AAKDKDGjvAJxD4EC4CeRiP9A//uRB9/zOmaPkUBHF8iyNcW1B98Hqs7lO4xPdgvMz W+TYvCNMLRgux6NtxktzTrCmklFORiY= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=oXeZZZD9; spf=pass (imf02.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.50 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org Received: by mail-ua1-f50.google.com with SMTP id a1e0cc1a2514c-8101b144fddso253058241.3 for ; Thu, 11 Jul 2024 05:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720700990; x=1721305790; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JqOZWQvbbgEAblHpvsq+XVyNbsKTjqsS396HYvWfwX4=; b=oXeZZZD9vdaQikGa0O//OHFdGmvaKy6Hqe3Lb3B2GI3m1IluCB/JR9+xW5vikSpW7W e7TlOrVdlFd8MK0S/w67oUJVmN6M22c47yOVRoX6Qy8Kb4pRPwhK/seXub5Kb2ACf76G EJU9a7q/FK8FKwgCB2n57HfrYkC+UauBoJP+DCXvMy9LrzWDoEyfpBUSulQwNucaUhfQ ikoMPP+UOD6hj07TAmacpCWT7YjCRwMo+SewJIKEP+KNErgJ3ilQ22geeD8YVq8mXWCP /0J3EdzbfEzMz87xg1jdh9YkXde/+dDmaBygN0qOv0Raqgdulr9uVAtKhgmQrCx7UJgb K+xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720700990; x=1721305790; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JqOZWQvbbgEAblHpvsq+XVyNbsKTjqsS396HYvWfwX4=; b=ctJLn91pWICqOWIAhbgnLJsdTHPjBKrJIoagZmRxt8h2jcX+g++9Mmky+FJcy0zL+5 35ZV81W1FA20TzsuqnEYt4zHLN+6ia2oRWJ1gBH902ixlM6NX1yu/XDKU0fRQLC3qUHD mMDfYjNiz62TBADQtgPKm3LZyiDuKemC9i0nbXEZ+0XxU4thfvLtW2gKFfTV8Er6mjK1 0nknMGnikScC9pG7T3w0MKL8rO0bZw0XPOav/VO3bfI5W0WrT5YpbiN4qO1gXxFBz4Lf xPaLmT9wsIX8WT1MEFTKv64/805U2LsZ9U8zQ+82s4wg6vmMeKR5k2vCDch/+Z583eLq lvJQ== X-Forwarded-Encrypted: i=1; AJvYcCWcJsAAWtDBkPB6I8ykRqzyLzTo3RN4UilNOL7NkdR+dMV8mifgO4wdLNkoYT0M/xe00QnFaC76x5aJ1y9vAbqm8bw= X-Gm-Message-State: AOJu0Yzwel6Pn/Zxzdvd32BbXB8Ep+1Y8QwQl6y+d+XjWPZeSmNVM5E6 QrG7yvIEefnzTK3y0k8OqZTYB5vz2BwuCTg8GFRdfbSh4S9rOEGB4xTw+orzfYimQAtQdkJ8M8N QQKsinvCtQWHoeJITNMSgm6edXvs8nCmj/xRcbg== X-Google-Smtp-Source: AGHT+IH39yxj+1z4/itcK8lPNB42C/pq5T4u2QGBsh6oKTyIMWZNRylj3LqS11lAIrjiQE+eXJ2A+trQHTdaanSk9rU= X-Received: by 2002:a05:6102:26d1:b0:48f:6581:c16c with SMTP id ada2fe7eead31-490320f2e96mr8880214137.6.1720700989802; Thu, 11 Jul 2024 05:29:49 -0700 (PDT) MIME-Version: 1.0 References: <20240709110708.903245467@linuxfoundation.org> <2024071118-iguana-pureblood-03be@gregkh> In-Reply-To: <2024071118-iguana-pureblood-03be@gregkh> From: Naresh Kamboju Date: Thu, 11 Jul 2024 17:59:37 +0530 Message-ID: Subject: Re: [PATCH 6.9 000/197] 6.9.9-rc1 review To: Greg Kroah-Hartman Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, allen.lkml@gmail.com, broonie@kernel.org, Anders Roxell , Mike Christie , "Paul E. McKenney" , rcu , gnstark@salutedevices.com, linux-mm , Jinliang Zheng , Dan Carpenter , Arnd Bergmann , =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Brendan Higgins , "Eric W. Biederman" , Shuah Khan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Stat-Signature: 3axzbf56oip7xan5d43536q37c4sutuu X-Rspamd-Queue-Id: F012980015 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1720700990-404301 X-HE-Meta: U2FsdGVkX1/kLAT39LiOno2Ec1l/6T1aEJ+esjGFzDvO1+EWQS1ZuoGsF8KYfiJkIClk4tEVVkQDBYp1dLjcbnBn2/D8sxDfg2CCJ7ZZkXolU70pxQMWmJC5wWr4lsp0AZBkOGTwfi0bO6ruxxGwoSnXKc18+3rVQEjrlQj0RCB69mXNpd5G8Y/mhf/JKS+DY7XIIPY+1c5fsVC8Lfj6g3kwuDtCKXV9mvnySbxR6V0kOhx0WCKa1MEZ8cGBnHnN9W0TFKIf8oIJEecBU/KuUW+eqmtPo1qnqnI5iGlVKyDTxjynSoZ19NmSZrX7UPDOmtT+G0MjtJiptFyOsDVmDWWiIQj8P2em9n4slG9Ok3nVCA9KNaLXxq/S2A2l8SX0WG4UEQNImlL3VQ2ZKsqWgYANLUUz9JBc6Qx27QxYufcn/4x0VV7X1h6qdIkRMXyUCZj5sZf7q03zTDL36/c1ENlJogULhY2MmmjCN6tc5B+cPh1dYEK1HcQGVRA102EVa9hGA7oqByvIE2GYwMi+xmj9Wr1R0Qyj7UmYvN3nh4ALJQnYE/AGJE5em3wIBLffTZ2ZldFeif2G6dIszJ9eDI90lUEYNE9FAtJXuN7ejVImXJfencLhrxlDkyy2u6FCqqBLdLNdBYC/Cx2Eq1/XieiHxkirUvdx0TgmuR6L/UUgsBiuz6gPWrJrlKrOrFYGErLM3Cy0GwqwMoSNH4KtBozTPvvNnioJrQGPCLCu4MPDxWtDPlkes1vZNKWE2RmzccjTsciR66Dm/gsw1BI8tYjJD6hFsDycQ3uVm67jT9vKiVRopCn7xk5CoQkRr+6UtMLE/mwEPrKxXD1Pd4RjKOZaA7AzfaUi7dR6z7ESYGPvixhFFvttcHkW6iOlFQL8sZVfJb2yD+k0CC+KXGR5gVdPoGL2jz9eUcnwH2riHB2e0cyJFVLJ/Qz4XMTb5snNNbDppQhCeAdQMlAET9H xqi04IrW olw4rKJQisS9k8MDVx/F5lnlk0JbFl5i11QteZjYXnaP1YrlkaGP+mH8GX7MdIJNcxBjxxTsj+OxW5py4ucQBzCjQb/l1GzM0EPCsP/UaLmHGN/Sic5R339rGm/PYBvUJ8hPeGXBXGFe5Pwr/jIVj3bL5kmZwJdvM0352Z9NjDA4UyKGqyhqt84tf/s+OKN5aKHTESb21TZsnPshTcsOg0y+eqorFI+DopBL25UYnekQ4OdmINLO3suWsRYZuEy8oXauTDvtxidSTcKFDMQXSIZ+j3VQVeOpeKadULUtdqi0YK1VOxnTW8bAxJ6IOl3XXww+UQ0xL9UK3zVNyXGK15RwJokeir6JmkmSlvOKfRfV0SECw1+WKGsJdXdh4SFu2dxRWX/xwIyNHVgqGOdIILl5cJ3O0DCRRAcZ5iQO1XXXtGWeJD36Hwc9XvJfws60qBKfeTQG955BTAOVlu+I35l8FkWdRyihrjAlRT34u25plqIbwFbP3LAdXyvEk8/qJwMrsKG91n5xSJCuVxguzR+uVJ3Jt/ZeB925C X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, 11 Jul 2024 at 14:41, Greg Kroah-Hartman wrote: > > On Thu, Jul 11, 2024 at 02:00:17PM +0530, Naresh Kamboju wrote: > > On Wed, 10 Jul 2024 at 08:41, Naresh Kamboju wrote: > > > > > > On Tue, 9 Jul 2024 at 16:49, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start of the stable review cycle for the 6.9.9 release. > > > > There are 197 patches in this series, all will be posted as a respo= nse > > > > to this one. If anyone has any issues with these being applied, pl= ease > > > > let me know. > > > > > > > > Responses should be made by Thu, 11 Jul 2024 11:06:25 +0000. > > > > Anything received after that time might be too late. > > > > > > > > The whole patch series can be found in one patch at: > > > > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/= patch-6.9.9-rc1.gz > > > > or in the git tree and branch at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-= stable-rc.git linux-6.9.y > > > > and the diffstat can be found below. > > > > > > > > thanks, > > > > > > > > greg k-h > > > > > > Results from Linaro=E2=80=99s test farm. > > > The following kernel panic was noticed while running kunit tests. > > > > > > First seen on > > > git commit id: 2471237b27c681c22e5f2b7175584aa7d5c89bfc > > > date: on July 9th 2024. > > > > > > GOOD: v6.9.7-223-g03247eed042d > > > BAD: v6.9.8-198-g2471237b27c6 > > > > > > Always reproduce: yes. > > > > > > * qemu-arm64, Juno-r2, rk3399-rock-pi-4b and qemu-x86_64 the kunit-bo= ot failed. > > > - gcc-13-defconfig-kunit > > > - clang-18-defconfig-kunit > > > - clang-nightly-defconfig-kunit > > > - gcc-8-defconfig-kunit > > > > > > Reported-by: Linux Kernel Functional Testing > > > > > > Crash log [1]: > > > --------- > > > <4>[ 63.601683] kernel_init_freeable (init/main.c:1559) > > > <4>[ 63.602335] kernel_init (init/main.c:1446) > > > <4>[ 63.602980] ret_from_fork (arch/arm64/kernel/entry.S:861) > > > <3>[ 63.603703] > > > <3>[ 63.604057] The buggy address belongs to the object at fff00000= c07582e8 > > > <3>[ 63.604057] which belongs to the cache inode_cache of size 616 > > > <3>[ 63.605281] The buggy address is located 80 bytes to the right = of > > > <3>[ 63.605281] allocated 616-byte region [fff00000c07582e8, > > > fff00000c0758550) > > > <3>[ 63.606592] > > > <3>[ 63.607294] The buggy address belongs to the physical page: > > > <4>[ 63.607948] page: refcount:1 mapcount:0 mapping:000000000000000= 0 > > > index:0x0 pfn:0x100758 > > > <4>[ 63.608830] head: order:2 entire_mapcount:0 nr_pages_mapped:0 p= incount:0 > > > <4>[ 63.609593] flags: > > > 0xbfffe0000000840(slab|head|node=3D0|zone=3D2|lastcpupid=3D0x1ffff) > > > <4>[ 63.610449] page_type: 0xffffffff() > > > <4>[ 63.611934] raw: 0bfffe0000000840 fff00000c08d2dc0 > > > dead000000000122 0000000000000000 > > > <4>[ 63.612810] raw: 0000000000000000 0000000080160016 > > > 00000001ffffffff 0000000000000000 > > > <4>[ 63.613668] head: 0bfffe0000000840 fff00000c08d2dc0 > > > dead000000000122 0000000000000000 > > > <4>[ 63.614525] head: 0000000000000000 0000000080160016 > > > 00000001ffffffff 0000000000000000 > > > <4>[ 63.615694] head: 0bfffe0000000002 ffffc1ffc301d601 > > > ffffc1ffc301d648 00000000ffffffff > > > <4>[ 63.616583] head: 0000000400000000 0000000000000000 > > > 00000000ffffffff 0000000000000000 > > > <4>[ 63.617391] page dumped because: kasan: bad access detected > > > <3>[ 63.618034] > > > <3>[ 63.618354] Memory state around the buggy address: > > > <3>[ 63.619281] fff00000c0758480: 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 > > > <3>[ 63.620086] fff00000c0758500: 00 00 00 00 00 00 00 00 00 00 fc > > > fc fc fc fc fc > > > <3>[ 63.620886] >fff00000c0758580: fc fc fc fc fc fc fc fc fc fc 00 > > > 00 00 00 00 00 > > > <3>[ 63.621664] ^ > > > <3>[ 63.622235] fff00000c0758600: 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 > > > <3>[ 63.623362] fff00000c0758680: 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 > > > <3>[ 63.624138] > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > <6>[ 63.645148] not ok 1 block_bits=3D10 cluster_bits=3D3 > > > blocks_per_group=3D8192 group_count=3D4 desc_size=3D64 > > > <6>[ 63.658504] ok 2 block_bits=3D12 cluster_bits=3D3 > > > blocks_per_group=3D8192 group_count=3D4 desc_size=3D64 > > > <1>[ 63.674531] Unable to handle kernel NULL pointer dereference at > > > virtual address 0000000000000008 > > > <1>[ 63.675691] Mem abort info: > > > <1>[ 63.676527] ESR =3D 0x000000009600006b > > > <1>[ 63.677658] EC =3D 0x25: DABT (current EL), IL =3D 32 bits > > > <1>[ 63.678274] SET =3D 0, FnV =3D 0 > > > <1>[ 63.678906] EA =3D 0, S1PTW =3D 0 > > > <1>[ 63.679880] FSC =3D 0x2b: level -1 translation fault > > > <1>[ 63.680879] Data abort info: > > > <1>[ 63.681606] ISV =3D 0, ISS =3D 0x0000006b, ISS2 =3D 0x0000000= 0 > > > <1>[ 63.682544] CM =3D 0, WnR =3D 1, TnD =3D 0, TagAccess =3D 0 > > > <1>[ 63.683493] GCS =3D 0, Overlay =3D 0, DirtyBit =3D 0, Xs =3D = 0 > > > <1>[ 63.684732] [0000000000000008] user address but active_mm is sw= apper > > > <0>[ 63.686080] Internal error: Oops: 000000009600006b [#1] PREEMPT= SMP > > > <4>[ 63.688843] Modules linked in: > > > <4>[ 63.689662] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B > > > N 6.9.9-rc1 #1 > > > <4>[ 63.690522] Hardware name: linux,dummy-virt (DT) > > > <4>[ 63.691532] pstate: 224000c9 (nzCv daIF +PAN -UAO +TCO -DIT > > > -SSBS BTYPE=3D--) > > > <4>[ 63.692423] pc : _raw_spin_lock_irq > > > (arch/arm64/include/asm/atomic_lse.h:271 > > > arch/arm64/include/asm/cmpxchg.h:120 > > > arch/arm64/include/asm/cmpxchg.h:169 > > > include/linux/atomic/atomic-arch-fallback.h:2055 > > > include/linux/atomic/atomic-arch-fallback.h:2173 > > > include/linux/atomic/atomic-instrumented.h:1302 > > > include/asm-generic/qspinlock.h:111 include/linux/spinlock.h:187 > > > include/linux/spinlock_api_smp.h:120 kernel/locking/spinlock.c:170) > > > <4>[ 63.693097] lr : _raw_spin_lock_irq > > > (include/linux/atomic/atomic-arch-fallback.h:2172 (discriminator 1) > > > include/linux/atomic/atomic-instrumented.h:1302 (discriminator 1) > > > include/asm-generic/qspinlock.h:111 (discriminator 1) > > > include/linux/spinlock.h:187 (discriminator 1) > > > include/linux/spinlock_api_smp.h:120 (discriminator 1) > > > kernel/locking/spinlock.c:170 (discriminator 1)) > > > <4>[ 63.693714] sp : ffff800080087620 > > > <4>[ 63.694519] x29: ffff800080087680 x28: 1ffff00010010f45 x27: > > > ffff800080087a20 > > > <4>[ 63.696315] x26: 1ffff00010010f47 x25: ffff800080087a00 x24: > > > fff00000c99f0028 > > > <4>[ 63.697334] x23: 0000000000000000 x22: dfff800000000000 x21: > > > ffff800080087640 > > > <4>[ 63.698333] x20: 1ffff00010010ec4 x19: 0000000000000008 x18: > > > 000000004b9fd0a9 > > > <4>[ 63.699711] x17: 0000000000000000 x16: fff00000da13e180 x15: > > > ffffaa8e3330c4c4 > > > <4>[ 63.700732] x14: ffffaa8e33312508 x13: ffffaa8e3583b0ec x12: > > > ffff700010010ec9 > > > <4>[ 63.701734] x11: 1ffff00010010ec8 x10: ffff700010010ec8 x9 : > > > dfff800000000000 > > > <4>[ 63.702792] x8 : 0000000000000003 x7 : 0000000000000001 x6 : > > > ffff700010010ec8 > > > <4>[ 63.704539] x5 : ffff800080087640 x4 : ffff700010010ec8 x3 : > > > ffffaa8e3585c520 > > > <4>[ 63.705529] x2 : 0000000000000001 x1 : 0000000000000000 x0 : > > > 0000000000000000 > > > <4>[ 63.706625] Call trace: > > > <4>[ 63.707408] _raw_spin_lock_irq > > > (arch/arm64/include/asm/atomic_lse.h:271 > > > arch/arm64/include/asm/cmpxchg.h:120 > > > arch/arm64/include/asm/cmpxchg.h:169 > > > include/linux/atomic/atomic-arch-fallback.h:2055 > > > include/linux/atomic/atomic-arch-fallback.h:2173 > > > include/linux/atomic/atomic-instrumented.h:1302 > > > include/asm-generic/qspinlock.h:111 include/linux/spinlock.h:187 > > > include/linux/spinlock_api_smp.h:120 kernel/locking/spinlock.c:170) > > > <4>[ 63.708130] wait_for_completion_timeout > > > (kernel/sched/completion.c:84 kernel/sched/completion.c:116 > > > kernel/sched/completion.c:127 kernel/sched/completion.c:167) > > > <4>[ 63.708902] kunit_try_catch_run (lib/kunit/try-catch.c:85) > > > <4>[ 63.709710] kunit_run_case_catch_errors (lib/kunit/test.c:544) > > > <4>[ 63.710558] kunit_run_tests (lib/kunit/test.c:649) > > > <4>[ 63.711555] __kunit_test_suites_init (lib/kunit/test.c:732 > > > (discriminator 1)) > > > <4>[ 63.712489] kunit_run_all_tests (lib/kunit/executor.c:276 > > > lib/kunit/executor.c:392) > > > <4>[ 63.713317] kernel_init_freeable (init/main.c:1559) > > > <4>[ 63.713971] kernel_init (init/main.c:1446) > > > <4>[ 63.714503] ret_from_fork (arch/arm64/kernel/entry.S:861) > > > <0>[ 63.716154] Code: 93407c02 d503201f 2a0003e1 52800022 (88e17e62) > > > All code > > > =3D=3D=3D=3D=3D=3D=3D=3D > > > 0: 93407c02 sxtw x2, w0 > > > 4: d503201f nop > > > 8: 2a0003e1 mov w1, w0 > > > c: 52800022 mov w2, #0x1 // #1 > > > 10:* 88e17e62 casa w1, w2, [x19] <-- trapping instruction > > > > > > Code starting with the faulting instruction > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > 0: 88e17e62 casa w1, w2, [x19] > > > <4>[ 63.717705] ---[ end trace 0000000000000000 ]--- > > > <6>[ 63.718649] note: swapper/0[1] exited with irqs disabled > > > <6>[ 63.720758] note: swapper/0[1] exited with preempt_count 1 > > > <0>[ 63.722091] Kernel panic - not syncing: Attempted to kill init! > > > exitcode=3D0x0000000b > > > <2>[ 63.724608] SMP: stopping secondary CPUs > > > <0>[ 63.725877] Kernel Offset: 0x2a8db2200000 from 0xffff8000800000= 00 > > > <0>[ 63.726534] PHYS_OFFSET: 0x40000000 > > > <0>[ 63.727664] CPU features: 0x0,00000006,8f17bd7c,6766773f > > > <0>[ 63.729291] Memory Limit: none > > > <0>[ 63.731074] ---[ end Kernel panic - not syncing: Attempted to > > > kill init! exitcode=3D0x0000000b ]--- > > > > > > Steps to reproduce on qemu-arm64 link provided [2]. > > > Build artifacts arm64 link provided [3]. > > > The Kconfig is built with defconfig+Kunit and the config link provide= d [4]. > > > This occurred on following Toolchain builds gcc-13, clang-18, > > > clang-nightly and gcc-8. > > > > > > Reproducible always on following devices and emulators, > > > * rk3399-rock-pi-4b > > > * qemu-arm64 > > > * qemu-x86_64 > > > > > > I am bisecting this reported issue. > > > > Anders, bisected this issue and found this as the first bad commit and = after > > reverting this patch the boot pass and kernel panic were not found. > > > > # first bad commit: [6b91f756f49a16223085b38cedb7e297d134d64d] > > kunit: Handle test faults > > [ Upstream commit 3a35c13007dea132a65f07de05c26b87837fadc2 ] > > > > > > > Please let me know if you need more information. > > > > > > Links: > > > [1] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.9.y/bu= ild/v6.9.8-198-g2471237b27c6/testrun/24552495/suite/boot/test/gcc-13-lkftco= nfig-kunit/log > > > [2] https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/= 2j0YCwfoW0D9nrPUAeDspHG0iFE/reproducer > > > [3] https://storage.tuxsuite.com/public/linaro/lkft/builds/2j0Y8lX6zR= NGTiGTZmteMwzwHj2/ > > > [4] https://storage.tuxsuite.com/public/linaro/lkft/builds/2j0Y8lX6zR= NGTiGTZmteMwzwHj2/config > > > > > > Bisection log: > > ------ > > $ git bisect log > > # bad: [6ced42af8b2d3a7dfca7121f6f01b19aa818eeab] Linux 6.9.9-rc1 > > # good: [2106717b5214895a29c038b37f15d78a3202aa2b] Linux 6.9.8 > > git bisect start 'stable-rc/linux-6.9.y' 'v6.9.8' > > # bad: [30dbb09f028b3de9e304e3ab0bbf123613d6b61f] KVM: s390: fix LPSWEY= handling > > git bisect bad 30dbb09f028b3de9e304e3ab0bbf123613d6b61f > > # good: [81d79946a4623d2d2ce21e68ccd1e9997119e8ff] > > thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data > > git bisect good 81d79946a4623d2d2ce21e68ccd1e9997119e8ff > > # bad: [9a2f3e9cd7906c3dc5eebcc1d981c3403c742ea7] s390/pkey: Wipe > > sensitive data on failure > > git bisect bad 9a2f3e9cd7906c3dc5eebcc1d981c3403c742ea7 > > # good: [1b4c766b624614df4deaf51d20dc596859ec8254] orangefs: fix > > out-of-bounds fsid access > > git bisect good 1b4c766b624614df4deaf51d20dc596859ec8254 > > # bad: [867bfb350f89b328fe30537afda02fe4c4ae23f5] bpf: Avoid > > uninitialized value in BPF_CORE_READ_BITFIELD > > git bisect bad 867bfb350f89b328fe30537afda02fe4c4ae23f5 > > # bad: [18363e5c5cbf3c51d0d857e4b9706674cbfd5a96] powerpc/xmon: Check > > cpu id in commands "c#", "dp#" and "dx#" > > git bisect bad 18363e5c5cbf3c51d0d857e4b9706674cbfd5a96 > > # bad: [6b91f756f49a16223085b38cedb7e297d134d64d] kunit: Handle test fa= ults > > git bisect bad 6b91f756f49a16223085b38cedb7e297d134d64d > > # good: [3bbd81663033fa72cac3a867e5284b925b445ad6] kunit: Fix timeout m= essage > > git bisect good 3bbd81663033fa72cac3a867e5284b925b445ad6 > > # first bad commit: [6b91f756f49a16223085b38cedb7e297d134d64d] kunit: > > Handle test faults > > So the code to do testing is the thing that is crashing {sigh} > > I'll go drop this from all stable branches, but odds are this is also > happening in Linus's tree so you might want to report it to the people > who submitted it there as well. The thread is here: > https://lore.kernel.org/r/20240408074625.65017-5-mic@digikod.net I have double checked and confirmed that the kunit test works on Linus's tr= ee. > > thanks for the bisection! Always Happy to Test :) > > greg k-h - Naresh