]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reboot CI if forcewake fails
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 May 2019 11:52:45 +0000 (12:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 May 2019 12:58:31 +0000 (13:58 +0100)
commite0623beb3316525d282aea0f273d402944c4afa7
tree30efd76910fa309d8bb225d91ccd1183d371acd7
parent6c7da6335c468cca6098b7f9294ad309c3e8649f
drm/i915: Reboot CI if forcewake fails

If the HW fails to ack a change in forcewake status, the machine is as
good as dead -- it may recover, but in reality it missed the mmio
updates and is now in a very inconsistent state. If it happens, we can't
trust the CI results (or at least the fails may be genuine but due to
the HW being dead and not the actual test!) so reboot the machine (CI
checks for a kernel taint in between each test and reboots if the
machine is tainted).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190508115245.27790-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_reset.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uncore.c