diff options
author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2020-01-08 09:25:00 -0800 |
---|---|---|
committer | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2020-01-09 07:18:02 -0800 |
commit | bc8a76a152c5f9ef3b48104154a65a68a8b76946 (patch) | |
tree | a62b31b65787d3531adcce6763465f64cd228d49 /drivers/net/usb/lan78xx.c | |
parent | c79f46a282390e0f5b306007bf7b11a46d529538 (diff) | |
download | linux-bc8a76a152c5f9ef3b48104154a65a68a8b76946.tar.gz linux-bc8a76a152c5f9ef3b48104154a65a68a8b76946.tar.bz2 linux-bc8a76a152c5f9ef3b48104154a65a68a8b76946.zip |
drm/i915/gen9: Clear residual context state on context switch
Intel ID: PSIRT-TA-201910-001
CVEID: CVE-2019-14615
Intel GPU Hardware prior to Gen11 does not clear EU state
during a context switch. This can result in information
leakage between contexts.
For Gen8 and Gen9, hardware provides a mechanism for
fast cleardown of the EU state, by issuing a PIPE_CONTROL
with bit 27 set. We can use this in a context batch buffer
to explicitly cleardown the state on every context switch.
As this workaround is already in place for gen8, we can borrow
the code verbatim for Gen9.
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Cc: Kumar Valsan Prathap <prathap.kumar.valsan@intel.com>
Cc: Chris Wilson <chris.p.wilson@intel.com>
Cc: Balestrieri Francesco <francesco.balestrieri@intel.com>
Cc: Bloomfield Jon <jon.bloomfield@intel.com>
Cc: Dutt Sudeep <sudeep.dutt@intel.com>
Diffstat (limited to 'drivers/net/usb/lan78xx.c')
0 files changed, 0 insertions, 0 deletions