Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6896781rwl; Wed, 22 Mar 2023 18:02:53 -0700 (PDT) X-Google-Smtp-Source: AK7set9PTubnuxw5VDE3BGWipvAIZWzkFFPr3LiGawBWahcedRuul4Kqc4thh16hIvrvg7H8vwTl X-Received: by 2002:a17:902:f548:b0:1a1:b238:d1ab with SMTP id h8-20020a170902f54800b001a1b238d1abmr5231111plf.69.1679533373481; Wed, 22 Mar 2023 18:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679533373; cv=none; d=google.com; s=arc-20160816; b=tJVCbWCaRcHBOIkMoEJIrPOZRHc7UsYJpMk1S/ZpAPJv85qhE4BSi7DzN7jJEWQmrx jSfpTysyJ273MB+jiDkfL2qA3dFA6NAj566i7bwHZezv0NKFCzdctfI8pMuQkvR5RE4n lm+ksmnuS3Kk/TJkNue5PZBH62nNz2GbPd54ZSJcHI9c0vrvUiCNEKqqCykaks90H0AD U4/w7zSH9Lc1aB9VAVJ5aXbgMj6+EnrrHWr4uVjYmcUV7rnlRTGpUbsXfIlagx3Qjn4Y OA5Xn+sn5xsScC9wSANdrM0TYOYettwWJPZFRitx0C+3en6lkd9lUpTNsIRH8G1jerIO Ma9w== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=wPtwHF1+hf7hE/4/HX/L5QWCEjg+pVzXVRAmRf1a8qU=; b=vZ8PhgJE6P4cpYQedVBMYexmNoTPOnnd0vR692g3fR5CgFE42l+re3w340PZN8qi/j Eae0YVvrodqmUEsC1khWCGB4sCKObQJzjAqlXAJ2ftd4D7P7IzlohS0zSazGTNaZtwJq yEsjzsWP4xuaOxF1oNItIohmUdYPDCkSMvySmKJTBivGQv0bdLB9pmJXClLL+l/q+UZl 9qlZCxd5hhHCYQ91mzPxQ53v4MRgDFIn9tAezfe/SOLQUdL3jKtkNbYEFBgiOGP8flRZ E0NoBuX6iNZ+L7uJSiy5drebdX+nLQICO8oAusOX59rqca38D3nVxSnU5LpD1A3G89iM Ps6g== 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 t29-20020a63461d000000b00502efeb73e1si16701880pga.717.2023.03.22.18.02.41; Wed, 22 Mar 2023 18:02: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; 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 S229928AbjCWA77 (ORCPT + 60 others); Wed, 22 Mar 2023 20:59:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbjCWA76 (ORCPT ); Wed, 22 Mar 2023 20:59:58 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFEF5AF17; Wed, 22 Mar 2023 17:59:48 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 32N0xMzJ5002829, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 32N0xMzJ5002829 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Thu, 23 Mar 2023 08:59:22 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Thu, 23 Mar 2023 08:59:37 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Thu, 23 Mar 2023 08:59:36 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::b4a2:2bcc:48d1:8b02]) by RTEXMBS04.realtek.com.tw ([fe80::b4a2:2bcc:48d1:8b02%5]) with mapi id 15.01.2375.007; Thu, 23 Mar 2023 08:59:36 +0800 From: Ping-Ke Shih To: Jonas Gorski , Larry Finger CC: Hyeonggon Yoo <42.hyeyoo@gmail.com>, "netdev@vger.kernel.org" , "linux-wireless@vger.kernel.org" Subject: RE: [BUG v6.2.7] Hitting BUG_ON() on rtw89 wireless driver startup Thread-Topic: [BUG v6.2.7] Hitting BUG_ON() on rtw89 wireless driver startup Thread-Index: AQHZXNa3MLbDic+okUWUZsB7esnCtq8GfvKAgABBsICAAMlp0A== Date: Thu, 23 Mar 2023 00:59:36 +0000 Message-ID: References: <55057734-9913-8288-ad88-85c189cbe045@lwfinger.net> In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSm9uYXMgR29yc2tpIDxq b25hcy5nb3Jza2lAZ21haWwuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgTWFyY2ggMjMsIDIwMjMg NDo1MiBBTQ0KPiBUbzogTGFycnkgRmluZ2VyIDxMYXJyeS5GaW5nZXJAbHdmaW5nZXIubmV0Pg0K PiBDYzogSHllb25nZ29uIFlvbyA8NDIuaHlleW9vQGdtYWlsLmNvbT47IG5ldGRldkB2Z2VyLmtl cm5lbC5vcmc7IGxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZzsgUGluZy1LZQ0KPiBTaGlo IDxwa3NoaWhAcmVhbHRlay5jb20+DQo+IFN1YmplY3Q6IFJlOiBbQlVHIHY2LjIuN10gSGl0dGlu ZyBCVUdfT04oKSBvbiBydHc4OSB3aXJlbGVzcyBkcml2ZXIgc3RhcnR1cA0KPiANCj4gT24gV2Vk LCAyMiBNYXIgMjAyMyBhdCAxODowMywgTGFycnkgRmluZ2VyIDxMYXJyeS5GaW5nZXJAbHdmaW5n ZXIubmV0PiB3cm90ZToNCj4gPg0KPiA+IE9uIDMvMjIvMjMgMTA6NTQsIEh5ZW9uZ2dvbiBZb28g d3JvdGU6DQo+ID4gPg0KPiA+ID4gSGVsbG8gZm9sa3MsDQo+ID4gPiBJJ3ZlIGp1c3QgZW5jb3Vu dGVyZWQgd2VpcmQgYnVnIHdoZW4gYm9vdGluZyBMaW51eCB2Ni4yLjcNCj4gPiA+D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ID0gcnR3ODlfY29yZV9yZWdpc3RlcihydHdkZXYpOw0KLSAg ICAgICBpZiAocmV0KSB7DQotICAgICAgICAgICAgICAgcnR3ODlfZXJyKHJ0d2RldiwgImZhaWxl ZCB0byByZWdpc3RlciBjb3JlXG4iKTsNCi0gICAgICAgICAgICAgICBnb3RvIGVycl9jbGVhcl9y ZXNvdXJjZTsNCi0gICAgICAgfQ0KLQ0KICAgICAgICBydHc4OV9jb3JlX25hcGlfaW5pdChydHdk ZXYpOw0KDQogICAgICAgIHJldCA9IHJ0dzg5X3BjaV9yZXF1ZXN0X2lycShydHdkZXYsIHBkZXYp Ow0KICAgICAgICBpZiAocmV0KSB7DQogICAgICAgICAgICAgICAgcnR3ODlfZXJyKHJ0d2Rldiwg ImZhaWxlZCB0byByZXF1ZXN0IHBjaSBpcnFcbiIpOw0KLSAgICAgICAgICAgICAgIGdvdG8gZXJy X3VucmVnaXN0ZXI7DQorICAgICAgICAgICAgICAgZ290byBlcnJfZGVpbml0X25hcGk7DQorICAg ICAgIH0NCisNCisgICAgICAgcmV0ID0gcnR3ODlfY29yZV9yZWdpc3RlcihydHdkZXYpOw0KKyAg ICAgICBpZiAocmV0KSB7DQorICAgICAgICAgICAgICAgcnR3ODlfZXJyKHJ0d2RldiwgImZhaWxl ZCB0byByZWdpc3RlciBjb3JlXG4iKTsNCisgICAgICAgICAgICAgICBnb3RvIGVycl9mcmVlX2ly cTsNCiAgICAgICAgfQ0KDQogICAgICAgIHJldHVybiAwOw0KDQotZXJyX3VucmVnaXN0ZXI6DQor ZXJyX2ZyZWVfaXJxOg0KKyAgICAgICBydHc4OV9wY2lfZnJlZV9pcnEocnR3ZGV2LCBwZGV2KTsN CitlcnJfZGVpbml0X25hcGk6DQogICAgICAgIHJ0dzg5X2NvcmVfbmFwaV9kZWluaXQocnR3ZGV2 KTsNCi0gICAgICAgcnR3ODlfY29yZV91bnJlZ2lzdGVyKHJ0d2Rldik7DQogZXJyX2NsZWFyX3Jl c291cmNlOg0KICAgICAgICBydHc4OV9wY2lfY2xlYXJfcmVzb3VyY2UocnR3ZGV2LCBwZGV2KTsN CiBlcnJfZGVjbGFpbV9wY2k6DQoNCi0tDQpQaW5nLUtlDQoNCg0K