msm: ADSPRPC: Invalidate buffer using kernel virtual address
Cache operations via userspace address has a risk of page fault
as these are marked as write protect and fixed up on first
access. The fixup requires the mmap semaphore to be unlocked and
will abort otherwise. To avoid the abort, always invalidate via
the kernel virtual address instead.
Change-Id: Id5ee6c48380f707b9744f23c2a558631d609761d
Signed-off-by:
Sathish Ambley <sathishambley@codeaurora.org>
Loading
Please register or sign in to comment