Commit ae937492 authored by Ofir Bitton's avatar Ofir Bitton Committed by Oded Gabbay

habanalabs/gaudi2: remove old interrupt mappings

Interrupt enumration has changed some time ago but the old mapping
was accidentally left in the driver.
Signed-off-by: default avatarOfir Bitton <obitton@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent cd6b0cea
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "../include/gaudi2/gaudi2_packets.h" #include "../include/gaudi2/gaudi2_packets.h"
#include "../include/gaudi2/gaudi2_fw_if.h" #include "../include/gaudi2/gaudi2_fw_if.h"
#include "../include/gaudi2/gaudi2_async_events.h" #include "../include/gaudi2/gaudi2_async_events.h"
#include "../include/gaudi2/gaudi2_async_virt_events.h"
#define GAUDI2_LINUX_FW_FILE "habanalabs/gaudi2/gaudi2-fit.itb" #define GAUDI2_LINUX_FW_FILE "habanalabs/gaudi2/gaudi2-fit.itb"
#define GAUDI2_BOOT_FIT_FILE "habanalabs/gaudi2/gaudi2-boot-fit.itb" #define GAUDI2_BOOT_FIT_FILE "habanalabs/gaudi2/gaudi2-boot-fit.itb"
...@@ -511,8 +510,6 @@ struct dup_block_ctx { ...@@ -511,8 +510,6 @@ struct dup_block_ctx {
* @hbm_cfg: HBM subsystem settings * @hbm_cfg: HBM subsystem settings
* @hw_queues_lock_mutex: used by simulator instead of hw_queues_lock. * @hw_queues_lock_mutex: used by simulator instead of hw_queues_lock.
* @kdma_lock_mutex: used by simulator instead of kdma_lock. * @kdma_lock_mutex: used by simulator instead of kdma_lock.
* @use_deprecated_event_mappings: use old event mappings which are about to be
* deprecated
*/ */
struct gaudi2_device { struct gaudi2_device {
int (*cpucp_info_get)(struct hl_device *hdev); int (*cpucp_info_get)(struct hl_device *hdev);
......
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright 2022 HabanaLabs, Ltd.
* All Rights Reserved.
*
*/
#ifndef __GAUDI2_ASYNC_VIRT_EVENTS_H_
#define __GAUDI2_ASYNC_VIRT_EVENTS_H_
enum gaudi2_async_virt_event_id {
GAUDI2_EVENT_NIC3_QM1_OLD = 1206,
GAUDI2_EVENT_NIC4_QM0_OLD = 1207,
GAUDI2_EVENT_NIC4_QM1_OLD = 1208,
GAUDI2_EVENT_NIC5_QM0_OLD = 1209,
GAUDI2_EVENT_NIC5_QM1_OLD = 1210,
GAUDI2_EVENT_NIC6_QM0_OLD = 1211,
GAUDI2_EVENT_NIC6_QM1_OLD = 1212,
GAUDI2_EVENT_NIC7_QM0_OLD = 1213,
GAUDI2_EVENT_NIC7_QM1_OLD = 1214,
GAUDI2_EVENT_NIC8_QM0_OLD = 1215,
GAUDI2_EVENT_NIC8_QM1_OLD = 1216,
GAUDI2_EVENT_NIC9_QM0_OLD = 1217,
GAUDI2_EVENT_NIC9_QM1_OLD = 1218,
GAUDI2_EVENT_NIC10_QM0_OLD = 1219,
GAUDI2_EVENT_NIC10_QM1_OLD = 1220,
GAUDI2_EVENT_NIC11_QM0_OLD = 1221,
GAUDI2_EVENT_NIC11_QM1_OLD = 1222,
GAUDI2_EVENT_CPU_PKT_SANITY_FAILED_OLD = 1223,
GAUDI2_EVENT_CPU0_STATUS_NIC0_ENG0_OLD = 1224,
GAUDI2_EVENT_CPU0_STATUS_NIC0_ENG1_OLD = 1225,
GAUDI2_EVENT_CPU1_STATUS_NIC1_ENG0_OLD = 1226,
GAUDI2_EVENT_CPU1_STATUS_NIC1_ENG1_OLD = 1227,
GAUDI2_EVENT_CPU2_STATUS_NIC2_ENG0_OLD = 1228,
GAUDI2_EVENT_CPU2_STATUS_NIC2_ENG1_OLD = 1229,
GAUDI2_EVENT_CPU3_STATUS_NIC3_ENG0_OLD = 1230,
GAUDI2_EVENT_CPU3_STATUS_NIC3_ENG1_OLD = 1231,
GAUDI2_EVENT_CPU4_STATUS_NIC4_ENG0_OLD = 1232,
GAUDI2_EVENT_CPU4_STATUS_NIC4_ENG1_OLD = 1233,
GAUDI2_EVENT_CPU5_STATUS_NIC5_ENG0_OLD = 1234,
GAUDI2_EVENT_CPU5_STATUS_NIC5_ENG1_OLD = 1235,
GAUDI2_EVENT_CPU6_STATUS_NIC6_ENG0_OLD = 1236,
GAUDI2_EVENT_CPU6_STATUS_NIC6_ENG1_OLD = 1237,
GAUDI2_EVENT_CPU7_STATUS_NIC7_ENG0_OLD = 1238,
GAUDI2_EVENT_CPU7_STATUS_NIC7_ENG1_OLD = 1239,
GAUDI2_EVENT_CPU8_STATUS_NIC8_ENG0_OLD = 1240,
GAUDI2_EVENT_CPU8_STATUS_NIC8_ENG1_OLD = 1241,
GAUDI2_EVENT_CPU9_STATUS_NIC9_ENG0_OLD = 1242,
GAUDI2_EVENT_CPU9_STATUS_NIC9_ENG1_OLD = 1243,
GAUDI2_EVENT_CPU10_STATUS_NIC10_ENG0_OLD = 1244,
GAUDI2_EVENT_CPU10_STATUS_NIC10_ENG1_OLD = 1245,
GAUDI2_EVENT_CPU11_STATUS_NIC11_ENG0_OLD = 1246,
GAUDI2_EVENT_CPU11_STATUS_NIC11_ENG1_OLD = 1247,
GAUDI2_EVENT_ARC_DCCM_FULL_OLD = 1248,
};
#endif /* __GAUDI2_ASYNC_VIRT_EVENTS_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment