Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp998475rwd; Thu, 25 May 2023 06:56:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qQ5ai5478FAy3k3jT+2/p4QX8iGT8w2Adz0VTEEvj5pefSsgD1lXfdDfR49hGU0LiDNwO X-Received: by 2002:a17:902:d34b:b0:1a9:9ace:3e74 with SMTP id l11-20020a170902d34b00b001a99ace3e74mr1910339plk.65.1685022991302; Thu, 25 May 2023 06:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685022991; cv=none; d=google.com; s=arc-20160816; b=GxR+11tundDFPlg0Xa8EfJHepGwpgutIqn0b65/Mm67Banb3QhJWgfBFmRYlDSJCyM 9EL+6vH9bSN6szIoJeY35VVJUazWMMIkPyXkGqGnh9inv5GrwLjnEuqz1BemlDK20xtA gdA/MjINHiFRU07tkm4LCu7LWoRmfj1RKi3ppuwneixc5MhhkK6La2880UiIBLxUmo3L VspvgXUihEpn7oBiGXSyC+tvN+lk4Rhcx7qSci7HAFPG6QX2EWHiav4efy0jJ5x9bMLt EEPmMjLyUrXTmXUQXQbazMUmwPWCMpI2oxyQxvlm6GfGnvwk/RSbChz8dhHWv/dNeJhu sUdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ov9l8FL7BwYwKqG7H5oyY0frtOe8uhygiLSX6k8PTbI=; b=nWXJEWNyoBmGdkkUzG8JiwlPqVI+X0P3z2iJi08XK4kxe3xInNEoFYtpQ5p1Ta2tov gCV/97YJdIGsIdfSsSeVFDMRpb7NfbgU0EAaeU5iKJPXlnc9AeYKKlAfvfCQ46w/htpF 0tqk5Xo8yRkrS0q27sDpVft6Kcks63Fid4yGcoV0oN5wAEqv8sW/E3cPCWKAKQb7woRZ nbh0vbyfKOh/gENG1vt/OAuLLtIqzBKzNneZpR56RBPy2p449Pu7uzvkOY2m+BwrkHel Dv2TB8UcMEFn7bH1JCjda2Vcmb2JL4wXBRV5KRP++QleB/ma2dCkmlIYN0t8gUuiLFPB c/5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FTGnmwc/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a170902c18900b001a644fba6d8si1491944pld.86.2023.05.25.06.56.16; Thu, 25 May 2023 06:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FTGnmwc/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjEYNgL (ORCPT + 99 others); Thu, 25 May 2023 09:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231397AbjEYNgI (ORCPT ); Thu, 25 May 2023 09:36:08 -0400 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF9A1186 for ; Thu, 25 May 2023 06:36:02 -0700 (PDT) Received: by mail-vk1-xa36.google.com with SMTP id 71dfb90a1353d-456ece9f868so182152e0c.1 for ; Thu, 25 May 2023 06:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685021762; x=1687613762; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ov9l8FL7BwYwKqG7H5oyY0frtOe8uhygiLSX6k8PTbI=; b=FTGnmwc/8XuVxw8RRrNUkhtbD1OmLbPoXEWEuxveBCQE1e4MEAMCAMzeS2w3tD0MlC OCc7FUarJb2g2hJ+RlEquLLDByg6UsKYwOaf+b2gSBxiar8useuctrOZSNt//fTQDF2W BgwZ8TY8c9BYqTdrGw11hb/IrxpWMubofw3e0Fk4WvIR8QbM4mDDEgnLU3zqZ71CFBAI jz10RAtTyXDso74IZ2isDf0HgAtJvEVeoZ8qnUSr9QyVgWID2EgySX0/7feflWsFO9iX 5/2M9ooFpuSbwsAQvjVQ4aRsUlcv55SWImpxppNIkxW2sX0ugX/wJcnOUdBi12iQPzgO On9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685021762; x=1687613762; h=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=ov9l8FL7BwYwKqG7H5oyY0frtOe8uhygiLSX6k8PTbI=; b=LVwDD4iQwRDbIcN3Fw7ScuQzqAMzIWO/q/jhQBl7t7CZe6YiTg6/CURX7Q97gdOvUR 5/68ompSmmv9n1QuKGsAjNRh++9PTx3IlsNVAXOKN4qktyPU+33S8S7vqhwp8j+bP9VS rGHb+Xur+KvyzgQ+ZtUR3FsBFqw6UZYtYcOSgbIIqhEnSWMkkPJU27PZwZT0xXxqZjcx p3s2urSablUBRs2wU6wQnQjTsq2sRIaFagNx5um1Sthj+IB8WoUlKvxDBGXnoGn9pb4y k3wMmfq4U5HTxWUNtafWiM7m706i81HBWASxQMCy6c2zEKEvG7y2/VYpqaYVl8e5kkGB Lp8g== X-Gm-Message-State: AC+VfDwQGOJx9Mz9BpJVjc4+qP4QAKAvmp8oF6rXgSDYhGaj2dRikM1e GaPGe1adQil327qDCCh5H46qt5sIgw0Ep4zqUZw/Dw== X-Received: by 2002:a1f:43d5:0:b0:440:4058:936e with SMTP id q204-20020a1f43d5000000b004404058936emr6477554vka.12.1685021761798; Thu, 25 May 2023 06:36:01 -0700 (PDT) MIME-Version: 1.0 References: <20230516134447.GB30894@willie-the-truck> <20230522164117.GA6342@willie-the-truck> In-Reply-To: <20230522164117.GA6342@willie-the-truck> From: Naresh Kamboju Date: Thu, 25 May 2023 19:05:49 +0530 Message-ID: Subject: Re: arm64: fp-stress: BUG: KFENCE: memory corruption in fpsimd_release_task To: Will Deacon Cc: broonie@kernel.org, "open list:KERNEL SELFTEST FRAMEWORK" , linux-stable , open list , lkft-triage@lists.linaro.org, Catalin Marinas , Dan Carpenter , Arnd Bergmann , Shuah Khan , Anders Roxell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 May 2023 at 22:11, Will Deacon wrote: > > Naresh, > > On Tue, May 16, 2023 at 02:44:49PM +0100, Will Deacon wrote: > > On Tue, May 16, 2023 at 11:58:40AM +0530, Naresh Kamboju wrote: > > > Following kernel BUG noticed while running selftests arm64 fp-stress > > > running stable rc kernel versions 6.1.29-rc1 and 6.3.3-rc1. > > > > Is there a known-good build so that we could attempt a bisection? > > FWIW, I've been trying (and failing) all day to reproduce this in QEMU. > I matched the same VL configuration as you have in the fastmodel and > tried enabling additional memory debugging options too, but I'm yet to > see a kfence splat (or any other splat fwiw). Thanks for trying it out. I have shared log [Log link] below on Linux next-20230314 which is the starting point of BUG that we started noticing and that is raw log showing FVP log with all -C details. > > How often do you see this? Our CI system running selftests: arm64 - subtests by using ./run_kselftest.sh -c arm64 With full selftests: arm64 the probability of occurrence is 40%. On Linux next this fp-stress BUG: has been happening *intermittently* from next-20230314 dated March 14, 2023. On Linux stable-rc it started happening on 6.3.2-rc1 and 6.1.28-rc2. More details (on previous email), - https://lore.kernel.org/all/CA+G9fYtZjGomLjDi+Vf-hdcLpKPKbPmn4nwoPXvn24SG2hEJMg@mail.gmail.com/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230314/testrun/15566007/suite/log-parser-test/test/check-kernel-bug- 9588df685892e898be8969def31c5aa074b2faada33f12ebc88fd7e7b52893cd/details/ Log link: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230314/testrun/15566007/suite/log-parser-test/test/check-kernel-bug-9588df685892e898be8969def31c5aa074b2faada33f12ebc88fd7e7b52893cd/log > > Will