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

Skip to content
Commit 8571a761 authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Karsten Tausche
Browse files

msm: kgsl: Keep postamble packets in a privileged buffer



Postamble packets are executed in privileged mode by gpu. So we should keep
them in a privileged scratch buffer to block userspace access. For
targets with APRIV feature support, we can mark the preemption scratch
buffer as privileged too to avoid similar issues in future.

Change-Id: Ifda360dda251083f38dfde80ce1b5dc83daae902
Signed-off-by: default avatarAkhil P Oommen <quic_akhilpo@quicinc.com>
Signed-off-by: default avatarKaushal Sanadhya <quic_ksanadhy@quicinc.com>
Issue: FP3SEC-998
(cherry picked from commit f390de8ae4338102b9759dc2c9db39c3bcd646c5)
(cherry picked from commit 787b830f806ee3be81ccea5d657ea491577becc6)
parent 2ec11947
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment