habanalabs: extend fatal messages to contain PCI info
authorMoti Haimovski <mhaimovski@habana.ai>
Thu, 29 Dec 2022 10:44:09 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:58 +0000 (09:33 +0100)
commit60be7280850135942fa9914b65bd56d61b842c47
treeaa19ecddef7bf303f42e80aa5816e59d93e6fef2
parent8f720a79bc66a81b6373ba38a1b6b8fdea838143
habanalabs: extend fatal messages to contain PCI info

[ Upstream commit 2a0a839b6a28f7c4c528bb75b740c7f38ef79a37 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/habanalabs/common/device.c