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:Akhil P Oommen <quic_akhilpo@quicinc.com> Signed-off-by:
Kaushal Sanadhya <quic_ksanadhy@quicinc.com> Issue: FP3SEC-998 (cherry picked from commit f390de8ae4338102b9759dc2c9db39c3bcd646c5) (cherry picked from commit 787b830f806ee3be81ccea5d657ea491577becc6)
Loading
Please register or sign in to comment