diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2022-06-26 18:20:03 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2022-07-12 09:09:27 +0300 |
commit | d7bb1ac89b2f5e230ec87659dabd2600897e49ef (patch) | |
tree | e3874b2d93e24b856caaffe9b7545fcf4b85f2ef /drivers/misc/habanalabs/common/habanalabs_drv.c | |
parent | 97c6d22fa4bd54cccff39e862893327eef1bbfa8 (diff) | |
download | linux-d7bb1ac89b2f5e230ec87659dabd2600897e49ef.tar.xz |
habanalabs: add gaudi2 asic-specific code
Add the ASIC-specific code for Gaudi2. Supply (almost) all of the
function callbacks that the driver's common code need to initialize,
finalize and submit workloads to the Gaudi2 ASIC.
It also contains the code to initialize the F/W of the Gaudi2 ASIC
and to receive events from the F/W.
It contains new debugfs entry to dump razwi events. razwi is a case
where the device's engines create a transaction that reaches an
invalid destination.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/common/habanalabs_drv.c')
-rw-r--r-- | drivers/misc/habanalabs/common/habanalabs_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/common/habanalabs_drv.c b/drivers/misc/habanalabs/common/habanalabs_drv.c index d02533666746..3a41dbef14f8 100644 --- a/drivers/misc/habanalabs/common/habanalabs_drv.c +++ b/drivers/misc/habanalabs/common/habanalabs_drv.c @@ -293,7 +293,6 @@ static void set_driver_behavior_per_device(struct hl_device *hdev) hdev->reset_if_device_not_idle = 1; hdev->reset_pcilink = 0; - hdev->axi_drain = 0; } static void copy_kernel_module_params_to_device(struct hl_device *hdev) |