aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/pci.c
diff options
context:
space:
mode:
authorMoti Haimovski <mhaimovski@habana.ai>2020-06-24 19:40:57 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-07-24 20:31:37 +0300
commita9855a2d91531001f1a952a042f17cc42ef30cb7 (patch)
tree7b9be279142498bf05ec44e3ed6968c56db297b5 /drivers/misc/habanalabs/pci.c
parenthabanalabs: verify queue can contain all cs jobs (diff)
downloadlinux-dev-a9855a2d91531001f1a952a042f17cc42ef30cb7.tar.xz
linux-dev-a9855a2d91531001f1a952a042f17cc42ef30cb7.zip
habanalabs: check for DMA errors when clearing memory
In GAUDI we use QMAN0 DMA for clearing the MMU memory region at initialization. if this operation fails it places the DMA in an error state and then when trying to initialize QMAN0 we fail and erroneously assume its the QMAN that failed. This commit adds a check and clear of such DMA errors at initialization so we will have a better understanding of what went wrong. Signed-off-by: Moti Haimovski <mhaimovski@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/pci.c')
0 files changed, 0 insertions, 0 deletions