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

Commit a0a21ae8 authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Sathish Ambley
Browse files

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: default avatarSathish Ambley <sambley@qti.qualcomm.com>
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent da3a668f
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