Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40938e6c authored by Sathish Ambley's avatar Sathish Ambley Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSathish Ambley <sathishambley@codeaurora.org>
parent 0bb69bc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment