accel/habanalabs: fix HBM MMU interrupt handling
authorOfir Bitton <obitton@habana.ai>
Wed, 15 Mar 2023 08:36:41 +0000 (10:36 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sat, 8 Apr 2023 07:39:34 +0000 (10:39 +0300)
commitd1943f1b97790f79474c1b55f37d24f714313bb9
tree8a25d85f3d0348e51a604907ef1f65f366220138
parent12f7701138846249fb09dd22e85b88563c708a41
accel/habanalabs: fix HBM MMU interrupt handling

Current mapping between HMMU event and HMMU block is wrong.
In addition the captured address in case of a page fault or
an access error is scrambled, Hence we must call the descramble
function.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c