|
@@ -4900,7 +4900,6 @@ void cnss_pci_collect_dump_info(struct cnss_pci_data *pci_priv, bool in_panic)
|
|
|
cnss_pci_soc_scratch_reg_dump(pci_priv);
|
|
|
cnss_pci_dump_misc_reg(pci_priv);
|
|
|
cnss_pci_dump_shadow_reg(pci_priv);
|
|
|
- cnss_pci_dump_qdss_reg(pci_priv);
|
|
|
|
|
|
ret = mhi_download_rddm_image(pci_priv->mhi_ctrl, in_panic);
|
|
|
if (ret) {
|
|
@@ -4916,6 +4915,8 @@ void cnss_pci_collect_dump_info(struct cnss_pci_data *pci_priv, bool in_panic)
|
|
|
rddm_image = pci_priv->mhi_ctrl->rddm_image;
|
|
|
dump_data->nentries = 0;
|
|
|
|
|
|
+ if (plat_priv->qdss_mem_seg_len)
|
|
|
+ cnss_pci_dump_qdss_reg(pci_priv);
|
|
|
cnss_mhi_dump_sfr(pci_priv);
|
|
|
|
|
|
if (!dump_seg) {
|