habanalabs/gaudi: skip iATU if F/W security is enabled
authorOfir Bitton <obitton@habana.ai>
Wed, 10 Mar 2021 13:08:44 +0000 (15:08 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 9 Apr 2021 11:09:25 +0000 (14:09 +0300)
commit41f458f205a508dcdce58bdaa0af35bb6ef6efdb
tree96f38790194df0f10acb2a68950ed033aecd9aec
parente5042a6fa6d4aa1168b3521298c92a53978c9d99
habanalabs/gaudi: skip iATU if F/W security is enabled

As part of the securing GAUDI, the F/W will configure the PCI iATU
regions. If the driver identifies a secured PCI ID, it will know to
skip iATU configuration in a very early stage.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/pci/pci.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c