Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp552554ybt; Fri, 19 Jun 2020 08:03:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSayz2W+8FheAbAQkJoafobAcdXzdbeaD7krn32Egp0m+xBbczJGcujizVSIb2QAyPzERt X-Received: by 2002:a17:906:3e15:: with SMTP id k21mr3986886eji.525.1592579013771; Fri, 19 Jun 2020 08:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592579013; cv=none; d=google.com; s=arc-20160816; b=Z36PJeGBM1JY2kQwHU5KAl1duxe0CqaE159+01EYx/++oowXMlsldnrSf0vCCM/f2f 6y6dYBQ7x6AHM0mJ3xMyCPJenX8M8VbQJVlCbhNtiQMGRDMqhz157rR9QWhSevIJ83bk CUaW6WBvEgKqu8jGDN6pLnWiWkrgr+oLUaqL1b1i/KE8hJ2anbzlvCTOzLVLHnY6fqQO V2lcQ6jYnA5jOH+GwRyqL+MCo2yCVI6wmDB3x/u5OWwMP3vm2hx8n7D1TU8ceuPpoqZa ay5F/eMwZJwc46N5w8bzMRyzAswlskEp825tmaowIN3aJRZtkEGo2F9pqPEKexfKyORY 3pjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7/EPBnydBuCis0CoW/wn/i8O4pMUlbe/kp5ynPbnTTM=; b=SlFkuPqnA6UBr4YEgLL/vsZuPDLf/Qi1WDf6GGU5QlP1PRd6hoBAuz8TlVKZH8cv2W d5J5R1DUBWzp3DDQWWkqKwbcnXNKeyZdbJOkEE/H1C0f7au2sFsWQ2RJYnTF39HX8WgX RYJ1W+1Gv4ucQZyz/fG35oBFa/Mnwq+PcIbDLg5KkJStGIzTsVxP+hDEQEDIbb6YuwU+ eNq8TUfzZ2059+YOemwbVVxfPUxlfqgGOpefUv64cUqGByi9QoWENgaqZxuwrJ1UjAjl SZJa/6z2sNkNPhe/XrRYPYbYJE18eSgxAXhjWtR5wOQnzTJetPwXW5B/PogPI9tG1CxR +vCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JE4rf9n5; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn14si5147161ejc.414.2020.06.19.08.02.50; Fri, 19 Jun 2020 08:03:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JE4rf9n5; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390136AbgFSPBu (ORCPT + 99 others); Fri, 19 Jun 2020 11:01:50 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:35362 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390729AbgFSPBk (ORCPT ); Fri, 19 Jun 2020 11:01:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592578899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7/EPBnydBuCis0CoW/wn/i8O4pMUlbe/kp5ynPbnTTM=; b=JE4rf9n5JGpR+wJkIyhvk4miuuf3yFgpJXggHMN1KuYDjfl7+ihqV61qMeo2coqZbhMxZB 2S4PS5mi6CxYaSRvQdcytyeEnu13J4GKJ4tWnozkB8wgzaCOWvb6CJqKgHtLEuJkA/LpRa 0rtGZMfBC+G9dT1ssf4Vurm/3oXVgVc= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-306-8Ht7wjhxN92phDUEe4kO4Q-1; Fri, 19 Jun 2020 11:01:36 -0400 X-MC-Unique: 8Ht7wjhxN92phDUEe4kO4Q-1 Received: by mail-ej1-f70.google.com with SMTP id g6so2837614ejo.18 for ; Fri, 19 Jun 2020 08:01:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=7/EPBnydBuCis0CoW/wn/i8O4pMUlbe/kp5ynPbnTTM=; b=GxFyVhBZZETVB6BBWpEEk9sObNRCjPxt9ihEBdwwl203ld2q64dLxBqnDGr849sPeA D27oc7lcPu8QOcg5tew/VpWzlvnrkT2WNYwRm8foFgfne/lsx1UVR6Gznc1j9W1VBaNO 7v9gaVH8xr0Is3w8RfUcEEatuTiNInx2dIPmra/vve/aI1de5/BOXJh0NmguPk5F/AUp TWOoWm6J/9kAL5shCvB8rrCEROTjhG77bJkg0Cpx24S1oRD7Q9hUWk8Awb5xnlF6Wk3V ZYc4jMB/K6+fGfQoOB2adbnMdr3+5YWwXMADqBWxa96f4+aMYWAvp/hfe1/FJoXChyfe bW0w== X-Gm-Message-State: AOAM533cjJqt+rMYw0b2Nb6ZAWn4AQKUG3tVf/NCweUfznxhZOF5UFOq MkIanRZ4NWD45XJBnJnFRsmUOCWRP8uJid2wxtvlWW/VpfsZ2AwbzJudtXFrpD2/Fm/B5EnBF5z 9e7uMSBxBlshQjmeNun1/ip1nbe4= X-Received: by 2002:a17:906:97cb:: with SMTP id ef11mr4081921ejb.69.1592578893505; Fri, 19 Jun 2020 08:01:33 -0700 (PDT) X-Received: by 2002:a17:906:97cb:: with SMTP id ef11mr4081860ejb.69.1592578892967; Fri, 19 Jun 2020 08:01:32 -0700 (PDT) Received: from localhost ([2001:470:5b39:29:79fc:ff4e:48ab:b845]) by smtp.gmail.com with ESMTPSA id bs1sm4788251edb.43.2020.06.19.08.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 08:01:32 -0700 (PDT) Date: Fri, 19 Jun 2020 17:01:32 +0200 From: Oleksandr Natalenko To: Lorenzo Bianconi Cc: Lorenzo Bianconi , Felix Fietkau , Ryder Lee , Kalle Valo , "David S. Miller" , Jakub Kicinski , Matthias Brugger , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: mt7612 suspend/resume issue Message-ID: <20200619150132.2zrc3ojqhtbn432u@butterfly.localdomain> References: <20200618090556.pepjdbnba2gqzcbe@butterfly.localdomain> <20200618111859.GC698688@lore-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200618111859.GC698688@lore-desk.lan> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, Lorenzo. Thanks for the quick reply. Please see my observation below. On Thu, Jun 18, 2020 at 01:18:59PM +0200, Lorenzo Bianconi wrote: > I have not reproduced the issue myself yet, but I guess we can try: > 1- update to latest Felix's tree [1] > 2- could you please try to apply the patch below? (compile-test only) I've started with trying your patch first (apllied to v5.7.4). Please see my comments on it inline. > [1] https://github.com/nbd168/wireless >=20 > From 400268a0ee5843cf736308504dfbd2f20a291eaf Mon Sep 17 00:00:00 2001 > Message-Id: <400268a0ee5843cf736308504dfbd2f20a291eaf.1592478809.git.lore= nzo@kernel.org> > From: Lorenzo Bianconi > Date: Thu, 18 Jun 2020 13:10:11 +0200 > Subject: [PATCH] mt76: mt76x2: fix pci suspend >=20 > Signed-off-by: Lorenzo Bianconi > --- > .../net/wireless/mediatek/mt76/mt76x02_dma.h | 1 + > .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 15 +++++ > .../net/wireless/mediatek/mt76/mt76x2/pci.c | 58 +++++++++++++++++++ > 3 files changed, 74 insertions(+) >=20 > diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_dma.h b/drivers/n= et/wireless/mediatek/mt76/mt76x02_dma.h > index 4aff4f8e87b6..6262f2ecded5 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt76x02_dma.h > +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_dma.h > @@ -62,5 +62,6 @@ mt76x02_wait_for_wpdma(struct mt76_dev *dev, int timeou= t) > int mt76x02_dma_init(struct mt76x02_dev *dev); > void mt76x02_dma_disable(struct mt76x02_dev *dev); > void mt76x02_dma_cleanup(struct mt76x02_dev *dev); > +void mt76x02_dma_reset(struct mt76x02_dev *dev); > =20 > #endif /* __MT76x02_DMA_H */ > diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c b/drivers/= net/wireless/mediatek/mt76/mt76x02_mmio.c > index cbbe986655fe..e2631c964331 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c > +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c > @@ -348,6 +348,21 @@ void mt76x02_dma_disable(struct mt76x02_dev *dev) > } > EXPORT_SYMBOL_GPL(mt76x02_dma_disable); > =20 > +void mt76x02_dma_reset(struct mt76x02_dev *dev) > +{ > + int i; > + > + mt76x02_dma_disable(dev); > + usleep_range(1000, 2000); > + > + for (i =3D 0; i < __MT_TXQ_MAX; i++) > + mt76_queue_tx_cleanup(dev, i, true); > + mt76_for_each_q_rx(&dev->mt76, i) Since v5.7.4 doesn't have this macro, I've pulled it manually. > + mt76_queue_rx_reset(dev, i); > + > + mt76x02_dma_enable(dev); > +} I had to add EXPORT_SYMBOL_GPL(mt76x02_dma_reset) in order to get the kernel linked successfully. > + > void mt76x02_mac_start(struct mt76x02_dev *dev) > { > mt76x02_mac_reset_counters(dev); > diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c b/drivers/ne= t/wireless/mediatek/mt76/mt76x2/pci.c > index 53ca0cedf026..5543e242fb9b 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c > +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c > @@ -103,6 +103,60 @@ mt76pci_remove(struct pci_dev *pdev) > mt76_free_device(mdev); > } > =20 > +static int __maybe_unused > +mt76x2e_suspend(struct pci_dev *pdev, pm_message_t state) > +{ > + struct mt76_dev *mdev =3D pci_get_drvdata(pdev); > + struct mt76x02_dev *dev =3D container_of(mdev, struct mt76x02_dev, mt76= ); > + int i, err; > + > + napi_disable(&mdev->tx_napi); > + tasklet_kill(&mdev->pre_tbtt_tasklet); > + tasklet_kill(&mdev->tx_tasklet); > + > + mt76_for_each_q_rx(mdev, i) > + napi_disable(&mdev->napi[i]); > + > + mt76x02_dma_reset(dev); > + > + pci_enable_wake(pdev, pci_choose_state(pdev, state), true); > + pci_save_state(pdev); > + err =3D pci_set_power_state(pdev, pci_choose_state(pdev, state)); > + if (err) > + goto restore; > + > + return 0; > + > +restore: > + mt76_for_each_q_rx(mdev, i) > + napi_enable(&mdev->napi[i]); > + napi_enable(&mdev->tx_napi); > + > + return err; > +} > + > +static int __maybe_unused > +mt76x2e_resume(struct pci_dev *pdev) > +{ > + struct mt76_dev *mdev =3D pci_get_drvdata(pdev); > + int i, err; > + > + err =3D pci_set_power_state(pdev, PCI_D0); > + if (err) > + return err; > + > + pci_restore_state(pdev); > + > + mt76_for_each_q_rx(mdev, i) { > + napi_enable(&mdev->napi[i]); > + napi_schedule(&mdev->napi[i]); > + } > + napi_enable(&mdev->tx_napi); > + napi_schedule(&mdev->tx_napi); > + > + return 0; > +} > + > MODULE_DEVICE_TABLE(pci, mt76pci_device_table); > MODULE_FIRMWARE(MT7662_FIRMWARE); > MODULE_FIRMWARE(MT7662_ROM_PATCH); > @@ -113,6 +167,10 @@ static struct pci_driver mt76pci_driver =3D { > .id_table =3D mt76pci_device_table, > .probe =3D mt76pci_probe, > .remove =3D mt76pci_remove, > +#ifdef CONFIG_PM > + .suspend =3D mt76x2e_suspend, > + .resume =3D mt76x2e_resume, > +#endif /* CONFIG_PM */ > }; > =20 > module_pci_driver(mt76pci_driver); > --=20 > 2.26.2 Unfortunately, it seems it did little change to my setup. The resume time shrunk it seems (but is still noticeable), and the system survived 2 suspend/resume cycles, but after the third resume the following happened: =3D=3D=3D =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: MCU message 2 (seq= 11) timed out =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: MCU message 30 (se= q 12) timed out =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: MCU message 30 (se= q 13) timed out =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: Firmware Version: = 0.0.00 =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: Build: 1 =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: Build Time: 201507= 311614____ =C4=8Den 18 23:11:58 spock kernel: mt76x2e 0000:01:00.0: Firmware running! =C4=8Den 18 23:11:58 spock kernel: ieee80211 phy0: Hardware restart was req= uested =C4=8Den 18 23:11:59 spock kernel: mt76x2e 0000:01:00.0: MCU message 2 (seq= 1) timed out =C4=8Den 18 23:11:59 spock kernel: mt76x2e 0000:01:00.0: Firmware Version: = 0.0.00 =C4=8Den 18 23:11:59 spock kernel: mt76x2e 0000:01:00.0: Build: 1 =C4=8Den 18 23:11:59 spock kernel: mt76x2e 0000:01:00.0: Build Time: 201507= 311614____ =C4=8Den 18 23:11:59 spock kernel: mt76x2e 0000:01:00.0: Firmware running! =C4=8Den 18 23:11:59 spock kernel: ieee80211 phy0: Hardware restart was req= uested =C4=8Den 18 23:12:00 spock kernel: mt76x2e 0000:01:00.0: MCU message 30 (se= q 3) timed out =C4=8Den 18 23:12:01 spock kernel: mt76x2e 0000:01:00.0: MCU message 30 (se= q 4) timed out =C4=8Den 18 23:12:01 spock kernel: mt76x2e 0000:01:00.0: Firmware Version: = 0.0.00 =C4=8Den 18 23:12:01 spock kernel: mt76x2e 0000:01:00.0: Build: 1 =C4=8Den 18 23:12:01 spock kernel: mt76x2e 0000:01:00.0: Build Time: 201507= 311614____ =C4=8Den 18 23:12:01 spock kernel: mt76x2e 0000:01:00.0: Firmware running! =C4=8Den 18 23:12:01 spock kernel: ieee80211 phy0: Hardware restart was req= uested =C4=8Den 18 23:12:02 spock kernel: ------------[ cut here ]------------ =C4=8Den 18 23:12:02 spock kernel: WARNING: CPU: 3 PID: 171 at net/mac80211= /util.c:2270 ieee80211_reconfig+0x234/0x1700 [mac80211] =C4=8Den 18 23:12:02 spock kernel: Modules linked in: cmac ccm bridge stp l= lc nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables msr tun nfne= tlink nls_iso8859_1 nls_cp437 vfat fat mt76x2e mt76x2_common mt76x02_lib mt= 76 mac80211 intel_rapl_msr snd_hda_codec_hdmi snd_hda_codec_cirrus mei_hdcp= snd_hda_codec_generic cfg80211 intel_rapl_common x86_pkg_temp_thermal inte= l_powerclamp coretemp dell_laptop iTCO_wdt snd_hda_intel kvm_intel iTCO_ven= dor_support dell_wmi snd_intel_dspcfg sparse_keymap snd_hda_codec ledtrig_a= udio wmi_bmof dell_smbios snd_hda_core kvm rtsx_usb_ms dell_wmi_descriptor = memstick dcdbas snd_hwdep dell_smm_hwmon irqbypass psmouse intel_cstate snd= _pcm intel_uncore joydev intel_rapl_perf mousedev mei_me alx rfkill input_l= eds snd_timer i2c_i801 snd mei lpc_ich libarc4 mdio soundcore battery wmi e= vdev dell_smo8800 mac_hid ac tcp_bbr crypto_user ip_tables x_tables xfs dm_= thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generi= c dm_crypt hid_logitech_hidpp hid_logitech_dj =C4=8Den 18 23:12:02 spock kernel: hid_generic usbhid hid rtsx_usb_sdmmc m= mc_core rtsx_usb dm_mod raid10 serio_raw atkbd libps2 md_mod crct10dif_pclm= ul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cr= yptd glue_helper xhci_pci xhci_hcd ehci_pci ehci_hcd i8042 serio i915 intel= _gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_f= ops cec rc_core drm agpgart =C4=8Den 18 23:12:02 spock kernel: CPU: 3 PID: 171 Comm: kworker/3:3 Not ta= inted 5.7.0-pf3 #1 =C4=8Den 18 23:12:02 spock kernel: Hardware name: Dell Inc. Vostro= 3360/0F5DWF, BIOS A18 09/25/2013 =C4=8Den 18 23:12:02 spock kernel: Workqueue: events_freezable ieee80211_re= start_work [mac80211] =C4=8Den 18 23:12:02 spock kernel: RIP: 0010:ieee80211_reconfig+0x234/0x170= 0 [mac80211] =C4=8Den 18 23:12:02 spock kernel: Code: 83 b8 0b 00 00 83 e0 fd 83 f8 04 7= 4 e6 48 8b 83 90 04 00 00 a8 01 74 db 48 89 de 48 89 ef e8 03 dc fb ff 41 8= 9 c7 85 c0 74 c9 <0f> 0b 48 8b 5b 08 4c 8b 24 24 48 3b 1c 24 75 12 e9 51 fe= ff ff 48 =C4=8Den 18 23:12:02 spock kernel: RSP: 0018:ffffa87c40403df0 EFLAGS: 00010= 286 =C4=8Den 18 23:12:02 spock kernel: RAX: 00000000fffffff0 RBX: ffff9fe028f6e= 900 RCX: 0000000000000008 =C4=8Den 18 23:12:02 spock kernel: RDX: 0000000000000000 RSI: 0000000000000= 100 RDI: 0000000000000100 =C4=8Den 18 23:12:02 spock kernel: RBP: ffff9fe0283787e0 R08: 0000000000000= 000 R09: 0000000000000001 =C4=8Den 18 23:12:02 spock kernel: R10: 0000000000000001 R11: 0000000000000= 000 R12: ffff9fe0283798d0 =C4=8Den 18 23:12:02 spock kernel: R13: 00000000ffffffff R14: 0000000000000= 000 R15: 00000000fffffff0 =C4=8Den 18 23:12:02 spock kernel: FS: 0000000000000000(0000) GS:ffff9fe02= f2c0000(0000) knlGS:0000000000000000 =C4=8Den 18 23:12:02 spock kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000= 080050033 =C4=8Den 18 23:12:02 spock kernel: CR2: 00007f313b33a940 CR3: 000000012ea0a= 002 CR4: 00000000001706e0 =C4=8Den 18 23:12:02 spock kernel: Call Trace: =C4=8Den 18 23:12:02 spock kernel: ieee80211_restart_work+0xb7/0xe0 [mac80= 211] =C4=8Den 18 23:12:02 spock kernel: process_one_work+0x1d4/0x3c0 =C4=8Den 18 23:12:02 spock kernel: worker_thread+0x228/0x470 =C4=8Den 18 23:12:02 spock kernel: ? process_one_work+0x3c0/0x3c0 =C4=8Den 18 23:12:02 spock kernel: kthread+0x19c/0x1c0 =C4=8Den 18 23:12:02 spock kernel: ? __kthread_init_worker+0x30/0x30 =C4=8Den 18 23:12:02 spock kernel: ret_from_fork+0x35/0x40 =C4=8Den 18 23:12:02 spock kernel: ---[ end trace e017bc3573bd9bf2 ]--- =C4=8Den 18 23:12:02 spock kernel: ------------[ cut here ]------------ =C4=8Den 18 23:12:02 spock kernel: wlp1s0: Failed check-sdata-in-driver ch= eck, flags: 0x0 =C4=8Den 18 23:12:02 spock kernel: WARNING: CPU: 3 PID: 171 at net/mac80211= /driver-ops.h:17 drv_remove_interface+0x11f/0x130 [mac80211] =C4=8Den 18 23:12:02 spock kernel: Modules linked in: cmac ccm bridge stp l= lc nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables msr tun nfne= tlink nls_iso8859_1 nls_cp437 vfat fat mt76x2e mt76x2_common mt76x02_lib mt= 76 mac80211 intel_rapl_msr snd_hda_codec_hdmi snd_hda_codec_cirrus mei_hdcp= snd_hda_codec_generic cfg80211 intel_rapl_common x86_pkg_temp_thermal inte= l_powerclamp coretemp dell_laptop iTCO_wdt snd_hda_intel kvm_intel iTCO_ven= dor_support dell_wmi snd_intel_dspcfg sparse_keymap snd_hda_codec ledtrig_a= udio wmi_bmof dell_smbios snd_hda_core kvm rtsx_usb_ms dell_wmi_descriptor = memstick dcdbas snd_hwdep dell_smm_hwmon irqbypass psmouse intel_cstate snd= _pcm intel_uncore joydev intel_rapl_perf mousedev mei_me alx rfkill input_l= eds snd_timer i2c_i801 snd mei lpc_ich libarc4 mdio soundcore battery wmi e= vdev dell_smo8800 mac_hid ac tcp_bbr crypto_user ip_tables x_tables xfs dm_= thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generi= c dm_crypt hid_logitech_hidpp hid_logitech_dj =C4=8Den 18 23:12:02 spock kernel: hid_generic usbhid hid rtsx_usb_sdmmc m= mc_core rtsx_usb dm_mod raid10 serio_raw atkbd libps2 md_mod crct10dif_pclm= ul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cr= yptd glue_helper xhci_pci xhci_hcd ehci_pci ehci_hcd i8042 serio i915 intel= _gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_f= ops cec rc_core drm agpgart =C4=8Den 18 23:12:02 spock kernel: CPU: 3 PID: 171 Comm: kworker/3:3 Tainte= d: G W 5.7.0-pf3 #1 =C4=8Den 18 23:12:02 spock kernel: Hardware name: Dell Inc. Vostro= 3360/0F5DWF, BIOS A18 09/25/2013 =C4=8Den 18 23:12:02 spock kernel: Workqueue: events_freezable ieee80211_re= start_work [mac80211] =C4=8Den 18 23:12:02 spock kernel: RIP: 0010:drv_remove_interface+0x11f/0x1= 30 [mac80211] =C4=8Den 18 23:12:02 spock kernel: Code: a0 57 f0 c2 e9 4b ff ff ff 48 8b 8= 6 78 04 00 00 48 8d b6 98 04 00 00 48 c7 c7 e8 ef f8 c0 48 85 c0 48 0f 45 f= 0 e8 99 2e fa c2 <0f> 0b 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f= 44 00 00 =C4=8Den 18 23:12:02 spock kernel: RSP: 0018:ffffa87c40403c80 EFLAGS: 00010= 282 =C4=8Den 18 23:12:02 spock kernel: RAX: 0000000000000000 RBX: ffff9fe028f6e= 900 RCX: 0000000000000000 =C4=8Den 18 23:12:02 spock kernel: RDX: 0000000000000001 RSI: 0000000000000= 082 RDI: 00000000ffffffff =C4=8Den 18 23:12:02 spock kernel: RBP: ffff9fe028379930 R08: 0000000000000= 4c9 R09: 0000000000000001 =C4=8Den 18 23:12:02 spock kernel: R10: 0000000000000001 R11: 0000000000006= fc0 R12: ffff9fe028379000 =C4=8Den 18 23:12:02 spock kernel: R13: ffff9fe028f6f4b8 R14: ffff9fe028378= ca0 R15: ffff9fe0283787e0 =C4=8Den 18 23:12:02 spock kernel: FS: 0000000000000000(0000) GS:ffff9fe02= f2c0000(0000) knlGS:0000000000000000 =C4=8Den 18 23:12:02 spock kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000= 080050033 =C4=8Den 18 23:12:02 spock kernel: CR2: 00007f313b33a940 CR3: 000000012ea0a= 002 CR4: 00000000001706e0 =C4=8Den 18 23:12:02 spock kernel: Call Trace: =C4=8Den 18 23:12:02 spock kernel: ieee80211_do_stop+0x5af/0x8c0 [mac80211] =C4=8Den 18 23:12:02 spock kernel: ieee80211_stop+0x16/0x20 [mac80211] =C4=8Den 18 23:12:02 spock kernel: __dev_close_many+0xaa/0x120 =C4=8Den 18 23:12:02 spock kernel: dev_close_many+0xa1/0x2b0 =C4=8Den 18 23:12:02 spock kernel: dev_close+0x6d/0x90 =C4=8Den 18 23:12:02 spock kernel: cfg80211_shutdown_all_interfaces+0x71/0= xd0 [cfg80211] =C4=8Den 18 23:12:02 spock kernel: ieee80211_reconfig+0xa2/0x1700 [mac8021= 1] =C4=8Den 18 23:12:02 spock kernel: ieee80211_restart_work+0xb7/0xe0 [mac80= 211] =C4=8Den 18 23:12:02 spock kernel: process_one_work+0x1d4/0x3c0 =C4=8Den 18 23:12:02 spock kernel: worker_thread+0x228/0x470 =C4=8Den 18 23:12:02 spock kernel: ? process_one_work+0x3c0/0x3c0 =C4=8Den 18 23:12:02 spock kernel: kthread+0x19c/0x1c0 =C4=8Den 18 23:12:02 spock kernel: ? __kthread_init_worker+0x30/0x30 =C4=8Den 18 23:12:02 spock kernel: ret_from_fork+0x35/0x40 =C4=8Den 18 23:12:02 spock kernel: ---[ end trace e017bc3573bd9bf3 ]--- =3D=3D=3D Do you still want me to try Felix's tree, or there's something else I can try? Thank you. --=20 Best regards, Oleksandr Natalenko (post-factum) Principal Software Maintenance Engineer