qcacmn: Add support for WLAN-IPA WDI2 with SMMU Stage 1
Update WLAN-IPA WDI-2 datapath for DMA buffer sharing with SMMU Stage 1 translation support. When SMMU Stage 1 is enabled DMA APIs return IO virtual address(IOVA) instead of physical address. This IOVA need to mapped to physical address by IPA module before accessing them. Change-Id: I33082bc74760b0f12c348238c6f48f5ce5750172 CRS-Fixed: 2072953
This commit is contained in:

committad av
nshrivas

förälder
59c25048cd
incheckning
58e0adfb53
@@ -747,14 +747,12 @@ void htc_vote_link_down(HTC_HANDLE HTCHandle);
|
||||
void htc_vote_link_up(HTC_HANDLE HTCHandle);
|
||||
#ifdef IPA_OFFLOAD
|
||||
void htc_ipa_get_ce_resource(HTC_HANDLE htc_handle,
|
||||
qdf_dma_addr_t *ce_sr_base_paddr,
|
||||
qdf_shared_mem_t **ce_sr,
|
||||
uint32_t *ce_sr_ring_size,
|
||||
qdf_dma_addr_t *ce_reg_paddr);
|
||||
#else
|
||||
#define htc_ipa_get_ce_resource(htc_handle, \
|
||||
ce_sr_base_paddr, \
|
||||
ce_sr_ring_size, \
|
||||
ce_reg_paddr) /* NO-OP */
|
||||
ce_sr, ce_sr_ring_size, ce_reg_paddr) /* NO-OP */
|
||||
#endif /* IPA_OFFLOAD */
|
||||
|
||||
#if defined(DEBUG_HL_LOGGING) && defined(CONFIG_HL_SUPPORT)
|
||||
|
Referens i nytt ärende
Block a user