qcacmn: Fix for SMMU fault on reo cmd desc address
Memory leak fixed in dp_rx_tid_delete_wifi3 in the case where update cmd send fails. Add the desc to the front of free desc list and set a flag to ensure that the update cmd is resent from delete rx_tid callback. In the same callback ensure that the update cmd desc is sent out first and then proceed to free other descs by sending out the flush cache cmd for each of those descs. If the flush cache cmd is not sent successfully to REO, add the REO descriptor back to the free desc list and defer the deletion to the callback function. This update is made under MCL feature flag REO_DESC_DEFER_FREE. Add a soc level stat to indicate the reo send cmd failures. Change-Id: I4e4cf47223d5325a53f2df22571895489d033ba3 CRs-Fixed: 2551028
此提交包含在:
@@ -250,4 +250,16 @@ dp_peer_update_pkt_capture_params(struct cdp_pdev *pdev,
|
||||
bool is_rx_pkt_cap_enable,
|
||||
bool is_tx_pkt_cap_enable,
|
||||
uint8_t *peer_mac);
|
||||
|
||||
/*
|
||||
* dp_rx_tid_delete_cb() - Callback to flush reo descriptor HW cache
|
||||
* after deleting the entries (ie., setting valid=0)
|
||||
*
|
||||
* @soc: DP SOC handle
|
||||
* @cb_ctxt: Callback context
|
||||
* @reo_status: REO command status
|
||||
*/
|
||||
void dp_rx_tid_delete_cb(struct dp_soc *soc,
|
||||
void *cb_ctxt,
|
||||
union hal_reo_status *reo_status);
|
||||
#endif /* _DP_PEER_H_ */
|
||||
|
新增問題並參考
封鎖使用者