qcacmn: Add srng pointer register writing history support
Add srng pointer register writing history, it is helpful for debugging srng HP/TP update issue from host side. (1) if host faced UMAC source ring, record the HP value and timestamp when host write the register. (2) if host faced UMAC destination ring, record the TP value and timestamp when host write the register. Change-Id: Ib98e48e1d32defb0d8b30b854b5b0c23691cca59 CRs-Fixed: 3427908
此提交包含在:
@@ -467,6 +467,7 @@ static inline void hal_srng_write_address_32_mb(struct hal_soc *hal_soc,
|
||||
uint32_t value)
|
||||
{
|
||||
qdf_iowrite32(addr, value);
|
||||
hal_srng_reg_his_add(srng, value);
|
||||
}
|
||||
#elif defined(FEATURE_HAL_DELAYED_REG_WRITE)
|
||||
static inline void hal_srng_write_address_32_mb(struct hal_soc *hal_soc,
|
||||
@@ -483,6 +484,7 @@ static inline void hal_srng_write_address_32_mb(struct hal_soc *hal_soc,
|
||||
uint32_t value)
|
||||
{
|
||||
hal_write_address_32_mb(hal_soc, addr, value, false);
|
||||
hal_srng_reg_his_add(srng, value);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
新增問題並參考
封鎖使用者