accel/ivpu: Add debug prints for MMU map/unmap operations
authorWachowski, Karol <karol.wachowski@intel.com>
Mon, 15 Jan 2024 13:44:28 +0000 (14:44 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 22 Jan 2024 09:27:47 +0000 (10:27 +0100)
commit8047d36fe563bf7ee7b28a284a0892506a6000a9
tree41052f4fd31e9670433f453f7a1a728bcdf3cc19
parent929acfb9c53986d5ba37cfb9e1172ad79735f8eb
accel/ivpu: Add debug prints for MMU map/unmap operations

It is common need to be able to see IOVA/physical to VPU addresses
mappings. Especially when debugging different kind of memory related
issues. Lack of such logs forces user to modify and recompile KMD manually.

This commit adds those logs under MMU debug mask which can be turned on
dynamically with module param during KMD load.

Signed-off-by: Wachowski, Karol <karol.wachowski@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240115134434.493839-4-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_drv.h
drivers/accel/ivpu/ivpu_mmu_context.c