Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp59626rdh; Wed, 20 Dec 2023 16:07:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcc1uQbTHzGtf1KFTainD0kq+R93NkkYzMKfXOjlMcMfNeUyZiFLIGQHjiKiE+ADOuUekw X-Received: by 2002:a17:906:2a97:b0:a1f:8a1e:952d with SMTP id l23-20020a1709062a9700b00a1f8a1e952dmr3648136eje.7.1703117237979; Wed, 20 Dec 2023 16:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703117237; cv=none; d=google.com; s=arc-20160816; b=RWymj3iGQNUUVKjt2xDQFwpaJ93cBKuclzTXTWe9JAu0rxr0UXmmlbuFV39VTbIiWK bmnBFyN+Ge2tPDlttLaLqeje3yRSIYfha8egS4im3HSGCR/mKnkZJS+5rp/ynu7Ha8Yq WLHBrOLxgMNIcZ4VtVfWk2TH3GJ5eiwM9O99Vs8/R9cVjGGaX1BfbsQ+a65lDf461910 ruGIap2thAGEwk2KAqQi9cHn5utNaxBfee74s8vN/85xIl6HEcMV4O5t95HJZihmYzTr S/o+5OKJeRUxBgNVbZ17iUT43n/Zlh2Bk0h9O+uLRzqra9wu9kuLkILpDL/8x9yY+pOP WwoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=vCO4Pp9Hv1vq/Sea199yDKNS1oBm5R2ANtFp1asUthk=; fh=ObLUWzhNCEUXXXC9CIFdzB4q58+lar3GzxSWpSnfQZ0=; b=MErW6uuDQjpKvin2EmeFvy8dLgD8crDo4dcaSLDLQdVe9L9f7aVnK5FM+j8hAuYDMd GgCtS+EoiPtxhflFdg3HY4t2IyIr7BEUxdZ9uPvFhlnEbcT7bTQmWSItEP6G0W9xDdLD 6qpgmP5lfoBp+xNWxqWKC1wDcNqEuH3qwVmNcgbLqSSR2QnG8xKQIl5taABXLaA/Tlyv wYKnmjgBcQzDsbWMhcAif3U1JkzejTlEEDhS9KfnlJR6wv6vNnic4upPL6WcIrDZ0HDv UKglsa18rMpFBmZ1hN+YV3dabcJHpZUmU4PUoVZXbQJYbVu4H7h/UWhAMKz+5iv9yz7y SA/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QnUhll9O; spf=pass (google.com: domain of linux-kernel+bounces-7677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h17-20020a1709062dd100b00a233c712f55si285265eji.1053.2023.12.20.16.07.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 16:07:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QnUhll9O; spf=pass (google.com: domain of linux-kernel+bounces-7677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 816F31F24356 for ; Thu, 21 Dec 2023 00:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6764E625; Thu, 21 Dec 2023 00:07:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QnUhll9O" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 397CF623 for ; Thu, 21 Dec 2023 00:07:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-28bd623c631so185312a91.3 for ; Wed, 20 Dec 2023 16:07:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703117224; x=1703722024; darn=vger.kernel.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=vCO4Pp9Hv1vq/Sea199yDKNS1oBm5R2ANtFp1asUthk=; b=QnUhll9OHcxZNjIh/ShJkMVrAQ/Pq7saK8iSguDcAFCdpkg4DPpHfBW6yN+J0xsTKc jW2f5DfALeZNTA2UhFyp/IXa/aD2LN6DhExHb5YchPda7/H4y/ovzXxjfdbXeGVljnaI YjOrH8AdM8bRHcc7QACl7nkx1EykkvvUgue0A+DwKYJZnyIdD0zm6ugggSi/3djtlYRy pDvIzRXz7wQi1eHJ6U6a6gLhg9om9cBuF9XrjLySUMfxIlr/YWqy7T1kDYq1FDK5FMRF j4lGxLkffH7MnxWTAQD0FgpGiM8l1OKwsU4/XOSw5Xxt2OgrHptnWY0H6q1KMr194PEu Ze7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703117224; x=1703722024; 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=vCO4Pp9Hv1vq/Sea199yDKNS1oBm5R2ANtFp1asUthk=; b=C80v3F1yExj8Tu1I391RnMrDCCUXx9hxOcrupWQjDgXK9dwDB0Z7KKV5U1BjoMPxkp Gq1N5dVwlYjdPKhPlLidmLTBodk9WMH73ITVTiSBccR+5h0dYreEn3AOqUvz870e1Zmk MY3h5fUY4O6qYH/2aQotPwBuXLTq1B5eBNRdvxj3H38oXm0483uygJkveqwiEWsGXAwP 2SI2DfLAYOtGHseqg/x06JypsUmVYstuCYJ75/U0EzcaSQax8XgVQIcPipmjsfn5kuvd pfEzT44eR3d2hRSepOhDU5HV2V/skJxBHhRbKxs0XpzhAtSiqdYk/LyfbablIiNi+Vny kFVw== X-Gm-Message-State: AOJu0YzxlOYEQociE6z5Xup/NeKmuy+tm4tGx8REkExo7t4NN8ywFjoL ZiYbVf8na+KHIirVDpj5NWwPbUPaWdCjjHlVGscv2w== X-Received: by 2002:a17:90a:de87:b0:28b:c820:958a with SMTP id n7-20020a17090ade8700b0028bc820958amr2334850pjv.33.1703117224526; Wed, 20 Dec 2023 16:07:04 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <63e92a6a-9cb7-4272-b524-ccaf997aceb3@sirena.org.uk> In-Reply-To: <63e92a6a-9cb7-4272-b524-ccaf997aceb3@sirena.org.uk> From: =?UTF-8?B?RGFuaWVsIETDrWF6?= Date: Wed, 20 Dec 2023 18:06:53 -0600 Message-ID: Subject: Re: selftests: ftrace: Internal error: Oops: sve_save_state To: Mark Brown Cc: Naresh Kamboju , Linux ARM , open list , lkft-triage@lists.linaro.org, linux-stable , Greg Kroah-Hartman , Catalin Marinas , Steven Rostedt , Masami Hiramatsu , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! On Thu, 19 Oct 2023 at 11:26, Mark Brown wrote: > On Thu, Oct 19, 2023 at 09:07:02PM +0530, Naresh Kamboju wrote: > > On Tue, 17 Oct 2023 at 17:52, Mark Brown wrote: [...] > > > To confirm have you seen this on other stables as well or is this onl= y > > > v6.5? For how long have you been seeing this? > > > This is only seen on 6.5.8-rc2 and seen only once. > > I have checked on mainline / next and other stable branches and this cr= ash > > is not seen anywhere else. > > > However, I will keep checking them on other branches and next and mainl= ine. > > I see. If the bug has never been reproduced I don't think we can draw > any conclusion about which branches are affected, I would be a bit > surprised by something that affects v6.5 only. We have been seeing this problem in other instances, specifically on the following kernels: * 5.15.132, 5.15.134-rc1, 5.15.135, 5.15.136-rc1, 5.15.142, 5.15.145-rc1 * 6.1.42, 6.1.43, 6.1.51-rc1, 6.1.56-rc1, 6.1.59-rc1, 6.1.63 * 6.3.10, 6.3.11 * 6.4.7 * 6.5.2, 6.5.10-rc2 Most recent case is for the current 5.15 RC. Decoded stack trace is here: -----8<----- <4>[ 29.297166] ------------[ cut here ]------------ <4>[ 29.298039] WARNING: CPU: 1 PID: 220 at arch/arm64/kernel/fpsimd.c:950 do_sve_acc (/builds/linux/arch/arm64/kernel/fpsimd.c:950 (discriminator 1)) <4>[ 29.300418] Modules linked in: fuse drm dm_mod ip_tables x_tables <4>[ 29.302720] CPU: 1 PID: 220 Comm: systemd-udevd Not tainted 5.15.145-rc1 #1 <4>[ 29.303601] Hardware name: linux,dummy-virt (DT) <4>[ 29.304804] pstate: 40400009 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=3D--) <4>[ 29.305615] pc : do_sve_acc (/builds/linux/arch/arm64/kernel/fpsimd.c:950 (discriminator 1)) <4>[ 29.306499] lr : do_sve_acc (/builds/linux/arch/arm64/include/asm/jump_label.h:38 /builds/linux/arch/arm64/include/asm/lse.h:24 /builds/linux/arch/arm64/include/asm/atomic.h:86 /builds/linux/include/linux/atomic/atomic-long.h:335 /builds/linux/include/asm-generic/bitops/atomic.h:42 /builds/linux/include/asm-generic/bitops/instrumented-atomic.h:71 /builds/linux/include/linux/thread_info.h:108 /builds/linux/arch/arm64/kernel/fpsimd.c:949) <4>[ 29.307466] sp : ffff8000083b3e60 <4>[ 29.308447] x29: ffff8000083b3e60 x28: ffff0000c2f42000 x27: 0000000000000000 <4>[ 29.310500] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 <4>[ 29.312034] x23: 0000000080001000 x22: 0000ffffb3c8a454 x21: 00000000ffffffff <4>[ 29.313338] x20: 0000000064000000 x19: ffff0000c2f42000 x18: 0000000000000000 <4>[ 29.314636] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 <4>[ 29.316090] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 <4>[ 29.317096] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffb047a36178f4 <4>[ 29.318131] x8 : ffff0000c2c4d888 x7 : 0000000000000000 x6 : 0000000000000200 <4>[ 29.319171] x5 : ffffb047a5c6f260 x4 : 0000000000000200 x3 : 0000000000000001 <4>[ 29.320180] x2 : 0000000000000000 x1 : ffff4fb95a329000 x0 : 0000000000800800 <4>[ 29.321599] Call trace: <4>[ 29.321996] do_sve_acc (/builds/linux/arch/arm64/kernel/fpsimd.c:950 (discriminator 1)) <4>[ 29.322674] el0_sve_acc (/builds/linux/arch/arm64/include/asm/daifflags.h:28 /builds/linux/arch/arm64/kernel/entry-common.c:129 /builds/linux/arch/arm64/kernel/entry-common.c:138 /builds/linux/arch/arm64/kernel/entry-common.c:529) <4>[ 29.323273] el0t_64_sync_handler (/builds/linux/arch/arm64/kernel/entry-common.c:639) <4>[ 29.323951] el0t_64_sync (/builds/linux/arch/arm64/kernel/entry.S:584= ) <4>[ 29.324598] ---[ end trace b31d3b95f436e1b5 ]--- ----->8----- Complete log (and reproducer) here: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2ZoYpOR7= 9EjlFiAuFHeOWN2rwC3 Artifacts (including vmlinux and System.map) can be found here: https://storage.tuxsuite.com/public/linaro/lkft/builds/2ZoYoIewSKk26jISEo= 4QlNaOvVR/ Greetings! Daniel D=C3=ADaz daniel.diaz@linaro.org