accel/habanalabs: don't trace cpu accessible dma alloc/free
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Wed, 1 Feb 2023 16:46:10 +0000 (18:46 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:13 +0000 (13:29 +0200)
commit4a2e9d11fc5ae5b9f6ad974b42dad3a4192d0be8
tree7f6fa57b977a671f12fa058152625dd3d93da28d
parent1d0f9ad7ce2e6eb89ec46f603c4a8c7e71301296
accel/habanalabs: don't trace cpu accessible dma alloc/free

The cpu accessible dma allocations use the gen_pool api which actually
does not allocate new memory from the system but manages memory already
allocated before. When tracing this together with real dma
allocation/free it cause confusing logs like a '0' dma address and
a cpu address appearing twice etc.

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
drivers/accel/habanalabs/common/device.c
drivers/accel/habanalabs/common/habanalabs.h