Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp737280iol; Sat, 11 Jun 2022 17:31:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyaPYSathbLJdVPI0YqOVYitHH9M95fUJ6vpKbmequ4DgS6O0YcrfADPg7ITJJyKDcemd9 X-Received: by 2002:a05:6a00:1146:b0:4c9:ede0:725a with SMTP id b6-20020a056a00114600b004c9ede0725amr53080534pfm.35.1654993873682; Sat, 11 Jun 2022 17:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654993873; cv=none; d=google.com; s=arc-20160816; b=pZh1WRjvwB8a8rJva1WvL2L2N8Ao123zQ9la3LhR3NvgNhRWr44erEtwU3VJQ+V7SD WpJgl5hxR2QShl9hqOjLdfhWo3n5SGzJxdkgZiaBKc44vdJSvd32UCNhtzFvsB0VKuNR csTq6byX0VuAiCKGT43kLuImYf/yvHTeHCcxQJmZ8XQkC/FBmuZKzSEU7x4kyShMhmO9 jueJPwTT63oYXNe5MWxnjUPbh824Gvx5sHXNK1HxQCEVWhSvFlAoibPqnLQ26yJzG80R z3iSdmtKmD1cusWxVf6j9aVCO4pkLwMfDJ71EpwR5SYh0D0z+n7/MQ2Y9fcDdZovAmtZ AoFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=P2w4X5KgIZKL08LXAw/UHBS0bTCAsiO237cPTnD3Hko=; b=f1cyafoBvEKw7aoSqJY3lncCiF96rRtG4T5ext03Lb1hPeGSFmLtK2LCSeutPHp86k bYJRQJrxX2837XalDFYuHhbhdyvEkLRJ3iI0W7sT0esI1/zQePIkM3Ypt1x+Y9iCAzJj U2UzB9F3qN8fDL8aC798diLBIE8/AKQfwab1IlU9ewaFrqmQiyhffsL6pbi50mzxZnUo bMK4zN6XLQpRCe8ac8FHcToaH1EhbflsOGyFvinT/wOrG/4vQOHI+NgfzNICyPZw4LKH WgjE5AHVhJKTTAlFTYFJOQKbc99TVhYP7T/QuqGbR2kpDtEmt0ye0tlAXu0ghbK5nCRN SLAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=QeF5FRKg; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k14-20020a056a00168e00b0051c70370a2asi4152364pfc.239.2022.06.11.17.30.52; Sat, 11 Jun 2022 17:31:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@protonmail.com header.s=protonmail3 header.b=QeF5FRKg; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232140AbiFKVV4 (ORCPT + 65 others); Sat, 11 Jun 2022 17:21:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232134AbiFKVVz (ORCPT ); Sat, 11 Jun 2022 17:21:55 -0400 X-Greylist: delayed 21544 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 11 Jun 2022 14:21:55 PDT Received: from mail-4324.protonmail.ch (mail-4324.protonmail.ch [185.70.43.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0921F56392 for ; Sat, 11 Jun 2022 14:21:54 -0700 (PDT) Date: Sat, 11 Jun 2022 21:21:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654982512; x=1655241712; bh=P2w4X5KgIZKL08LXAw/UHBS0bTCAsiO237cPTnD3Hko=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=QeF5FRKgIFRiqL4WsDpfKVPt2IdHs60KghwVI2xuZPiX6PbVjLiPy4RJ0qZ8GgQej 3eCpJqBJMH5A9TeO4pAFrCxPfUiUKCSy9r8CmojDuyDiT29zWk6BPsbfOmhFCuBo+Q foTp7jN7S2nfpSpEcuqVcCDEMPwhlesBkUzU5YhABLqPYdZjXlY/lWH58/GJTd/iJs 5jzEQDlsQHyC61ZHB7mRvWUafBStd5Tr5dXqM051iyVX+kOjIcdvpMR2zVH0kEuCvQ u5JuBMH+bedGs3Q/UoaQ5cLUm3Ai8vhhUpBL5QAXyFmxiE24d8zPMoV7pyzGzpaIko V5hIrHCwgKgoA== To: Larry Finger From: rtl8821cerfe2 Cc: "linux-wireless@vger.kernel.org" Reply-To: rtl8821cerfe2 Subject: Re: rtw88: 8821CE: WARNING firmware failed to ack driver for leaving Deep Power mode Message-ID: In-Reply-To: <1f0afd0a-86a4-f676-11c7-458d55e3ac90@lwfinger.net> References: <1f0afd0a-86a4-f676-11c7-458d55e3ac90@lwfinger.net> Feedback-ID: 34463299:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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-wireless@vger.kernel.org On Saturday, June 11th, 2022 at 7:46 PM, Larry Finger wrote: > On 6/11/22 10:22, rtl8821cerfe2 wrote: > > > Hi! > > > > I saw this warning today: > > > > Jun 11 15:43:38 home kernel: ------------[ cut here ]------------ > > Jun 11 15:43:38 home kernel: firmware failed to ack driver for leaving = Deep Power mode > > Jun 11 15:43:38 home kernel: WARNING: CPU: 3 PID: 66361 at drivers/net/= wireless/realtek/rtw88/ps.c:104 rtw_power_mode_change+0x107/0x120 [rtw88_co= re] > > Jun 11 15:43:38 home kernel: Modules linked in: ccm snd_seq_dummy snd_h= rtimer snd_seq snd_seq_device rfcomm snd_soc_skl snd_soc_hdac_hda snd_hda_e= xt_core snd_hda_codec_hdmi snd_soc_sst_ipc intel_tcc_cooling snd_soc_sst_ds= p x86_pkg_temp_thermal snd_soc_acpi_intel_match snd_soc_acpi intel_powercla= mp snd_soc_core coretemp snd_compress snd_hda_codec_realtek kvm_intel ac97_= bus snd_hda_codec_generic ledtrig_audio snd_pcm_dmaengine kvm snd_hda_intel= snd_intel_dspcfg irqbypass cmac snd_intel_sdw_acpi crct10dif_pclmul algif_= hash rtw88_8821ce iTCO_wdt crc32_pclmul hp_wmi joydev snd_hda_codec algif_s= kcipher rtw88_8821c intel_pmc_bxt af_alg ghash_clmulni_intel mousedev qrtr = aesni_intel bnep crypto_simd ee1004 mei_hdcp cryptd iTCO_vendor_support mei= _pxp intel_wmi_thunderbolt intel_rapl_msr wmi_bmof platform_profile snd_hda= _core rapl rtw88_pci rtw88_core btusb snd_hwdep intel_cstate uvcvideo snd_p= cm btrtl intel_uncore mac80211 pcspkr snd_timer btbcm videobuf2_vmalloc psm= ouse btintel i2c_i801 > > Jun 11 15:43:38 home kernel: processor_thermal_device_pci_legacy snd r8= 169 btmtk libarc4 i915 videobuf2_memops processor_thermal_device i2c_smbus = videobuf2_v4l2 processor_thermal_rfim soundcore realtek mei_me mdio_devres = bluetooth processor_thermal_mbox videobuf2_common cfg80211 libphy ecdh_gene= ric mei drm_buddy processor_thermal_rapl rfkill videodev ttm intel_rapl_com= mon nls_iso8859_1 intel_pch_thermal intel_xhci_usb_role_switch drm_dp_helpe= r int340x_thermal_zone vfat mc roles intel_gtt intel_soc_dts_iosf wmi fat k= xcjk_1013 intel_vbtn industrialio_triggered_buffer sparse_keymap cm32181 kf= ifo_buf video industrialio int3400_thermal acpi_thermal_rel wireless_hotkey= acpi_pad acpi_tad mac_hid dm_multipath dm_mod crypto_user fuse bpf_preload= ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd = libps2 vivaldi_fmap xhci_pci crc32c_intel xhci_pci_renesas i8042 serio > > Jun 11 15:43:38 home kernel: CPU: 3 PID: 66361 Comm: kworker/u8:1 Taint= ed: G W 5.18.0-arch1-1 #1 b71a70fe104889aac2f32556bc52f649da2881d2 > > Jun 11 15:43:38 home kernel: Hardware name: HP HP 250 G7 Notebook PC/84= A6, BIOS F.19 05/06/2019 > > Jun 11 15:43:38 home kernel: Workqueue: phy0 ieee80211_beacon_connectio= n_loss_work [mac80211] > > Jun 11 15:43:38 home kernel: RIP: 0010:rtw_power_mode_change+0x107/0x12= 0 [rtw88_core] > > Jun 11 15:43:38 home kernel: Code: 9f 43 f3 e5 44 30 e0 78 23 45 84 ed = 48 c7 c0 0f b7 0d c1 48 c7 c6 18 b7 0d c1 48 c7 c7 e0 98 0d c1 48 0f 45 f0 = e8 a1 43 c7 e5 <0f> 0b 5b 5d 41 5c 41 5d c3 cc 66 66 2e 0f 1f 84 00 00 00 0= 0 00 0f > > Jun 11 15:43:38 home kernel: RSP: 0018:ffffb7c0c158bd88 EFLAGS: 0001028= 2 > > Jun 11 15:43:38 home kernel: RAX: 0000000000000000 RBX: ffff923e949a20e= 0 RCX: 0000000000000027 > > Jun 11 15:43:38 home kernel: RDX: ffff923fe6da16a8 RSI: 000000000000000= 1 RDI: ffff923fe6da16a0 > > Jun 11 15:43:38 home kernel: RBP: 000025cf57441865 R08: 000000000000000= 0 R09: ffffb7c0c158bb98 > > Jun 11 15:43:38 home kernel: R10: 0000000000000003 R11: ffffffffa7ecaa0= 8 R12: 00000000c05ea080 > > Jun 11 15:43:38 home kernel: R13: 0000000000000000 R14: ffff923ef3fbf3c= 0 R15: 0000000000000010 > > Jun 11 15:43:38 home kernel: FS: 0000000000000000(0000) GS:ffff923fe6d8= 0000(0000) knlGS:0000000000000000 > > Jun 11 15:43:38 home kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080= 050033 > > Jun 11 15:43:38 home kernel: CR2: 00007f662824487c CR3: 000000016a01000= 2 CR4: 00000000003706e0 > > Jun 11 15:43:38 home kernel: Call Trace: > > Jun 11 15:43:38 home kernel: > > Jun 11 15:43:38 home kernel: rtw_pci_deep_ps+0xaa/0xd0 [rtw88_pci 5c347= 3c65c1ef2d2a75611035c99d8c7ddd975f7] > > Jun 11 15:43:38 home kernel: rtw_ops_config+0x42/0x100 [rtw88_core c98e= 023d541cb3d50ab10ce0e14b1134c5e44008] > > Jun 11 15:43:38 home kernel: ieee80211_hw_config+0x201/0x3f0 [mac80211 = 05293841fc04d80013efc49f47d5dec34a8b2f08] > > Jun 11 15:43:38 home kernel: ieee80211_recalc_ps.part.0+0x14e/0x1c0 [ma= c80211 05293841fc04d80013efc49f47d5dec34a8b2f08] > > Jun 11 15:43:38 home kernel: ieee80211_mgd_probe_ap.part.0+0xc2/0x160 [= mac80211 05293841fc04d80013efc49f47d5dec34a8b2f08] > > Jun 11 15:43:38 home kernel: process_one_work+0x1c7/0x380 > > Jun 11 15:43:38 home kernel: worker_thread+0x51/0x380 > > Jun 11 15:43:38 home kernel: ? rescuer_thread+0x3a0/0x3a0 > > Jun 11 15:43:38 home kernel: kthread+0xde/0x110 > > Jun 11 15:43:38 home kernel: ? kthread_complete_and_exit+0x20/0x20 > > Jun 11 15:43:38 home kernel: ret_from_fork+0x22/0x30 > > Jun 11 15:43:38 home kernel: > > Jun 11 15:43:38 home kernel: ---[ end trace 0000000000000000 ]--- > > > > I attached part of journalctl for context. > > > > The laptop is HP 250 G7. > > The RTL8821CE wifi card is RFE 2 type. > > The kernel version is 5.18-arch1-1 from Arch Linux. > > The wifi firmware version is 24.11.0. > > The access point is Fiberhome HG6544C. > > The NetworkManager version is 1.38.0. > > The wpa_supplicant version is 2.10. > > I passed disable_aspm=3D1 to rtw88_pci to avoid the new freezes [0]. > > > > I hope this helps. > > > > [0] https://lore.kernel.org/linux-wireless/Te_PJvJjKCi-lK28Zu0d8VQG0AGd= wTl6cJydYEETLbc3gN0l8liXH1DSOZnKxUHYGxavLBCs1sqos2e6jeiRzzO0RLRSISdWvTiiPp0= v9kM=3D@protonmail.com/ > > > Since deep-power mode is mentioned, have you tried the 'disable_lps_deep= =3Dy' for > rtw88_core? > > Larry I imagine disable_lps_deep=3Dy will stop the warning. I will try it.