msm: ADSPRPC: Clear output buffers before cache invalidation
Cache operations via userspace address has a risk of a page fault as on arm64 these addresses are marked as write protect and fixed up on first access. To avoid aborts happening when the mmap semaphore is locked at this time, clear non-overlapped output buffers before caches could be invalidated. Change-Id: Iedb42e6d3dca4530b1cf065ea87fee1befea3bc6 Acked-by:Sathish Ambley <sambley@qti.qualcomm.com> Signed-off-by:
Mitchel Humpherys <mitchelh@codeaurora.org>
Loading
Please register or sign in to comment