Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6584534rwl; Thu, 29 Dec 2022 16:04:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXt5fVPhsFZnsZOq6kZffceecTG6z9cWX1ig/MeftQXVu1pgwM79HOik4MEzaARtKENSjCLL X-Received: by 2002:a17:906:3ec8:b0:846:cdd9:d23 with SMTP id d8-20020a1709063ec800b00846cdd90d23mr21876370ejj.19.1672358647310; Thu, 29 Dec 2022 16:04:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672358647; cv=none; d=google.com; s=arc-20160816; b=UmDQpBGwIOp9f864dB9u8aJInpnuysmiK35LEli+gZmShzGgdd3PJyGIYyLjDT7FJe lraKkWGh49fnxWMf3nsxszdsDjxCAOWxjUYYOlOcNuY6pspp4KOlEbmAKuDh7vOpTdL7 buwZcKLFuZyxXgNHp2os5FvMgKFcT0Sq2bjwP1wGouNGmbYua7FmS1RQr10GEraS44iK G4UTyoQKY+J0AmcUimEX7gKrfRqeuHPdcm03BRLJjL10yC9mlR6W84RR2Qa+FOd/NeAV euQgtwrAsSS6XBeArHo+eNdKXQoRhpp/kxbS3ATEcz582NTjmwtIkbwUPCapC/LAdqre 40dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:authenticated-by; bh=AW6rAsuqnwWAnQPEaZiNwgqpgOcWqGCiWjWB4oIMNDg=; b=OM+cg4PyIejb3ACZXsfe5M39JLzZ6MTRLc4e1y/CrvtjjpS99oengdQ/2OwnoPTCVT 3rY7lDsuYaroGWWOIJEPXbbOAXMbWvXiMfjBTWHcexaYsJ/S+1zBB25lL7zbdSX5Gad8 q/vrt1vJsL6UjQP6ogX9gt1yHR4GLcTIormSikx+NxWPwBAVQZ2N9Zv1utEGfOmLHnKV ASFLxRcTSR9RDEFyijcUxu+/3Uk183WEL/+EvvlkgHNKAacxYul6Hyj5JowNAL7kZ2A7 CR9Suu+mTcGKzt+PYYGxrg1kiktqmMbfNQiQlX0zl4dWllgp5YpenM00mwr5G0fhj99p Mj6Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv15-20020a17090760cf00b007ade22f401bsi16967058ejc.759.2022.12.29.16.03.48; Thu, 29 Dec 2022 16:04:07 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234310AbiL2Xsp (ORCPT + 67 others); Thu, 29 Dec 2022 18:48:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233995AbiL2Xsn (ORCPT ); Thu, 29 Dec 2022 18:48:43 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD6729590; Thu, 29 Dec 2022 15:48:42 -0800 (PST) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 2BTNlYY81026617, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 2BTNlYY81026617 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Fri, 30 Dec 2022 07:47:34 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Fri, 30 Dec 2022 07:48:29 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 30 Dec 2022 07:48:28 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::15b5:fc4b:72f3:424b]) by RTEXMBS04.realtek.com.tw ([fe80::15b5:fc4b:72f3:424b%5]) with mapi id 15.01.2375.007; Fri, 30 Dec 2022 07:48:28 +0800 From: Ping-Ke Shih To: "martin.blumenstingl@googlemail.com" , "linux-wireless@vger.kernel.org" CC: "kvalo@kernel.org" , "s.hauer@pengutronix.de" , "tony0620emma@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/4] rtw88: Configure the registers from rtw_bf_assoc() outside the RCU lock Thread-Topic: [PATCH 2/4] rtw88: Configure the registers from rtw_bf_assoc() outside the RCU lock Thread-Index: AQHZG4P4QcWaotRoLEW+JDjR+fDHVK6FAuYA Date: Thu, 29 Dec 2022 23:48:28 +0000 Message-ID: <70d276b911fbf3d77baf2fbd7d5a8716a01f6c2a.camel@realtek.com> References: <20221229124845.1155429-1-martin.blumenstingl@googlemail.com> <20221229124845.1155429-3-martin.blumenstingl@googlemail.com> In-Reply-To: <20221229124845.1155429-3-martin.blumenstingl@googlemail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.1-2 x-originating-ip: [172.16.22.50] x-kse-serverinfo: RTEXMBS03.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzEyLzI5IOS4i+WNiCAwNzozNDowMA==?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-ID: <89829913CD482440811018E42C7294B0@realtek.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 T24gVGh1LCAyMDIyLTEyLTI5IGF0IDEzOjQ4ICswMTAwLCBNYXJ0aW4gQmx1bWVuc3RpbmdsIHdy b3RlOg0KPiBVU0IgYW5kICh1cGNvbWluZykgU0RJTyBzdXBwb3J0IG1heSBzbGVlcCBpbiB0aGUg cmVhZC93cml0ZSBoYW5kbGVycy4NCj4gU2hyaW5rIHRoZSBSQ1UgY3JpdGljYWwgc2VjdGlvbiBz byBpdCBvbmx5IGNvdmVyIHRoZSBjYWxsIHRvDQo+IGllZWU4MDIxMV9maW5kX3N0YSgpIGFuZCBm aW5kaW5nIHRoZSBpY192aHRfY2FwL3ZodF9jYXAgYmFzZWQgb24gdGhlDQo+IGZvdW5kIHN0YXRp b24uIFRoaXMgbW92ZXMgdGhlIGNoaXAncyBCRkVFIGNvbmZpZ3VyYXRpb24gb3V0c2lkZSB0aGUN Cj4gcmN1X3JlYWRfbG9jayBzZWN0aW9uIGFuZCB0aHVzIHByZXZlbnQgInNjaGVkdWxpbmcgd2hp bGUgYXRvbWljIiBvcg0KPiAiVm9sdW50YXJ5IGNvbnRleHQgc3dpdGNoIHdpdGhpbiBSQ1UgcmVh ZC1zaWRlIGNyaXRpY2FsIHNl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