Draft: panfrost: Add a get_device_reset_status() implementation to the CSF backend
What does this MR do and why?
Panthor can report the group state, so let's provide a get_device_reset_status() querying this state and turning it into a pipe_reset_status status.
We also take this as an opportunity to add a fault-injection mechanism, so we can easily test the context recovery mechanism we have in the CSF backend.
Kernel changes are available here.
/cc @kusma @ericsmith
Edited by Boris Brezillon