Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 42e87d6b authored by Mayank Rana's avatar Mayank Rana
Browse files

USB: gsi: Use dma_get_sgtable() to update USB TRB ring and data buffer



IOVA address shall be contiguous in memory but physical address is
not guaranteed to be contiguous when USB SMMU s1 is enabled. Linux IPA
driver needs to use physical address to map it into its own context
bank if IPA SMMU s1 is enabled. Hence this change updates physical and
IOVA address related to USB TRB ring and its data buffer to Linux IPA
driver using dma_get_sgtable() API.

Change-Id: I7caef18903291e9a186dce691b64f387bf7f717e
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 1f5fdfe9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment