Commit d8dcec1
drm/i915: fix TLB invalidation for Gen12 video and compute engines
jira LE-957
cve CVE-2022-4139
commit 04aa643
upstream-diff for_each_engine for loop structure in upstream differs
greatly from ours. COMPUTE_CLASS not taken and removed from conditional.
COMPUTE_CLASS introduced in commit 944823c.
In case of Gen12 video and compute engines, TLB_INV registers are masked -
to modify one bit, corresponding bit in upper half of the register must
be enabled, otherwise nothing happens.
CVE: CVE-2022-4139
Suggested-by: Chris Wilson <chris.p.wilson@intel.com>
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: 7938d61 ("drm/i915: Flush TLBs before releasing backing store")
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 04aa643)
Signed-off-by: David Gomez <dgomez@ciq.com>1 parent cc25257 commit d8dcec1
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
796 | 800 | | |
797 | 801 | | |
798 | 802 | | |
| |||
0 commit comments