diff options
author | Antonino Maniscalco <antomani103@gmail.com> | 2024-10-03 18:12:51 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2024-10-03 13:18:34 -0700 |
commit | 3241504ea26150ab24919fdc5778c3ba40829497 (patch) | |
tree | 01c8c8368227722df3b88307b6da2c9ca10eef05 /scripts/lib/kdoc/kdoc_files.py | |
parent | 76a28f4c0cc7f026df759b6b046931e87dc158fe (diff) |
drm/msm/a6xx: Track current_ctx_seqno per ring
With preemption it is not enough to track the current_ctx_seqno globally
as execution might switch between rings.
This is especially problematic when current_ctx_seqno is used to
determine whether a page table switch is necessary as it might lead to
security bugs.
Track current context per ring.
Tested-by: Rob Clark <robdclark@gmail.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8450-HDK
Signed-off-by: Antonino Maniscalco <antomani103@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/618012/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions