qcacmn: Enhancement in Minidump feature

Handle minidump logging using dynamic
configurablity options. Data structures
to be logged in minidump can be configured
using internal INI file.

Change-Id: I99f12b3f98c4a9c0e15c3e5d611019e6b8d0909a
This commit is contained in:
Sumedh Baikady
2020-01-17 16:49:48 -08:00
committed by nshrivas
parent 5d64a83690
commit d188789876
11 changed files with 423 additions and 32 deletions

View File

@@ -364,7 +364,6 @@ void *hal_attach(struct hif_opaque_softc *hif_handle, qdf_device_t qdf_dev)
"%s: hal_soc allocation failed", __func__);
goto fail0;
}
qdf_minidump_log(hal, sizeof(*hal), "hal_soc");
hal->hif_handle = hif_handle;
hal->dev_base_addr = hif_get_dev_ba(hif_handle);
hal->qdf_dev = qdf_dev;
@@ -410,6 +409,8 @@ void *hal_attach(struct hif_opaque_softc *hif_handle, qdf_device_t qdf_dev)
*/
hal->init_phase = true;
qdf_minidump_log(hal, sizeof(*hal), "hal_soc");
return (void *)hal;
fail2: