Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp316611imi; Thu, 21 Jul 2022 01:05:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t7XUTl37+1m2Ab0B5OqHlkzyVn9+6ght/40rJ+/eLTMpTH/iN6YKE55N36cQT1pmclp53v X-Received: by 2002:a17:907:2724:b0:72b:526f:6389 with SMTP id d4-20020a170907272400b0072b526f6389mr38656469ejl.289.1658390705431; Thu, 21 Jul 2022 01:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658390705; cv=none; d=google.com; s=arc-20160816; b=SFlnEEd4EDPIis210SCGr9q9F8emvSwVvKnt/8sksnMHW6d4q/Kmn43qOXoVEAg0Yo AjhQhzpN/FqLjvjBFQgSjpQTSJOGPSZ65TQfD+ncrxyRSBpkgFtoEWfBuk70DZI1cL2A 3Jz4hkUzkDCpe9Jr5+T3Ykqdz/NVo7hfBKkN8VciSvsxS5SULDTkweqhilvt5iXm8umA z9pd/hsXLJAz09CXPP+NASVlFRcTlUJoH024hnCMTIXKsxNYRTzdCutto9bZyH0Y+Xdt au5L9THn0W9MS6RXiFxC3LmtFAE7oiLw2fzp/RH2x4wdvPLCDvt0G8MF4Xroho4b/faN rJUw== 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 :message-id:date:subject:cc:to:from:authenticated-by; bh=T0JXo6FknTQYxXLIcnSMZ5N21dmYm/xXsjhTx6iehzQ=; b=nQfNBIf66KYEC5sMap6TaS0rlSwM71Pmf5E+IwtYP2/VJsTARaJiMYtt0XqO7jSgE8 M9ZBUqdPi+6m0673iSpVeah9C4m0XnCTUd5KhPA+zhQ0V7cSRSYodfd/PPVq/t+IReTs L3o5TsjG9bVRKXg8cVlrwACrbXPghc6XBlEVgh9RKzDOg5GBs8qfBeNHcgNZQ5OyOxEP M3PKeWh9o/x+ZwutrlFtqgPbxWbQkTJWv3IyYCNX9VeOUA8fmcVomCA1ub+uf1UesksL b73GJWGNuiHkrpRSoLN0n8nGwdgxY3aPRmAr2/jZ4+/IippvMUrlRjDTAgflObleT0wZ zkFQ== 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 gb10-20020a170907960a00b0071578ad44a1si1706645ejc.986.2022.07.21.01.04.37; Thu, 21 Jul 2022 01:05:05 -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 S230350AbiGUHub (ORCPT + 65 others); Thu, 21 Jul 2022 03:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbiGUHua (ORCPT ); Thu, 21 Jul 2022 03:50:30 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C186A3DF2C for ; Thu, 21 Jul 2022 00:50:26 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 26L7o5zL5027819, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36504.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 26L7o5zL5027819 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Thu, 21 Jul 2022 15:50:05 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36504.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.2375.7; Thu, 21 Jul 2022 15:50:10 +0800 Received: from localhost (172.21.69.188) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 21 Jul 2022 15:50:09 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH] rtw89: 8852a: adjust IMR for SER L1 Date: Thu, 21 Jul 2022 15:49:52 +0800 Message-ID: <20220721074952.19676-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.21.69.188] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: trusted connection X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Deterministic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 07/21/2022 07:29:00 X-KSE-AttachmentFiltering-Interceptor-Info: no applicable attachment filtering rules found X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: =?big5?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzcvMjEgpFekyCAwNjoxNDowMA==?= X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-ServerInfo: RTEXH36504.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=-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 From: Zong-Zhe Yang SER (system error recovery) L1 (level 1) has a step-by-step handshake process with FW. These handshakes still rely on B_AX_HS0ISR_IND_INT_EN. So, even already during recovery, we enable this bit in IMR. Signed-off-by: Zong-Zhe Yang Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw89/pci.c b/drivers/net/wireless/realtek/rtw89/pci.c index 73b3b7e9fe6f5..c68fec9eb5a64 100644 --- a/drivers/net/wireless/realtek/rtw89/pci.c +++ b/drivers/net/wireless/realtek/rtw89/pci.c @@ -3111,7 +3111,7 @@ void rtw89_pci_config_intr_mask(struct rtw89_dev *rtwdev) rtwpci->halt_c2h_intrs = B_AX_HALT_C2H_INT_EN | 0; if (rtwpci->under_recovery) { - rtwpci->intrs[0] = 0; + rtwpci->intrs[0] = B_AX_HS0ISR_IND_INT_EN; rtwpci->intrs[1] = 0; } else { rtwpci->intrs[0] = B_AX_TXDMA_STUCK_INT_EN | -- 2.25.1