summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Osipenko <dmitry.osipenko@collabora.com>2022-04-12 01:15:36 +0300
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>2022-07-15 10:09:15 -0400
commit9b04369b060fd4885f728b7a4ab4851ffb1abb64 (patch)
treef45ce0b2dd07c2da0efa6f018b747f1d384717cf /tools/perf/scripts/python
parent925b6e59138cefa47275c67891c65d48d3266d57 (diff)
downloadlinux-9b04369b060fd4885f728b7a4ab4851ffb1abb64.tar.bz2
drm/scheduler: Don't kill jobs in interrupt context
Interrupt context can't sleep. Drivers like Panfrost and MSM are taking mutex when job is released, and thus, that code can sleep. This results into "BUG: scheduling while atomic" if locks are contented while job is freed. There is no good reason for releasing scheduler's jobs in IRQ context, hence use normal context to fix the trouble. Cc: stable@vger.kernel.org Fixes: 542cff7893a3 ("drm/sched: Avoid lockdep spalt on killing a processes") Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220411221536.283312-1-dmitry.osipenko@collabora.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions