habanalabs: extend fatal messages to contain PCI info
authorMoti Haimovski <mhaimovski@habana.ai>
Thu, 29 Dec 2022 10:44:09 +0000 (12:44 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 26 Jan 2023 09:52:12 +0000 (11:52 +0200)
commit2a0a839b6a28f7c4c528bb75b740c7f38ef79a37
tree1e71f83460c5fc4b159115d540cddf9a0db302f4
parenteaca606e88ca22932af5b8ea36f302de14e81ed9
habanalabs: extend fatal messages to contain PCI info

This commit attaches the PCI device address to driver fatal messages
in order to ease debugging in multi-device setups.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/device.c