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
This commit is contained in:
Naman Padhiar 2024-02-07 20:45:12 +05:30 committed by Ravindra Konda
parent e38803e8a0
commit 8f70367411

View File

@ -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;