V3 patch update: Implemented IOVA partitioning for the FastRPC CDSP compute context, separating ordinary allocations (lower 1.5 GiB) from large allocations (upper 2.5 GiB). This prevents small active mappings from fragmenting the address space required for the 2.07 GiB persistent weights buffer.
Validation on Arduino Ventuno Q (6.8.12-qcom-iova-v3): 12 consecutive QNN HTP executions without rebooting, all allocating at 0x7b600000, producing bit-for-bit identical outputs, with no reported mapping failures, cache flush retries or kernel warnings matching our diagnostic filters. V3 resolves the observed alignment and fragmentation issues for the tested workload. The patch remains a device-specific workaround rather than a general-purpose upstream solution. ** Patch added: "fastrpc-large-iova-v3-incremental.patch" https://bugs.launchpad.net/ubuntu/+source/linux-qcom/+bug/2190839/+attachment/6025289/+files/fastrpc-large-iova-v3-incremental.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2190839 Title: FastRPC: IOVA allocation fails for buffers larger than 2 GiB within a 32-bit DMA aperture To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-qcom/+bug/2190839/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
