Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp609472rda; Sun, 22 Oct 2023 01:58:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYIM3vR8FD/JFVnvKoN4yZLGU5vvaVkxb2nhHbG3pgb5u5dLG3NUjXKsnW+1FkdB/27LVp X-Received: by 2002:a05:6830:25c3:b0:6bd:7252:9db1 with SMTP id d3-20020a05683025c300b006bd72529db1mr11011258otu.11.1697965107880; Sun, 22 Oct 2023 01:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697965107; cv=none; d=google.com; s=arc-20160816; b=YrCOGxOR0JyYjZoC3JXauG+o6tiY9uzu0BrHaEkSdr+9OpsNefpmnS+6pz5F5Qx1kY Ge3MIypcjUJ0GnIzW2pl/mASc00wSRrZBjxM1k5Zmq7Yuufd4mSDsMxdi4Wu21Eq6UrS jV3yBU+kaQ9CPYIG8IoDOuySZkffsDYJty0zxkhWO1ppjpFZsKu8/AzYfEj2j9qXODjO U2z2EvE9hFBT29ae2tskD61q6sLJYDFhhc7YD3/PI+N0AsFMYAskJdgEehT4HgCCiZmm DeDX2uBczBuxK6jDnSg9qL7se8ZR6ijZEPuPn2BxXgc79gymP6wCC6aAszkW2W3aNPzx RsOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:subject:to:from:date:dkim-signature; bh=NDDfuZPbOSAKBl6hcVwtkQhtuDGFZz9ZOzG9hEJwVhI=; fh=qW0phhq3fb3oiohK/Mu9j1KY1zyRNiiioKFc5anvatM=; b=iWCSNrTQXEE6oyptrQ6rAYuww/9yd3ffqIKKXbH/l3ON1wp3hVa1Nw0K0qoA6Urg1F Igp+OH2LjCmXm/7i5UIDO0uN8ndv/9bdri4pBeQmeOAB2T8h3pNV1chrLIZii5j/xDhu Fi07gqPCYHu6LcEkkMB6LZBRi7AUME1CdYUOy85n0Ae5zmTKLVRlvXyYDDmYrB+1MLK/ WWl3CB51hkOziNNCtgqQn1zvv4WIKeopEcgV1gmf0SrKMKtxozkN48F/1CPqt2XWsvC1 Cjjs/aT2BW2gsKyzJz7EnY9fgdPZirv81Fm63jzixZ0n+TZFuRdaCZ9kYbhLzC+ikpPX mqOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=rDgIfqZS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id q21-20020a638c55000000b005aab3984970si4823260pgn.19.2023.10.22.01.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 01:58:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=rDgIfqZS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 03F9E8096BB7; Sun, 22 Oct 2023 01:58:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbjJVI6O (ORCPT + 52 others); Sun, 22 Oct 2023 04:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjJVI6O (ORCPT ); Sun, 22 Oct 2023 04:58:14 -0400 Received: from mout.web.de (mout.web.de [212.227.15.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07AC7F4 for ; Sun, 22 Oct 2023 01:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1697965088; x=1698569888; i=jwollrath@web.de; bh=S6km8YIhENyXRJN7imLF4N/ccLQEeE9D4UB280cKzSU=; h=X-UI-Sender-Class:Date:From:To:Subject; b=rDgIfqZSiXZ30nMcH3KX03x0ZjBe6nvqEYkB3RVvUZxMj/npMD0PrKwzdh/grH3M Tb3iUYjCqXZrka96wM13kprfrLBXnQNloE3hq5Uz3I1bgknywtGzbI8Uh4fooDuSN OjfKUZ3YcPExQPtyj1583biTDFl0HkGqGa/Z2qIe+gKwmfkPuaY1kRRI/K9Qibn1A OaXnfvP3Kiw60SPbXCIeb08jS9/8BwX/HCT7vLkb+Za1tVM89jJafriS5b2K3PvuG Dm7f4UdsPOyw6nBFLLIOxrxBEzbW3s461ppJnvThQC0oiIMOlsqFjswZHzitDW+sU /OQizIree/xIQa7qPA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from mayene ([178.196.174.8]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MsrdM-1rnHrc2W1Q-00tCGZ for ; Sun, 22 Oct 2023 10:58:08 +0200 Date: Sun, 22 Oct 2023 10:58:07 +0200 From: Julian Wollrath To: linux-wireless@vger.kernel.org Subject: v6.6-rc6+: ath11k not available after hibernation with trace Message-ID: <20231022105807.5a210fe9@mayene> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:9HKeArEUsVL25SoRfXm8uOuk6ee5QSJ27eIyR2C5TbQS7CxI41z eqbwklZX3FS/T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/SN0oaaz2B8y itw27c2p0kh42il4h0Ws5nVFaeB0i/rllExDHe4T0QBJ2lcRRq16dTpJb+ZyFJRngO6ORlo9y KCf9SQ== X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 22 Oct 2023 01:58:25 -0700 (PDT) Dear maintainers, on v6.6-rc6+ (git commit 9c5d00cb7b6b) the QCNFA765 (17cb:1103) adapter does not work after resuming from hibernation to disk. I see the following in the kernel log: mhi mhi0: Did not enter M0 state, MHI state: M3, PM state: M3->M0 ath11k_pci 0000:02:00.0: failed to resume mhi: -5 ath11k_pci 0000:02:00.0: failed to resume hif during resume: -5 ath11k_pci 0000:02:00.0: failed to resume core: -5 ath11k_pci 0000:02:00.0: PM: dpm_run_callback(): pci_pm_restore+0x0/0xe0 r= eturns -5 ath11k_pci 0000:02:00.0: PM: failed to restore async: error -5 ath11k_pci 0000:02:00.0: wmi command 16387 timeout ath11k_pci 0000:02:00.0: failed to send WMI_PDEV_SET_PARAM cmd ath11k_pci 0000:02:00.0: failed to enable dynamic bw: -11 =2D-----------[ cut here ]------------ Hardware became unavailable upon resume. This could be a software issue pr= ior to suspend or a hardware issue. WARNING: CPU: 10 PID: 91402 at net/mac80211/util.c:2568 ieee80211_reconfig= +0x9c/0x17f0 [mac80211] CPU: 10 PID: 91402 Comm: kworker/u32:48 Not tainted 6.6.0-rc6+ #7 Hardware name: LENOVO 21K4S07400/21K4S07400, BIOS R2FET31W (1.11 ) 08/03/2= 023 Workqueue: events_unbound async_run_entry_fn RIP: 0010:ieee80211_reconfig+0x9c/0x17f0 [mac80211] Code: ad 02 00 00 c6 85 8d 05 00 00 00 48 89 ef e8 9b ae fb ff 41 89 c5 85= c0 0f 84 bc 02 00 00 48 c7 c7 e0 cb 21 c1 e8 24 f1 cd c4 <0f> 0b eb 2d 84= c0 0f 85 56 01 00 00 c6 87 8d 05 00 00 00 e8 6c ae RSP: 0018:ffffb298c9f57cc8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffa0d9b9120538 RCX: 0000000000000027 RDX: ffffa0e0bee9b3c8 RSI: 0000000000000001 RDI: ffffa0e0bee9b3c0 RBP: ffffa0d9b91208e0 R08: ffffffff86f73de0 R09: 0a2e657573736920 R10: 646e657073757320 R11: 6168206120726f20 R12: 0000000000000040 R13: 00000000fffffff5 R14: 0000000000000000 R15: ffffa0d9800514b0 FS: 0000000000000000(0000) GS:ffffa0e0bee80000(0000) knlGS:00000000000000= 00 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000623210000 CR4: 0000000000750ee0 PKRU: 55555554 Call Trace: ? ieee80211_reconfig+0x9c/0x17f0 [mac80211] ? __warn+0x81/0x130 ? ieee80211_reconfig+0x9c/0x17f0 [mac80211] ? report_bug+0x171/0x1a0 ? handle_bug+0x3a/0x70 ? exc_invalid_op+0x17/0x70 ? asm_exc_invalid_op+0x1a/0x20 ? ieee80211_reconfig+0x9c/0x17f0 [mac80211] ? ieee80211_reconfig+0x9c/0x17f0 [mac80211] ? srso_alias_return_thunk+0x5/0x7f ? schedule+0x5b/0xa0 ? srso_alias_return_thunk+0x5/0x7f ? srso_alias_return_thunk+0x5/0x7f ? schedule_timeout+0x151/0x160 ? srso_alias_return_thunk+0x5/0x7f wiphy_resume+0x82/0x1b0 [cfg80211] ? wiphy_suspend+0x2c0/0x2c0 [cfg80211] dpm_run_callback+0x89/0x1e0 device_resume+0xa2/0x1f0 async_resume+0x1e/0x60 async_run_entry_fn+0x2f/0x120 process_one_work+0x165/0x330 worker_thread+0x2f5/0x410 ? rcu_work_rcufn+0x80/0x80 kthread+0xe5/0x120 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x31/0x50 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork_asm+0x11/0x20 =2D--[ end trace 0000000000000000 ]--- =2D-----------[ cut here ]------------ WARNING: CPU: 10 PID: 91402 at net/mac80211/driver-ops.c:39 drv_stop+0xf0/= 0x100 [mac80211] CPU: 10 PID: 91402 Comm: kworker/u32:48 Tainted: G W 6.6.0= -rc6+ #7 Hardware name: LENOVO 21K4S07400/21K4S07400, BIOS R2FET31W (1.11 ) 08/03/2= 023 Workqueue: events_unbound async_run_entry_fn RIP: 0010:drv_stop+0xf0/0x100 [mac80211] Code: 0a 00 48 85 c0 74 0c 48 8b 78 08 48 89 de e8 d7 dd 04 00 65 ff 0d a8= f5 ed 3e 0f 85 39 ff ff ff e8 d5 6f cb c4 e9 2f ff ff ff <0f> 0b e9 09 ce= 5d c5 66 0f 1f 84 00 00 00 00 00 66 0f 1f 00 0f 1f RSP: 0018:ffffb298c9f57c40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffa0d983018940 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000286 RDI: ffffa0d9b91208e0 RBP: ffffa0d9b9121b18 R08: ffffffff86f1d430 R09: ffffffff86f1d430 R10: 0000000000000001 R11: 0000000000000000 R12: ffffa0d9b91208e0 R13: ffffa0d983019980 R14: ffffa0d9b91211e8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffffa0e0bee80000(0000) knlGS:00000000000000= 00 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000623210000 CR4: 0000000000750ee0 PKRU: 55555554 Call Trace: ? drv_stop+0xf0/0x100 [mac80211] ? __warn+0x81/0x130 ? drv_stop+0xf0/0x100 [mac80211] ? report_bug+0x171/0x1a0 ? handle_bug+0x3a/0x70 ? exc_invalid_op+0x17/0x70 ? asm_exc_invalid_op+0x1a/0x20 ? drv_stop+0xf0/0x100 [mac80211] ieee80211_do_stop+0x5ca/0x880 [mac80211] ieee80211_stop+0x4d/0x180 [mac80211] __dev_close_many+0x96/0x110 dev_close_many+0x7f/0x130 dev_close+0x61/0x80 cfg80211_shutdown_all_interfaces+0x4d/0xf0 [cfg80211] wiphy_resume+0xc1/0x1b0 [cfg80211] ? wiphy_suspend+0x2c0/0x2c0 [cfg80211] dpm_run_callback+0x89/0x1e0 device_resume+0xa2/0x1f0 async_resume+0x1e/0x60 async_run_entry_fn+0x2f/0x120 process_one_work+0x165/0x330 worker_thread+0x2f5/0x410 ? rcu_work_rcufn+0x80/0x80 kthread+0xe5/0x120 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x31/0x50 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork_asm+0x11/0x20 =2D--[ end trace 0000000000000000 ]--- ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume+0x0/0x1b0 [cfg80211] = returns -11 ieee80211 phy0: PM: failed to restore async: error -11 Best regards, Julian =2D- () ascii ribbon campaign - against html e-mail /\ - against proprietary attachments