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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54158C6379F for ; Tue, 14 Feb 2023 19:57:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbjBNT5U (ORCPT ); Tue, 14 Feb 2023 14:57:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbjBNT5N (ORCPT ); Tue, 14 Feb 2023 14:57:13 -0500 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAA8A2C64F; Tue, 14 Feb 2023 11:57:08 -0800 (PST) Received: by mail-ot1-x335.google.com with SMTP id 14-20020a9d010e000000b0068bdddfa263so5015252otu.2; Tue, 14 Feb 2023 11:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=2bW+1iqk1bKnhbfXdNIhQ8ggCssPg5/413Xw00TVCko=; b=OTGdts1XGOH9OMGIG0JQO4M6YHxwjIALuJEWav5NX7fM4Q2LIU6KyLmjhaWCnER1uT sK4tEzz2b3mC1w+SsNknrx13jwyUFw/YG64EQuG9rcGpIx9kWKM1YQmBrr/E79XFFZ0B 5QEg1MCPqXMUxUfhSpP/whpOJ5vKAWoelodW3FmiRE09QZeInFzxse3jj93VQ6gfdQpa ZYBRd7jyAE/SmRNrt/648o71M+J9Oeb4vjfZPIPJINz9qwz24aT2Zw9mnijLp0vpbOij VGLoRDMnXGLhThdU15alAql7MwAONRL6TF3llMpqwRNmGPQsy4mdsTPdqP7PmT2U7B+5 b37g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2bW+1iqk1bKnhbfXdNIhQ8ggCssPg5/413Xw00TVCko=; b=AnsFa+TC4GpjtaLpGisx5ovZAwh0iyHJmGrocavqKfHCL3CchzCD9egKA8wcJapvO4 C3zrAc+2XMY0xjMjG2R4Uh34YSsFrGaKu5UZHOYSKhc2YrJFFN1ikbakzaHL455sJVL3 ef1HNdULuF5RAVU2hdVvXGlAHoJ0lWE3D+UojBNMaKbP0FiXTC5OVomYqBPSNx1jcWRQ JQq1V7jxEWPWOeptppwAIEiFbvQLWnyB0X9A7ZBlriRf34srCxe3fNGd7td1y/6fvREv HciPgQ05Er4ZFMC8LHTfL0QccwPEV7K3L7NI8qRwAO+ug5LjXqOizw1AcWwQOsMCgEye bD9A== X-Gm-Message-State: AO0yUKVZmdl4yz8ObJUEDm+/moayFQdrUhx92jWcCKgCurejxJQxGGU1 3qgvHLl3O+FhKVnP6GNt+es= X-Google-Smtp-Source: AK7set8GxgfnzIVu/qXuuZ+9AklxmtUUOjwLxWRQeWnQP/bWr/jqh9M1dnqDMAmQuOxgH+Z1Rtxx9Q== X-Received: by 2002:a05:6830:181:b0:68b:dd5a:d99b with SMTP id q1-20020a056830018100b0068bdd5ad99bmr1599639ota.31.1676404628142; Tue, 14 Feb 2023 11:57:08 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d9-20020a056830044900b0068be372babfsm6921678otc.47.2023.02.14.11.57.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Feb 2023 11:57:07 -0800 (PST) Sender: Guenter Roeck Message-ID: <7352502a-37a0-6813-7c06-dce1cea1bfd7@roeck-us.net> Date: Tue, 14 Feb 2023 11:57:04 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 5.10 000/139] 5.10.168-rc1 review Content-Language: en-US To: Salvatore Bonaccorso , 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, 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 References: <20230213144745.696901179@linuxfoundation.org> From: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/14/23 11:45, Salvatore Bonaccorso wrote: > Hi Greg, > > On Mon, Feb 13, 2023 at 03:49:05PM +0100, Greg Kroah-Hartman wrote: >> This is the start of the stable review cycle for the 5.10.168 release. >> There are 139 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 Wed, 15 Feb 2023 14:46:51 +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.168-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. > > Not pinpointed the exact cause, but booting 5.10.168-rc1 here on a > x86_64 system: > > [ 0.853375] rtc_cmos 00:03: RTC can wake from S4 > [ 0.854150] rtc_cmos 00:03: registered as rtc0 > [ 0.854694] rtc_cmos 00:03: setting system clock to 2023-02-14T19:44:16 UTC (1676403856) > [ 0.855555] list_add double add: new=ffff90df87f15810, prev=ffff90df87f15810, next=ffff90df80145420. > [ 0.856513] ------------[ cut here ]------------ > [ 0.857023] kernel BUG at lib/list_debug.c:33! > [ 0.857519] invalid opcode: 0000 [#1] SMP NOPTI > [ 0.858024] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.168-rc1+ #1 > [ 0.858713] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 > [ 0.859562] RIP: 0010:__list_add_valid.cold+0x23/0x5b > [ 0.860112] Code: 01 00 e9 5c c9 bb ff 48 c7 c7 e8 35 52 ac e8 94 10 ff ff 0f 0b 48 89 f2 4c 89 c1 48 89 fe 48 c7 c7 e8 36 52 ac e8 7d 10 ff ff <0f> 0b 48 89 d1 4c 89 c6 4c 89 ca 48 c7 c7 90 36 52 ac e8 66 10 ff > [ 0.860502] RSP: 0018:ffffa8db40013a78 EFLAGS: 00010246 > [ 0.860502] RAX: 0000000000000058 RBX: ffff90dfefaf4c00 RCX: ffffffffac8b3648 > [ 0.860502] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 0000000000000246 > [ 0.860502] RBP: ffff90df87f15808 R08: 0000000000000000 R09: ffffa8db400138a0 > [ 0.860502] R10: ffffa8db40013898 R11: ffffffffac8cb688 R12: ffff90df80145420 > [ 0.860502] R13: ffff90df87f15810 R14: ffff90df87f15810 R15: 0000000000000000 > [ 0.860502] FS: 0000000000000000(0000) GS:ffff90dffbc00000(0000) knlGS:0000000000000000 > [ 0.860502] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 0.860502] CR2: 0000000000000000 CR3: 000000016ee0a000 CR4: 0000000000350ef0 > [ 0.860502] Call Trace: > [ 0.860502] kobject_add_internal+0x7e/0x2d0 > [ 0.860502] ? rpm_idle+0x1d/0x310 > [ 0.860502] kobject_add+0x7e/0xb0 > [ 0.860502] ? _cond_resched+0x16/0x50 > [ 0.860502] device_add+0x118/0x840 > [ 0.860502] nvmem_register+0x547/0x720 > [ 0.860502] ? nvmem_unregister+0x40/0x40 > [ 0.860502] devm_nvmem_register+0x3b/0x80 > [ 0.860502] rtc_nvmem_register+0x33/0xe0 > [ 0.860502] cmos_do_probe+0x3cc/0x5d0 > [ 0.860502] ? cmos_validate_alarm+0x1c0/0x1c0 > [ 0.860502] ? rtc_handler+0xd0/0xd0 > [ 0.860502] ? cmos_do_probe+0x5d0/0x5d0 > [ 0.860502] pnp_device_probe+0xb3/0x150 > [ 0.860502] really_probe+0x222/0x480 > [ 0.860502] driver_probe_device+0xe5/0x150 > [ 0.860502] device_driver_attach+0xa9/0xb0 > [ 0.860502] __driver_attach+0xa7/0x150 > [ 0.860502] ? device_driver_attach+0xb0/0xb0 > [ 0.860502] bus_for_each_dev+0x78/0xc0 > [ 0.860502] bus_add_driver+0x13a/0x200 > [ 0.860502] driver_register+0x8b/0xe0 > [ 0.860502] ? rtc_dev_init+0x34/0x34 > [ 0.860502] cmos_init+0x13/0x74 > [ 0.860502] do_one_initcall+0x44/0x1d0 > [ 0.860502] kernel_init_freeable+0x21e/0x280 > [ 0.860502] ? rest_init+0xb4/0xb4 > [ 0.860502] kernel_init+0xa/0x10c > [ 0.860502] ret_from_fork+0x22/0x30 > [ 0.860502] Modules linked in: > [ 0.881782] ---[ end trace 15ab58632cc3d5c4 ]--- > [ 0.882291] RIP: 0010:__list_add_valid.cold+0x23/0x5b > [ 0.882839] Code: 01 00 e9 5c c9 bb ff 48 c7 c7 e8 35 52 ac e8 94 10 ff ff 0f 0b 48 89 f2 4c 89 c1 48 89 fe 48 c7 c7 e8 36 52 ac e8 7d 10 ff ff <0f> 0b 48 89 d1 4c 89 c6 4c 89 ca 48 c7 c7 90 36 52 ac e8 66 10 ff > [ 0.884708] RSP: 0018:ffffa8db40013a78 EFLAGS: 00010246 > [ 0.885274] RAX: 0000000000000058 RBX: ffff90dfefaf4c00 RCX: ffffffffac8b3648 > [ 0.886021] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 0000000000000246 > [ 0.886767] RBP: ffff90df87f15808 R08: 0000000000000000 R09: ffffa8db400138a0 > [ 0.887518] R10: ffffa8db40013898 R11: ffffffffac8cb688 R12: ffff90df80145420 > [ 0.888266] R13: ffff90df87f15810 R14: ffff90df87f15810 R15: 0000000000000000 > [ 0.889454] FS: 0000000000000000(0000) GS:ffff90dffbc00000(0000) knlGS:0000000000000000 > [ 0.890295] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 0.890916] CR2: 0000000000000000 CR3: 000000016ee0a000 CR4: 0000000000350ef0 > [ 0.891670] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b > [ 0.892493] Kernel Offset: 0x2a400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) > [ 0.893451] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]--- > This is caused by the bad nvmem patch in -rc1. -rc2 has the fix. Guenter