[Intel-gfx] [PATCH 4/4] drm/i915/uc: Don't fail on HuC early init errors

Chris Wilson chris at chris-wilson.co.uk
Mon Aug 5 17:24:57 UTC 2019


Quoting Michal Wajdeczko (2019-08-04 20:50:52)
> Since commit 301efe96f777 ("drm/i915/uc: Don't fail on HuC
> firmware failure") we can continue driver load after error
> during HuC firmware load or authentication, but we could
> still fail on any error during early HuC initialization.
> Change that by ignoring HuC related errors until hardware
> initialization phase where we can decide about next steps.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

So we just leave the HuC uninitialised and HUC_STATUS should then report
no authentication. (We do scrub that at some point just in case the
million resets did not?)

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list