usb: Add support to handle USB SMMU S1 address
Update helper APIs to return physical address as well as USB SMMU stage 1 address. Physical address is used to map it to iova for remote processor. S1 address is used by xHC. Get sg table containing one or mode page sized physical address corresponding to S1 address for event ring, xfer ring and xfer buffers using dma_get_sgtable(). Accordingly update QMI response buffer for XHCI event ring, xfer ring memory info and xfer buffer. Change-Id: I6c9ea39d8a87a5bdc5a760d2a1ca85ab3024d985 Signed-off-by:Hemant Kumar <hemantk@codeaurora.org> Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment