habanalabs: correctly report inbound pci region cfg error
authorOfir Bitton <obitton@habana.ai>
Tue, 11 Aug 2020 05:11:49 +0000 (08:11 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 22 Aug 2020 09:47:58 +0000 (12:47 +0300)
commit5aba368893c0d9e275f4b823e053fd16155f63b9
tree5d54d24c3d005f48a9a8148e71225465847e1776
parent0839152f8c1efc1cc2d515d1ff1e253ca9402ad3
habanalabs: correctly report inbound pci region cfg error

During inbound iATU configuration we can get errors while
configuring PCI registers, there is a certain scenario in which these
errors are not reflected and driver is loaded with wrong configuration.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/common/pci.c