accel/ivpu: Call diagnose failure in ivpu_mmu_cmdq_sync()
authorWachowski, Karol <karol.wachowski@intel.com>
Mon, 15 Jan 2024 13:44:27 +0000 (14:44 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 22 Jan 2024 09:27:43 +0000 (10:27 +0100)
commit929acfb9c53986d5ba37cfb9e1172ad79735f8eb
tree1691f2a3e9b927d06ee16b38607e16146b9f38b1
parent30cf36bb0408a163eb3d58ea6b883c612c029286
accel/ivpu: Call diagnose failure in ivpu_mmu_cmdq_sync()

Check for possible failure reasons in the buttress.
Some errors (like external abort) should have corresponding buttress errors
registers set indicating the real reason of failure.

Signed-off-by: Wachowski, Karol <karol.wachowski@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240115134434.493839-3-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_mmu.c