iris: Context incorrectly marked as guilty
@danvet notes that _iris_batch_flush
checks for EIO
or ENOMEM
return codes from execbuf2 to determine that our context has been banned. If the state tracker has registered robustness notifiers, it reports that our context was guilty. However, we can be banned even when not guilty, with non-recoverable contexts:
[07:17] <danvet> Kayden, for random reasons ended up reading _iris_batch_flush, and I think the unconditional PIPE_GUILTY_CONTEXT_RESET is rather wrong ever since we use non-recoverable ctx
[07:17] <danvet> since you get immediately banned even when not guilty
We should instead change it to do iris_batch_check_for_reset
on EIO
/ENOMEM
and report that status.