From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796002929; b=u/Dz95oo//dlV9gpOylRuoVpuiucv8hbSs9MGHb4SsTfmtXrze1psbmPBo1Agx+XEZsj RDee4R4bswcOA9lDun2oyFkIhvZVr1t4fn5wy6Q08Sm2S7vVcz4AxTuAvYGdbLfn5a24r KyqstNqLHMADbvIvP94mLzwXnFWqyMel7Cwe+OdHtxe9ROAAz1Yvr6UzN0icQknImgdFQ FFiTd5MHZ7LB2vJw0KcamW/uykBLbp02mPlyHkmu5s52l/y/RAJsvCkqVuMNYROeQOcBu VB5QbMpXgFvmyiWUViMRFxjukInIWs9bZZBwUsjd9ZDjqt27qyqxr2aXuC/wnvOlKqw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796002929; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=iM+TWDCnHj6BfStXZjEmB5kzAdhiUhNh33algfytrx4=; b=NZlBkaR6QbrfXgS6xFwGl57dWePxNHLJDc3iFG7p20ZGq9w1b6Jz7w8jZcqjQdTYWN3h 4d1pB+NcLZgqlGTV0FpaURJF9H2IIv16+y12gaOybV4YJnqjlv9XChHuMv+PTGpUoi6ix 2SxCk6mlbHZ/7k89rfPue9kcisgwVFmn/t9BUDC1PuttfRou23jpgmYkChax6Kb9uHiI3 jLiDevLNZna0+yCIlKG42ewo+k5SWUqo/1xUhLvelJM33YhLr7LOK30oG1vVhDC5NU0KS PHBx1GXO8UpLdRd39qsfiy7t0TSbzx2Kuq5lF0Ud4oymEaKkB1CV0hZlFdwQzrCx/4A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=BaAqwb1t; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88F33606A325; Mon, 30 Nov 2026 01:42:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 88F33606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=BaAqwb1t X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6AU1fLdlD2956823, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796002881; bh=iM+TWDCnHj6BfStXZjEmB5kzAdhiUhNh33algfytrx4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=BaAqwb1tb8ImSTkZSBDbZ/Nj/WeqnnNJs1WiGgnVr19fTkJs6MAp0ExtgNKJbicX3 tfL0Q5ghPU3jf36/wIxeBOjqksIxTlSdwiXHpDG20gKBz1Y0KlW2NXdzTnRehAMpk8 TfFwNWSGtUoMoaUMGTxO2iyuEpSj/4/GXw0xmLJauROXyzvPogv4nR0motsyNG4EOy Pq6hKgxfzOol4sJa6zdu/52Pv3M8/8pnPO5J9HQnRik5uoZZfjRkl9j036hGKJZBLV 7BmgAafGWhWzGJF2EpVxfEkh2ysbk3yY9wRNxPeEdA6EkpAsg3BejNc6DZI8WTcSDY TCJCp/Jk5nKOQ== Received: from mail.realtek.com (rtkexhmbs04.realtek.com.tw[10.21.1.54]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6AU1fLdlD2956823 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Nov 2026 09:41:21 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS04.realtek.com.tw (10.21.1.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Mon, 30 Nov 2026 09:41:21 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Mon, 30 Nov 2026 09:41:21 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Mon, 30 Nov 2026 09:41:21 +0800 From: Ping-Ke Shih To: Mehmet Fide CC: Luka Gejak , Sascha Hauer , Zong-Zhe Yang , Tzu-En Huang , Yan-Hsuan Chuang , Kalle Valo , Stanislaw Gruszka , Brian Norris , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mehmet.fide@screeningeagle.com" Subject: RE: [PATCH rtw-next v4 4/4] wifi: rtw88: reset the stations outside of RCU on firmware recovery Thread-Topic: [PATCH rtw-next v4 4/4] wifi: rtw88: reset the stations outside of RCU on firmware recovery Thread-Index: AQHdeeyxlgDItOdINkeOc5Q3W2ED47dBcv2AgAAGCICABGrJAA== Date: Mon, 30 Nov 2026 01:41:20 +0000 Message-ID: <7628e4f7c0984ed5aef7fe83e85efe60@realtek.com> References: <948fc37394234af580787acbb1686ee0@realtek.com> <20261127141335.1871993-1-mehmet.fide@gmail.com> In-Reply-To: <20261127141335.1871993-1-mehmet.fide@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Mehmet Fide wrote: > Hi Ping-Ke, >=20 > > Why did you choose this commit as Fixes? Does it should be > > > > 5c831644e1f4 ("rtw88: handle and recover when firmware crash") >=20 > 5c831644e1f4 added the atomic iteration, but rtw_sta_remove() did not > sleep then: it released the macid, cleaned up the TX queues under a > spinlock and freed the mask. bcafcb959a57 added the cancel_work_sync() > of the rate work to rtw_sta_remove(), and from then on the recovery > sleeps under RCU. So I took bcafcb959a57, but please change it when > applying if you prefer 5c831644e1f4. Okay. Take yours (bcafcb959a57).