qcacmn: Record reo command srng events

Add debugging infrastructure to record every event posted to reo
command ring. The infrastructure maintains the record of the last
64 events posted to the ring.

Change-Id: Id56fc352050eb664a64b0abb767f3b4a6b4c3aa3
CRs-Fixed: 2552822
This commit is contained in:
Venkata Sharath Chandra Manchala
2019-10-25 18:03:25 -07:00
committato da nshrivas
parent 95b3c1a9a2
commit ea6518b89e
9 ha cambiato i file con 100 aggiunte e 24 eliminazioni

Vedi File

@@ -529,8 +529,6 @@ inline int hal_reo_cmd_flush_cache(hal_ring_handle_t hal_ring_hdl,
reo_desc = hal_srng_src_get_next(hal_soc, hal_ring_hdl);
if (!reo_desc) {
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
"%s: Out of cmd ring entries", __func__);
hal_srng_access_end(hal_soc, hal_ring_hdl);
hal_srng_dump(hal_ring_handle_to_hal_srng(hal_ring_hdl));
return -EBUSY;