mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 12:10:52 +02:00
As soon as we re-enable the various functions within the HW, they may go
off and read data via a GGTT offset. Hence, if we have not yet restored
the GGTT PTE before then, they may read and even *write* random locations
in memory.
Detected by DMAR faults during resume.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Martin Peres <martin.peres@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190909110011.8958-4-chris@chris-wilson.co.uk
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| i915_active.c | ||
| i915_buddy.c | ||
| i915_gem.c | ||
| i915_gem_evict.c | ||
| i915_gem_gtt.c | ||
| i915_live_selftests.h | ||
| i915_mock_selftests.h | ||
| i915_random.c | ||
| i915_random.h | ||
| i915_request.c | ||
| i915_selftest.c | ||
| i915_sw_fence.c | ||
| i915_syncmap.c | ||
| i915_vma.c | ||
| igt_atomic.h | ||
| igt_flush_test.c | ||
| igt_flush_test.h | ||
| igt_live_test.c | ||
| igt_live_test.h | ||
| igt_reset.c | ||
| igt_reset.h | ||
| igt_spinner.c | ||
| igt_spinner.h | ||
| intel_uncore.c | ||
| lib_sw_fence.c | ||
| lib_sw_fence.h | ||
| mock_drm.c | ||
| mock_drm.h | ||
| mock_gem_device.c | ||
| mock_gem_device.h | ||
| mock_gtt.c | ||
| mock_gtt.h | ||
| mock_request.c | ||
| mock_request.h | ||
| mock_uncore.c | ||
| mock_uncore.h | ||
| scatterlist.c | ||