Reviewed-by: Alan Previn <alan.previn.teres.alexis@xxxxxxxxx> On Thu, 2023-02-02 at 17:10 -0800, Harrison, John C wrote: > From: John Harrison <John.C.Harrison@xxxxxxxxx> > > Error captures are tagged with an 'ecode'. This is a pseduo-unique magic > number that is meant to distinguish similar seeming bugs with > different underlying signatures. It is a combination of two ring state > registers. Unfortunately, the register state being used is only valid > in execlist mode. In GuC mode, the register state exists in a separate > list of arbitrary register address/value pairs rather than the named > entry structure. So, search through that list to find the two exciting > registers and copy them over to the structure's named members. > > v2: if else if instead of if if (Alan) > > Signed-off-by: John Harrison <John.C.Harrison@xxxxxxxxx> > Fixes: a6f0f9cf330a ("drm/i915/guc: Plumb GuC-capture into gpu_coredump") > Cc: Alan Previn <alan.previn.teres.alexis@xxxxxxxxx> > Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@xxxxxxxxx> > Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> > Cc: Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxxxxxxx> > Cc: Matt Roper <matthew.d.roper@xxxxxxxxx> > Cc: Aravind Iddamsetty <aravind.iddamsetty@xxxxxxxxx> > Cc: Michael Cheng <michael.cheng@xxxxxxxxx> > Cc: Matthew Brost <matthew.brost@xxxxxxxxx> > Cc: Bruce Chang <yu.bruce.chang@xxxxxxxxx> > Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx> > Cc: Matthew Auld <matthew.auld@xxxxxxxxx> > --- > alan:snip