summaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorPuranam V G Tejaswi <pvgtejas@codeaurora.org>2020-07-07 20:25:25 +0530
committerPuranam V G Tejaswi <pvgtejas@codeaurora.org>2021-03-08 11:15:06 +0530
commit87bc4ddb071587fbc03a43327a842542d996764e (patch)
treeb3a5f8bed73a45d21b8671636c6f4c5246bec653 /lib/cpu-notifier-error-inject.c
parent66b4b5d53454291e6f81baf5d0d4f03d680d492e (diff)
msm: kgsl: Disable all yield packets for secure contexts
Preemption of secure context is not supported in A5x. Currently we disable preemptive context switching during execution of commands from secure contexts by placing appropriate PREEMPT_ENABLE_GLOBAL/LOCAL packets in ringbuffer. These packets have no effect on the behavior of CONTEXT_SWITCH_YIELD packet. So a cooperative context switch (yield) can still be serviced. To avoid this, disable all yield packets in case of secure contexts. Change-Id: Icfd73795ca4dccfc04f7a5b4497a908b15794e5a Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions