habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
authorKoby Elbaz <kelbaz@habana.ai>
Wed, 19 May 2021 12:16:52 +0000 (15:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:05:43 +0000 (16:05 +0200)
commit25ddb0a42f3a9a498e9b5411a386f6bfd948583b
tree708d8c231351bbf6f2d63f56d469b808c37c8f87
parent3dd2a9daa765e67f9a008c08d6f3fdd82b1f3ae4
habanalabs/gaudi: set the correct cpu_id on MME2_QM failure

[ Upstream commit b92c637c5f5ef7e3e21dbc7bfa7f1999450f3902 ]

This fix was applied since there was an incorrect reported CPU ID to GIC
such that an error in MME2 QMAN aliased to be an arriving from DMA0_QM.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c