]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8c33180094698ed980c75a6e4b63301890268d5
treeaa19ecddef7bf303f42e80aa5816e59d93e6fef2
parentfb8c6672f8e7fcb9967388c16f43b334170da3a0
habanalabs: extend fatal messages to contain PCI info

[ Upstream commit ed26cf1e3a85f724ed0c2f242cc64bb5dea0b0ef ]

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