ANDROID: iommu: Define vendor hook to limit max alignment
When the IOVA framework applies IOVA alignment it aligns all IOVAs to the smallest PAGE_SIZE order which is greater than or equal to the requested IOVA size. We support use cases that requires large buffers (> 64 MB in size) to be allocated and mapped in their stage 1 page tables. However, with this alignment scheme we find ourselves running out of IOVA space for 32 bit devices, Define a vendor hook to allow limiting the alignment value used when allocating IOVAs. We addressed this issue in Android13-5.15 with commit 989b762e ("FROMLIST: iommu/iova: Add support for IOVA max alignment tuning") Bug: 190519428 Change-Id: I13032c1b440c050860109aae23f96c0b52782664 Link: https://lore.kernel.org/r/1634148667-409263-1-git-send-email-quic_c_gdjako@quicinc.com/ Signed-off-by:Sukadev Bhattiprolu <quic_sukadev@quicinc.com>
Loading
Please sign in to comment