habanalabs: fix report of RAZWI initiator coordinates
authorOfir Bitton <obitton@habana.ai>
Wed, 26 Aug 2020 14:34:26 +0000 (17:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 10:59:49 +0000 (12:59 +0200)
commit6cbfc91797d447084d7714e8c9c34f41d110b3d9
tree4ebb4e41fc67ad614d31eec6e285bb31f0041b1f
parent48ef8d42478f7d139a1da31f316b9736a75b6d79
habanalabs: fix report of RAZWI initiator coordinates

[ Upstream commit 69c6e18d0ce9980c8c6708f1fdb4ba843f8df172 ]

All initiator coordinates received upon an 'MMU page fault RAZWI
event' should be the routers coordinates, the only exception is the
DMA initiators for which the reported coordinates correspond to
their actual location.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/habanalabs/include/gaudi/gaudi_masks.h