소스 검색

cnss2: Start Device RDDM timer after Host REQ

For the cases where SOL is not enabled, Host REQ
reset will be used for second RDDM entry. If Host
REQ reset is success, start RDDM timer to wait for
RDDM status callback from MHI. If RDDM timer get
timedout read EE register to check for RDDM state
and schedule recovery.

Change-Id: I34253526ff4b20aedf8ab8f1f49831f68a3e0a35
CRs-Fixed: 3727389
Naman Padhiar 1 년 전
부모
커밋
8f70367411
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      cnss2/pci.c

+ 2 - 1
cnss2/pci.c

@@ -6135,7 +6135,7 @@ int cnss_pci_force_fw_assert_hdlr(struct cnss_pci_data *pci_priv)
 		cnss_pr_dbg("Sending Host Reset Req\n");
 		if (!cnss_mhi_force_reset(pci_priv)) {
 			ret = 0;
-			goto runtime_pm_put;
+			goto mhi_reg_dump;
 		}
 
 		cnss_pci_dump_debug_reg(pci_priv);
@@ -6145,6 +6145,7 @@ int cnss_pci_force_fw_assert_hdlr(struct cnss_pci_data *pci_priv)
 		goto runtime_pm_put;
 	}
 
+mhi_reg_dump:
 	if (pci_priv->is_smmu_fault) {
 		cnss_pci_mhi_reg_dump(pci_priv);
 		pci_priv->is_smmu_fault = false;