Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1962800iog; Sun, 19 Jun 2022 03:40:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sl3Gujc7cUXmWOhbKCR5K8xnOfcIha3p3FiRf69lqG/v+qyJmK6gCv/Cibw/bsIzkj2LOn X-Received: by 2002:a17:907:7747:b0:6f3:ead4:abcb with SMTP id kx7-20020a170907774700b006f3ead4abcbmr16198515ejc.296.1655635253201; Sun, 19 Jun 2022 03:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655635253; cv=none; d=google.com; s=arc-20160816; b=oSss7Fv0pPMKovDqkL/AIsjSbFe7vZV1J4GRFTOKDX9LVB8VFPxNayz/z/x3ibdvEC hGXiEHoSjV0lA3DaWDTKKgzPCixIrKy1eq1De+Hom6/ftop56yMgaOHhJ7K+S9C05yl6 RcQFp/rGXISb11W6aTuJg1bJfiuuKEGCld3IVsojOqxhUllZJC5BoZmRBgWAgMWjtqx5 BDC4X+/o/nqzG3/1CiEKU6NMj9t6FMD6HiR5hB0PSA36SWGUCkocLrKikPgTopumZAXV 862GDCq1CCad/SQsc8pE7Zf3VvIL4l4OWZ0i4RZgTAN91YWxJX0h4R9R1ahcvt994Gd3 RYfg== 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=Uo0r9BusI22jtT5fcMquF9I+sf8mXfQOU8/qkFHJ9Qc=; b=kBU3iptEUGFQq8sdjSJW+FHTr0J1nHqSRkwjBylUW/Slyhbk30WWLET9qoNCj70aQE S0kC3IQfzCLDJk2ZlHF/KAVqpcgD33H3gsgljZh75b33+46Dk41BwQdJsSzf0o/0iNzf wtfVIj6z1G34/37vbRr2fHrHkD1efyAUanOdmZpwXsrfFng4KKLAcfZfQmMWZyYRGw+0 SMXnSR4u3i5VB+PJ27686yu5GQJ+WYFYEiKf4z33R0SWM/xOvXMEMn/jpsSEYFZhrrtF ekOxgEhJAfKMLLtvgRZMH9bmeKMXYk27Os+P11ThCDl7h5i3rodYXmmPSA1HB9Fz28BY LKRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=chNOZytI; 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 s16-20020a056402165000b0043580a9f835si109223edx.494.2022.06.19.03.40.36; Sun, 19 Jun 2022 03:40:53 -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=chNOZytI; 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 S234273AbiFSKkF (ORCPT + 65 others); Sun, 19 Jun 2022 06:40:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbiFSKkE (ORCPT ); Sun, 19 Jun 2022 06:40:04 -0400 Received: from mail-4324.protonmail.ch (mail-4324.protonmail.ch [185.70.43.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0424E101F6 for ; Sun, 19 Jun 2022 03:40:02 -0700 (PDT) Date: Sun, 19 Jun 2022 10:39:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1655635201; x=1655894401; bh=Uo0r9BusI22jtT5fcMquF9I+sf8mXfQOU8/qkFHJ9Qc=; 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=chNOZytIpnnnPRjWR8KswWGCyas9eRRMRfv/asVkIF0FOkUQzNDtQIrOxfO1gXp1Z C0f5hzZl/M9faBhJXGfjx8g6Zq4A92wAFwbsPmplgFuz0Y2sHzaB679F0M7fPFYg/k vyiBrizOr2XcBQ7zdkxYBW3GsxrJxKxDRUFHEiTCOxTXa9SgLWCYKrNUpBIPWV25AO FHqoLessegJbh12m2Yr8ijX8u9PDFMdMxQv65FexFP06Rq7CYN3Yu+V+rESBOCFzdf bz6tVlS7LYt5yp3y0eqe+Bk1vZ35dtYd65Oku8otdrY2BqrAWsxZk3Mn+Dn2edSn2b 51aIkUqAbKCgA== 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: <-74gmtkCiLtE2oAdkR1ehf2xVHnrLR3-zK13GrSsOOrAL4hMsDwAHE8aGSh3DV05f2c3SPhq5rGwulQ5QvGBji1bPOI31drQQ9sUld5jcXM=@protonmail.com> References: <1f0afd0a-86a4-f676-11c7-458d55e3ac90@lwfinger.net> <-74gmtkCiLtE2oAdkR1ehf2xVHnrLR3-zK13GrSsOOrAL4hMsDwAHE8aGSh3DV05f2c3SPhq5rGwulQ5QvGBji1bPOI31drQQ9sUld5jcXM=@protonmail.com> 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 Sunday, June 19th, 2022 at 1:37 PM, rtl8821cerfe2 wrote: > On Sunday, June 12th, 2022 at 12:21 AM, rtl8821cerfe2 rtl8821cerfe2@proto= nmail.com wrote: > > > > > On Saturday, June 11th, 2022 at 7:46 PM, Larry Finger Larry.Finger@lwfi= nger.net 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 leav= ing 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 [rtw8= 8_core] > > > > Jun 11 15:43:38 home kernel: Modules linked in: ccm snd_seq_dummy s= nd_hrtimer snd_seq snd_seq_device rfcomm snd_soc_skl snd_soc_hdac_hda snd_h= da_ext_core snd_hda_codec_hdmi snd_soc_sst_ipc intel_tcc_cooling snd_soc_ss= t_dsp x86_pkg_temp_thermal snd_soc_acpi_intel_match snd_soc_acpi intel_powe= rclamp snd_soc_core coretemp snd_compress snd_hda_codec_realtek kvm_intel a= c97_bus snd_hda_codec_generic ledtrig_audio snd_pcm_dmaengine kvm snd_hda_i= ntel snd_intel_dspcfg irqbypass cmac snd_intel_sdw_acpi crct10dif_pclmul al= gif_hash rtw88_8821ce iTCO_wdt crc32_pclmul hp_wmi joydev snd_hda_codec alg= if_skcipher rtw88_8821c intel_pmc_bxt af_alg ghash_clmulni_intel mousedev q= rtr 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 s= nd_pcm btrtl intel_uncore mac80211 pcspkr snd_timer btbcm videobuf2_vmalloc= psmouse btintel i2c_i801 > > > > Jun 11 15:43:38 home kernel: processor_thermal_device_pci_legacy sn= d r8169 btmtk libarc4 i915 videobuf2_memops processor_thermal_device i2c_sm= bus videobuf2_v4l2 processor_thermal_rfim soundcore realtek mei_me mdio_dev= res bluetooth processor_thermal_mbox videobuf2_common cfg80211 libphy ecdh_= generic mei drm_buddy processor_thermal_rapl rfkill videodev ttm intel_rapl= _common nls_iso8859_1 intel_pch_thermal intel_xhci_usb_role_switch drm_dp_h= elper int340x_thermal_zone vfat mc roles intel_gtt intel_soc_dts_iosf wmi f= at kxcjk_1013 intel_vbtn industrialio_triggered_buffer sparse_keymap cm3218= 1 kfifo_buf video industrialio int3400_thermal acpi_thermal_rel wireless_ho= tkey acpi_pad acpi_tad mac_hid dm_multipath dm_mod crypto_user fuse bpf_pre= load ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw at= kbd 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 T= ainted: G W 5.18.0-arch1-1 #1 b71a70fe104889aac2f32556bc52f649da2881d2 > > > > Jun 11 15:43:38 home kernel: Hardware name: HP HP 250 G7 Notebook P= C/84A6, BIOS F.19 05/06/2019 > > > > Jun 11 15:43:38 home kernel: Workqueue: phy0 ieee80211_beacon_conne= ction_loss_work [mac80211] > > > > Jun 11 15:43:38 home kernel: RIP: 0010:rtw_power_mode_change+0x107/= 0x120 [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 00 00 0f > > > > Jun 11 15:43:38 home kernel: RSP: 0018:ffffb7c0c158bd88 EFLAGS: 000= 10282 > > > > Jun 11 15:43:38 home kernel: RAX: 0000000000000000 RBX: ffff923e949= a20e0 RCX: 0000000000000027 > > > > Jun 11 15:43:38 home kernel: RDX: ffff923fe6da16a8 RSI: 00000000000= 00001 RDI: ffff923fe6da16a0 > > > > Jun 11 15:43:38 home kernel: RBP: 000025cf57441865 R08: 00000000000= 00000 R09: ffffb7c0c158bb98 > > > > Jun 11 15:43:38 home kernel: R10: 0000000000000003 R11: ffffffffa7e= caa08 R12: 00000000c05ea080 > > > > Jun 11 15:43:38 home kernel: R13: 0000000000000000 R14: ffff923ef3f= bf3c0 R15: 0000000000000010 > > > > Jun 11 15:43:38 home kernel: FS: 0000000000000000(0000) GS:ffff923f= e6d80000(0000) knlGS:0000000000000000 > > > > Jun 11 15:43:38 home kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000= 0080050033 > > > > Jun 11 15:43:38 home kernel: CR2: 00007f662824487c CR3: 000000016a0= 10002 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 5= c3473c65c1ef2d2a75611035c99d8c7ddd975f7] > > > > Jun 11 15:43:38 home kernel: rtw_ops_config+0x42/0x100 [rtw88_core = c98e023d541cb3d50ab10ce0e14b1134c5e44008] > > > > Jun 11 15:43:38 home kernel: ieee80211_hw_config+0x201/0x3f0 [mac80= 211 05293841fc04d80013efc49f47d5dec34a8b2f08] > > > > Jun 11 15:43:38 home kernel: ieee80211_recalc_ps.part.0+0x14e/0x1c0= [mac80211 05293841fc04d80013efc49f47d5dec34a8b2f08] > > > > Jun 11 15:43:38 home kernel: ieee80211_mgd_probe_ap.part.0+0xc2/0x1= 60 [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-lK28Zu0d8VQG= 0AGdwTl6cJydYEETLbc3gN0l8liXH1DSOZnKxUHYGxavLBCs1sqos2e6jeiRzzO0RLRSISdWvTi= iPp0v9kM=3D@protonmail.com/ > > > > > > Since deep-power mode is mentioned, have you tried the 'disable_lps_d= eep=3Dy' for > > > rtw88_core? > > > > > > Larry > > > > I imagine disable_lps_deep=3Dy will stop the warning. I will try it. > > > Yes, disable_lps_deep=3Dy did stop the warning. I forgot to say: this warning didn't appear before the update to kernel 5.1= 8 and wifi firmware 24.11.0.