summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-scsiback.c
diff options
context:
space:
mode:
authorKoby Elbaz <kelbaz@habana.ai>2022-06-12 22:16:25 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-07-12 09:09:23 +0300
commit70d25e96b69eca96ded689dff8ea3e0decdf9cf7 (patch)
treefb9b43e4e8cfcdfde83ba21e43583fb123ee16bf /drivers/xen/xen-scsiback.c
parentada103b6776019b5d9a3b27b7ec478966db56768 (diff)
downloadlinux-70d25e96b69eca96ded689dff8ea3e0decdf9cf7.tar.bz2
habanalabs/gaudi: fix incorrect MME offset calculation
Once FW raised an event following a MME2 QMAN error, the driver should have gone to the corresponding status registers, trying to gather more info on the error, yet it was accidentally accessing MME1 QMAN address space. Generally, we have x4 MMEs, while 0 & 2 are marked MASTER, and 1 & 3 are marked SLAVE. The former can be addressed, yet addressing the latter is considered an access violation, and will result in a hung system, which is what unintentionally happened above. Note that this cannot happen in a secured system, since these registers are protected with range registers. Signed-off-by: Koby Elbaz <kelbaz@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/xen/xen-scsiback.c')
0 files changed, 0 insertions, 0 deletions