qcacmn: Avoid using small buffer address
The memory below 0x2000 is reserved for the target use, so any memory in this region should not used by host. But on some third-party platforms, we observe such memory is allocated for RX buffer, which cause HW/FW NOC error, then RX is stuck. To address this, re-allocate RX buffers when small buffer appear. Change-Id: Iad118e82f3fe10f92cbf5f7388dc0960542fc03c CRs-Fixed: 2707190
Cette révision appartient à :
@@ -4805,6 +4805,8 @@ static void dp_soc_deinit(void *txrx_soc)
|
||||
|
||||
qdf_nbuf_queue_free(&soc->htt_stats.msg);
|
||||
|
||||
qdf_nbuf_queue_free(&soc->invalid_buf_queue);
|
||||
|
||||
qdf_spinlock_destroy(&soc->rx.defrag.defrag_lock);
|
||||
|
||||
qdf_spinlock_destroy(&soc->vdev_map_lock);
|
||||
@@ -12529,6 +12531,7 @@ void *dp_soc_init(struct dp_soc *soc, HTC_HANDLE htc_handle,
|
||||
qdf_list_create(&soc->reo_desc_freelist, REO_DESC_FREELIST_SIZE);
|
||||
INIT_RX_HW_STATS_LOCK(soc);
|
||||
|
||||
qdf_nbuf_queue_init(&soc->invalid_buf_queue);
|
||||
/* fill the tx/rx cpu ring map*/
|
||||
dp_soc_set_txrx_ring_map(soc);
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur