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
Цей коміт міститься в:
Venkata Sharath Chandra Manchala
2019-10-25 18:03:25 -07:00
зафіксовано nshrivas
джерело 95b3c1a9a2
коміт ea6518b89e
9 змінених файлів з 100 додано та 24 видалено

Переглянути файл

@@ -801,15 +801,15 @@ enum hal_srng_dir hal_srng_get_dir(void *hal_soc, int ring_type)
void hal_srng_dump(struct hal_srng *srng)
{
if (srng->ring_dir == HAL_SRNG_SRC_RING) {
qdf_print("=== SRC RING %d ===", srng->ring_id);
qdf_print("hp %u, reap_hp %u, tp %u, cached tp %u",
hal_debug("=== SRC RING %d ===", srng->ring_id);
hal_debug("hp %u, reap_hp %u, tp %u, cached tp %u",
srng->u.src_ring.hp,
srng->u.src_ring.reap_hp,
*srng->u.src_ring.tp_addr,
srng->u.src_ring.cached_tp);
} else {
qdf_print("=== DST RING %d ===", srng->ring_id);
qdf_print("tp %u, hp %u, cached tp %u, loop_cnt %u",
hal_debug("=== DST RING %d ===", srng->ring_id);
hal_debug("tp %u, hp %u, cached tp %u, loop_cnt %u",
srng->u.dst_ring.tp,
*srng->u.dst_ring.hp_addr,
srng->u.dst_ring.cached_hp,