habanalabs/gaudi2: fix module ID for RAZWI handling
authorTomer Tayar <ttayar@habana.ai>
Thu, 22 Sep 2022 12:25:46 +0000 (15:25 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 23 Nov 2022 14:13:40 +0000 (16:13 +0200)
commit6d1c567f2ac66391edf5423247f27c82f6b82d86
tree0436720ad287d88ade6a5129e210294eb6730205
parent0502df9bbea0bd0e77c4a283e4cc34801038899a
habanalabs/gaudi2: fix module ID for RAZWI handling

RAZWI is optionally handled as part of the generic QM SEI error
handling, but it always uses PDMA as the module ID.
Fix it to use the suitable module ID according to the specific event.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi2/gaudi2.c