Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3548321rwb; Tue, 20 Sep 2022 00:57:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4MMqK4CcGr05DR+B+T1hNYOVpG2Xg+9bs1pMeqaQX/uU/T/N5SbMVJ91F424ZD7c7f4eZW X-Received: by 2002:a05:6402:3786:b0:451:24da:f8c9 with SMTP id et6-20020a056402378600b0045124daf8c9mr19054953edb.250.1663660674198; Tue, 20 Sep 2022 00:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663660674; cv=none; d=google.com; s=arc-20160816; b=WaBcPgADAuk/Pg99ECXJF4VNa+C7TdMp3C89jPAz3DSu1qEZmEU8ZxCK0pQ2RWr42O 6DAt1Au6BidOMXmqnvYpPyGnGkjOuJvgsWtMyZtnZza80nff/DkvAglIHhOogJnkFJcn rugpRB/GsYrCfoobaTQ4Otash7HQ1Indy2pZkVKbfoxDykZK3zFIbyCMEDpeVwwyB4PF 2ySr+p6o8uf9S4xgz/Rlyw36GN7vqSAFyNyrE1jClpXPu1Wi18NVSgqrATe/Qv6FERNd fAlGt+iWFfW0FxMQ47PPp+naZcYhvIZQsmWdvKmDsQeAehqa6oZUC/bO7qjxbhObWEJV AhEw== 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=v2dG6/P5BSWS7u4tQfy+uH29sBLSe4H65/8CiipYbDU=; b=h6lqbaQ+sd75Rv/AVENGPMsPUU5m3PmAwo2x2NMHV3gbI+viyWM9wRahDU4Wr/if5A 0fbPBh8BNAPKtZUVSqieMf9OqU6m6R+Cj9VMNr5+B1cend7sWFCrZc/21/Aks6s1D31o RHebrJ5xrJoHq3Tfx+0LFJUmCob9lUyW3ZySRezMrvJXa3+7fiY3A9JAOwfidOJwkT8N DXc5dhmzIO81EPGCJAFNZHgbmuGAws/pUQ0yMrxZCZzxB6mzgxy/gZKJ9ysv/HO+aScy iV7owsXeMHYpmg5HJVfNS12ucVqmhWoEDuLH2osz3CFVcT29RXhs7HOc1hRh6dxV7mZM UcuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=wCLiLA2L; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020aa7c716000000b004483b772d31si853175edq.230.2022.09.20.00.57.28; Tue, 20 Sep 2022 00:57:54 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=wCLiLA2L; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbiITHGb (ORCPT + 99 others); Tue, 20 Sep 2022 03:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbiITHG1 (ORCPT ); Tue, 20 Sep 2022 03:06:27 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 501424D4C3 for ; Tue, 20 Sep 2022 00:06:24 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id u9so3899183ejy.5 for ; Tue, 20 Sep 2022 00:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=v2dG6/P5BSWS7u4tQfy+uH29sBLSe4H65/8CiipYbDU=; b=wCLiLA2LyGdy6T+8YdBc1ntPQp5TcBGCxX/SR94TFL7LGtgzvQrYTkArMXd/cnMDUV YutVur06MO8JUDQh50pUSnGmYcmx37z5ORf4KSb0qhZrLWNfG+lQ7K2ZlnLHUmrE9GzC iDy4aRzZm7UB6dlSYA6ohv3AxyPLcrXixyjcbpNhtRq2NUlz+a7N2ktkncE/r7vu+w5/ +McNy8ie1CECptxb9dUvMynUY7p9ldDGrRREfVIMjJWAbw5q3f9pWttZ4p/H2VUqZcE3 xtwkmOTMQ9s9GvkbVu4d/JSodEtA9ZNo1Bb14gnWGLgadwWn0ASIU+YHl1VYhT+OXkqB twUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=v2dG6/P5BSWS7u4tQfy+uH29sBLSe4H65/8CiipYbDU=; b=sb4utnzkXgHkfogEqSRFA5gOmV3qoiJDzFHMa9uVPlV7DjaHEL2pyRYEYXeBG3NVJK Yp/7mNXfVfg80PfVA+DhibsaZRnS4H76ATnw7aIRbPstA+7X6eGTNYNLOlD9C+S/gNE4 XVl2w/IeUo8V77LdIzMxwzvxdA6661rqoyQzSwvmxy5OGldVWZnCQENmBhBjI8mZ9fTk MC7TWqvgj07u5ta1DjS6mBbPIG4arPM5dOCnuhWsufxZYJ7ib4av5O3dx6Or1DvBBX1E N6Dso3l9nuxacUxOdlkLz/LcTfE8Dd2F0mEPbCv6VEj5XGHbjNhi3+m7/5DBACjSzTJl QyBg== X-Gm-Message-State: ACrzQf0EYcVgj1Xvvhg85o5oZ+DSUMnR5+IF2XoQa2fraHCF078o9kA9 spbaCuH5yDngZTdUNAyVIyzoIG59lT1Rx7ZiwVpYTg== X-Received: by 2002:a17:907:3e07:b0:774:53ba:6b27 with SMTP id hp7-20020a1709073e0700b0077453ba6b27mr14975526ejc.286.1663657582823; Tue, 20 Sep 2022 00:06:22 -0700 (PDT) MIME-Version: 1.0 References: <20220916100445.354452396@linuxfoundation.org> In-Reply-To: From: Bartosz Golaszewski Date: Tue, 20 Sep 2022 09:06:11 +0200 Message-ID: Subject: Re: [PATCH 5.10 00/24] 5.10.144-rc1 review To: Naresh Kamboju Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@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, slade@sladewatkins.com, William Breathitt Gray , Wei Yongjun , Linus Walleij , "open list:GPIO SUBSYSTEM" , Anders Roxell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Sat, Sep 17, 2022 at 6:09 PM Naresh Kamboju wrote: > > On Fri, 16 Sept 2022 at 15:41, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.10.144 release. > > There are 24 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > > let me know. > > > > Responses should be made by Sun, 18 Sep 2022 10:04:31 +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/v5.x/stable-review/patch-5.10.144-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-5.10.y > > and the diffstat can be found below. > > > > thanks, > > > > greg k-h > > Results from Linaro's test farm. > Regressions on x86_64 while running libgpiod tests. > > Regressions on x86_64 while running libgpiod tests. > This reported regression also noticed on mainline, stable-rc 5.19, > stable-rc 5.15 and stable-rc 5.10 branches > > I have not bisected this reported crash yet. > > Reported-by: Linux Kernel Functional Testing > > + cd ./automated/linux/gpiod > + ./gpiod.sh /opt/libgpiod/bin/ > [INFO] libgpiod test suite > [INFO] 117 tests registered > [INFO] checking the linux kernel version > [INFO] kernel release is v5.10.144 - ok to run tests > [INFO] using gpio-tools from '/usr/bin' > [ 10.900672] BUG: kernel NULL pointer dereference, address: 00000000000000a0 > [ 10.901452] #PF: supervisor write access in kernel mode > [ 10.901452] #PF: error_code(0x0002) - not-present page > [ 10.901452] PGD 108545067 P4D 108545067 PUD 108544067 PMD 0 > [ 10.901452] Oops: 0002 [#1] SMP NOPTI > [ 10.901452] CPU: 1 PID: 479 Comm: gpiod-test Not tainted 5.10.144-rc1 #1 > [ 10.901452] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), > BIOS 1.12.0-1 04/01/2014 > [ 10.901452] RIP: 0010:down_write+0x1a/0x60 > [ 10.901452] Code: 00 31 c0 eb dd e8 76 9e ff ff cc cc cc cc cc cc > 0f 1f 44 00 00 55 48 89 e5 41 54 49 89 fc e8 4d d9 ff ff 31 c0 ba 01 > 00 00 00 49 0f b1 14 24 75 18 65 48 8b 04 25 80 ad 01 00 49 89 44 > 24 08 > [ 10.901452] RSP: 0018:ffffaf1f005abd08 EFLAGS: 00010246 > [ 10.901452] RAX: 0000000000000000 RBX: ffffa38c448f6a80 RCX: ffffff8100000000 > [ 10.901452] RDX: 0000000000000001 RSI: ffffff8100000000 RDI: 00000000000000a0 > [ 10.901452] RBP: ffffaf1f005abd10 R08: 0000000000000286 R09: ffffa38c448f6ad8 > [ 10.901452] R10: 000000000000003e R11: ffffa38c44a4dea8 R12: 00000000000000a0 > [ 10.901452] R13: ffffaf1f005abdb0 R14: 00000000000000a0 R15: ffffa38c44530c40 > [ 10.901452] FS: 00007fbd204f7740(0000) GS:ffffa38c7bc80000(0000) > knlGS:0000000000000000 > [ 10.901452] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 10.901452] CR2: 00000000000000a0 CR3: 0000000108490000 CR4: 00000000003506e0 > [ 10.901452] Call Trace: > [ 10.901452] simple_recursive_removal+0x55/0x2b0 > [ 10.901452] ? debugfs_rename+0x2e0/0x2e0 > [ 10.901452] debugfs_remove+0x45/0x70 > [ 10.901452] gpio_mockup_debugfs_cleanup+0x15/0x20 [gpio_mockup] > [ 10.901452] devm_action_release+0x15/0x20 > [ 10.901452] release_nodes+0x1bd/0x210 > [ 10.901452] devres_release_all+0x3f/0x60 > [ 10.901452] __device_release_driver+0x195/0x260 > [ 10.901452] driver_detach+0xce/0x110 > [ 10.901452] bus_remove_driver+0x5c/0xe0 > [ 10.901452] driver_unregister+0x31/0x60 > [ 10.901452] platform_driver_unregister+0x12/0x20 > [ 10.901452] gpio_mockup_exit+0x1c/0x4c4 [gpio_mockup] > [ 10.901452] __do_sys_delete_module+0x1b2/0x290 > [ 10.901452] ? syscall_trace_enter.constprop.0+0x13c/0x1b0 > [ 10.901452] __x64_sys_delete_module+0x18/0x20 > [ 10.901452] do_syscall_64+0x38/0x50 > [ 10.901452] entry_SYSCALL_64_after_hwframe+0x61/0xc6 > [ 10.901452] RIP: 0033:0x7fbd2069c95b > [ 10.901452] Code: 73 01 c3 48 8b 0d c5 34 0e 00 f7 d8 64 89 01 48 > 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 > 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 34 0e 00 f7 d8 64 89 > 01 48 > [ 10.901452] RSP: 002b:00007ffdfa2d9348 EFLAGS: 00000206 ORIG_RAX: > 00000000000000b0 > [ 10.901452] RAX: ffffffffffffffda RBX: 00000000022af370 RCX: 00007fbd2069c95b > [ 10.939140] RDX: 00000000022ad8b7 RSI: 0000000000000800 RDI: 00000000022af938 > [ 10.939140] RBP: 00000000022af370 R08: 0000000000000007 R09: 00000000022b75c0 > [ 10.939140] R10: 00007fbd205a6b88 R11: 0000000000000206 R12: 00000000022af420 > [ 10.939140] R13: 00007fbd20743b00 R14: 0000000000418df8 R15: 00007fbd207dc000 > [ 10.939140] Modules linked in: gpio_mockup(-) > [ 10.939140] CR2: 00000000000000a0 > [ 10.939140] ---[ end trace e891f796dd2f311d ]--- > [ 10.939140] RIP: 0010:down_write+0x1a/0x60 > [ 10.939140] Code: 00 31 c0 eb dd e8 76 9e ff ff cc cc cc cc cc cc > 0f 1f 44 00 00 55 48 89 e5 41 54 49 89 fc e8 4d d9 ff ff 31 c0 ba 01 > 00 00 00 49 0f b1 14 24 75 18 65 48 8b 04 25 80 ad 01 00 49 89 44 > 24 08 > [ 10.939140] RSP: 0018:ffffaf1f005abd08 EFLAGS: 00010246 > [ 10.939140] RAX: 0000000000000000 RBX: ffffa38c448f6a80 RCX: ffffff8100000000 > [ 10.939140] RDX: 0000000000000001 RSI: ffffff8100000000 RDI: 00000000000000a0 > [ 10.939140] RBP: ffffaf1f005abd10 R08: 0000000000000286 R09: ffffa38c448f6ad8 > [ 10.939140] R10: 000000000000003e R11: ffffa38c44a4dea8 R12: 00000000000000a0 > [ 10.939140] R13: ffffaf1f005abdb0 R14: 00000000000000a0 R15: ffffa38c44530c40 > [ 10.939140] FS: 00007fbd204f7740(0000) GS:ffffa38c7bc80000(0000) > knlGS:0000000000000000 > [ 10.939140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 10.939140] CR2: 00000000000000a0 CR3: 0000000108490000 CR4: 00000000003506e0 > + ../../utils/send-to-lava.sh result.txt This is caused by commit 303e6da99429 ("gpio: mockup: remove gpio debugfs when remove device"). I'm looking into it. Bart > > https://lkft.validation.linaro.org/scheduler/job/5547188#L992 > https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.143-25-g02c4837d98bf/testrun/11952159/suite/log-parser-test/tests/ > https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.143-25-g02c4837d98bf/testrun/11954093/suite/log-parser-test/tests/ > > > ## Build > * kernel: 5.10.144-rc1 > * git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc > * git branch: linux-5.10.y > * git commit: 02c4837d98bf509b70afb8368175c489a5ba7b4a > * git describe: v5.10.143-25-g02c4837d98bf > * test details: > https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.143-25-g02c4837d98bf > > ## Test Regressions (compared to v5.10.143) > - Kernel BUG while running libgpiod on x86_64. > > ## No metric Regressions (compared to v5.10.143) > > ## No test Fixes (compared to v5.10.143) > > ## No metric Fixes (compared to v5.10.143) > > > ## Test result summary > total: 102380, pass: 89955, fail: 750, skip: 11365, xfail: 310 > > ## Build Summary > * arc: 10 total, 10 passed, 0 failed > * arm: 333 total, 333 passed, 0 failed > * arm64: 65 total, 63 passed, 2 failed > * i386: 56 total, 53 passed, 3 failed > * mips: 56 total, 56 passed, 0 failed > * parisc: 12 total, 12 passed, 0 failed > * powerpc: 60 total, 55 passed, 5 failed > * riscv: 27 total, 27 passed, 0 failed > * s390: 24 total, 24 passed, 0 failed > * sh: 24 total, 24 passed, 0 failed > * sparc: 12 total, 12 passed, 0 failed > * x86_64: 59 total, 56 passed, 3 failed > > ## Test suites summary > * fwts > * igt-gpu-tools > * kunit > * kvm-unit-tests > * libhugetlbfs > * log-parser-boot > * log-parser-test > * ltp-cap_bounds > * ltp-commands > * ltp-containers > * ltp-controllers > * ltp-cpuhotplug > * ltp-crypto > * ltp-cve > * ltp-dio > * ltp-fcntl-locktests > * ltp-filecaps > * ltp-fs > * ltp-fs_bind > * ltp-fs_perms_simple > * ltp-fsx > * ltp-hugetlb > * ltp-io > * ltp-ipc > * ltp-math > * ltp-mm > * ltp-nptl > * ltp-open-posix-tests > * ltp-pty > * ltp-sched > * ltp-securebits > * ltp-syscalls > * ltp-tracing > * network-basic-tests > * packetdrill > * rcutorture > * v4l2-compliance > * vdso > > -- > Linaro LKFT > https://lkft.linaro.org