Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9178794rwl; Wed, 11 Jan 2023 02:28:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXunwcrPYKKpyihpYlvCDEkwj2yhJYlB9ELpoUzj3VdYFvIr8htADz+85SuSs78JWvp3A01r X-Received: by 2002:a17:907:8744:b0:7c1:277:cb05 with SMTP id qo4-20020a170907874400b007c10277cb05mr79125410ejc.6.1673432918112; Wed, 11 Jan 2023 02:28:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673432918; cv=none; d=google.com; s=arc-20160816; b=KGeUHsj5fVbOveuh6grVYhxWWYvefsoCo51tQ/9+g/zVBPMEqLlDLOGgOlBTtY1aQz DLmilsiMcaWNpfNtgGX/SUwoQZ+JAQ07DJhNpmLeODLTluPZxGqehpQo36Zyiws8cj1H SkCHbP1/75mxU0z28IHKdGNxkjxx/2YAxDm3iiSvmAUz0aUUgYwVQVtttTL6JTLnqSc9 8hwXlYFm148oPPn4FEqia0jKyqQOLX/nTk2CINmGcUEPzJ2k0Xv6uHFCuthySGLtlRcP I3lZjmnGmGmyagt1T+TqF79YL9HOgRb8xQGyjKhrLzpski6S2xnoTgtvc2ZiQrZKxLKN hK1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XTP2rUiYwe1rmS+ZXiHAVTpmRxymjf33zMdbnWtxm3c=; b=kcw48Fxxg/NUGTIDgc9hnnRKshj41vn/Id+eN/Uy6AQwNQwIPE5M3x7TxybJ1QVdqC r20Wwq6y5myEkRljQ+/gKaXgAeCF3HctBupkhcKWy7fk4rN2pBRYkRbdJ+f6dPVukgEW cTnQ2KvZ4lHDo+K5z8PrLrZL6J/SH4h21KrnH1+dnlmszjW+EHp9s1PsYeH2Zj3HAr76 cVHtv9dLe3cI++ccNYxmqRSxKQu8feEJs4EpX1Gcq5SeGVzyBrWCo5/LboRQhs5ijx6M /9znqL9JVtzXdHn8fVI6YgWG8e7q4AzWTsCvrBnlNQhGj/yCu6TnJawQHg6PeOSSxRUP efsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fOHPgZdq; 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 b7-20020a056402084700b00477e491fe37si16805964edz.509.2023.01.11.02.28.24; Wed, 11 Jan 2023 02:28:38 -0800 (PST) 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=fOHPgZdq; 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 S235666AbjAKJeQ (ORCPT + 53 others); Wed, 11 Jan 2023 04:34:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238634AbjAKJdl (ORCPT ); Wed, 11 Jan 2023 04:33:41 -0500 Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 097C52670 for ; Wed, 11 Jan 2023 01:31:52 -0800 (PST) Received: by mail-ua1-x92d.google.com with SMTP id e7so3516363ual.4 for ; Wed, 11 Jan 2023 01:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=XTP2rUiYwe1rmS+ZXiHAVTpmRxymjf33zMdbnWtxm3c=; b=fOHPgZdqla9+x7CVSnI7vnlUCToKGmBGmds6ENRwAm2xT2AHTvoMP1OUt5Xn/eJhF5 Ydy/xVJHajj13gEgWSzKJIQxaFmC9OlM9FFdPleXSvBz5hSnDjk4iMhGg6jZZotnkQzY SH8IAQML+rLYNh54U/lwDcN38VRsleFZbEgy6m0U0g1yCOpVTH+CzPD8Q8PLP6GeKInL Q/SiLU6QhLNX0lZegJAi9TdUNRqF+QHmyEPapLnI9pmFq2DnFmtLi+ILd/LrFgBK3c+E JupzXC8bpbMPm48CJuF2FD2+HvYu6tu38r4lGitG8EKfz+75NMYU9Q3C0O5YRVkzNNCZ uiBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=XTP2rUiYwe1rmS+ZXiHAVTpmRxymjf33zMdbnWtxm3c=; b=dVXlzXvwUmnuf2+0D4l5YACuVxK8RiYwIpTDGLVcNdOJSxZ1m4kdLh5GqiTS3BYsOy efAdKadROrK36lTFLvj4uel6JpZORodqelJ7p/+qzPFxuiLl21tMGdNfemrwV6UvYcWH crwBycnhAC+/GaONrJcb8BQ1qCcjOXQn8c9DwMdxg0c4QA9x1OuTgyjvXPT7QljFnlhG nYgU4P43dtLIgw8v1XO2b9L2FAPmxz0JJ5ZuWLjME8pY2TvwfBzt27ZKTzDk5wWP7kjs tJmaa33U8Nt/D6sta3qqxytfM/Ug3z6PERT5MPiAPWqNZd9mr64IL1PRax2Zjt74gNkH RybQ== X-Gm-Message-State: AFqh2kpBHpUEkMp/s8YCrDHZqx/osIXRNtN59tyIzdpR1dqFqpDaOKOM fuoxFTBQVq0n4uh96yOOYfoHXq/OhjRz+gJC1kz1EQ== X-Received: by 2002:ab0:3102:0:b0:5a4:c264:fb05 with SMTP id e2-20020ab03102000000b005a4c264fb05mr4306720ual.22.1673429510872; Wed, 11 Jan 2023 01:31:50 -0800 (PST) MIME-Version: 1.0 References: <20230110180017.145591678@linuxfoundation.org> In-Reply-To: From: Naresh Kamboju Date: Wed, 11 Jan 2023 15:01:39 +0530 Message-ID: Subject: Re: [PATCH 6.0 000/148] 6.0.19-rc1 review To: Arnd Bergmann Cc: Greg Kroah-Hartman , stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton , Guenter Roeck , shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, Pavel Machek , Jon Hunter , Florian Fainelli , Sudip Mukherjee , srw@sladewatkins.net, rwarsow@gmx.de, Mark Brown Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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 Wed, 11 Jan 2023 at 13:48, Arnd Bergmann wrote: > > On Wed, Jan 11, 2023, at 07:16, Naresh Kamboju wrote: > > On Tue, 10 Jan 2023 at 23:36, Greg Kroah-Hartman wrote: > >> > > > > Results from Linaro=E2=80=99s test farm. > > Regressions on arm64 Raspberry Pi 4 Model B. > > > > Reported-by: Linux Kernel Functional Testing > > > > While running LTP controllers cgroup_fj_stress_blkio test cases > > the Insufficient stack space to handle exception! occurred and > > followed by kernel panic on arm64 Raspberry Pi 4 Model B with > > clang-15 built kernel Image. > > > > The full boot and test log attached to this email and build and > > Kconfig links provided in the bottom of this email. > > > > I will try to reproduce this reported issue and get back to you. > > I looked at the log between 6.0.18 and 6.0.19-rc1, but don't see > any arm64 or memory management patches that could result in this. > Do you know if 6.0.18 ran successful Yes, it ran successfully on 6.0.18. On the same kernel 6.0.19-rc1 built with gcc-12 did not find this panic. The reported issue is specific to clang-15 build. > > [ 2893.044339] Insufficient stack space to handle exception! > > [ 2893.044351] ESR: 0x0000000096000047 -- DABT (current EL) > > [ 2893.044360] FAR: 0xffff8000128180d0 > > [ 2893.044364] Task stack: [0xffff800012a18000..0xffff800012a1c000] > > [ 2893.044370] IRQ stack: [0xffff80000a798000..0xffff80000a79c000] > > [ 2893.044375] Overflow stack: [0xffff0000f77c4310..0xffff0000f77c5310] > ... > > [ 2893.044413] pc : el1h_64_sync+0x0/0x68 > > [ 2893.044430] lr : wp_page_copy+0xf8/0x90c > > [ 2893.044445] sp : ffff8000128180d0 > ... > > [ 2893.044692] el1h_64_sync+0x0/0x68 > > [ 2893.044700] do_wp_page+0x4a0/0x5c8 > > [ 2893.044708] handle_mm_fault+0x7fc/0x14dc > > [ 2893.044718] do_page_fault+0x29c/0x450 > > [ 2893.044727] do_mem_abort+0x4c/0xf8 > > [ 2893.044741] el0_da+0x48/0xa8 > > [ 2893.044750] el0t_64_sync_handler+0xcc/0xf0 > > [ 2893.044759] el0t_64_sync+0x18c/0x190 > > It claims that the stack overflow happened in do_wp_page(), > but that has a really short call chain. It would be good > to have the source line for do_wp_page+0x4a0/0x5c8 and > wp_page_copy+0xf8/0x90c to see where exactly it was. > > > > [ 2893.285975] WARNING: CPU: 2 PID: 315758 at kernel/sched/core.c:3119 > > set_task_cpu+0x14c/0x208 > .... > > [ 2893.286117] CPU: 2 PID: 315758 Comm: cgroup_fj_stres Not tainted > > [ 2893.286416] arch_timer_handler_phys+0x44/0x54 > > [ 2893.286427] handle_percpu_devid_irq+0x90/0x220 > > [ 2893.286439] generic_handle_domain_irq+0x38/0x50 > > [ 2893.286447] gic_handle_irq+0x68/0xe8 > > [ 2893.286455] el1_interrupt+0x88/0xc8 > > [ 2893.286464] el1h_64_irq_handler+0x18/0x24 > > [ 2893.286474] el1h_64_irq+0x64/0x68 > > [ 2893.286482] panic+0x2d8/0x374 > > This is apparently a second unrelated bug -- it still processes timer > interrupts after calling panic() and this apparently fails because > the system is already unusable. > > > artifact-location: > > https://storage.tuxsuite.com/public/linaro/lkft/builds/2K9JDtix2mHMoYRj= NkBef3oR5JT > Adding " / " at end works. https://storage.tuxsuite.com/public/linaro/lkft/builds/2K9JDtix2mHMoYRjNkBe= f3oR5JT/ > file not found. I tried to get the vmlinux file to look at the disassembl= y > but the artifacts appear to be gone already. System.map: https://storage.tuxsuite.com/public/linaro/lkft/builds/2K9JDtix2mHMoYRjNkBe= f3oR5JT/System.map vmlinux: https://storage.tuxsuite.com/public/linaro/lkft/builds/2K9JDtix2mHMoYRjNkBe= f3oR5JT/vmlinux.xz Sorry for the trouble. - Naresh > > Arnd