From 44be12a574e82a5eea2589f25be45ac88a5cc591 Mon Sep 17 00:00:00 2001 From: Ch Vamshi Krishna <40261882+chvamshi-xilinx@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:06:37 +0530 Subject: [PATCH] adding error notification on all edge devices (#8667) Co-authored-by: ch vamshi krishna --- src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c b/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c index 9be7cc55d9f..15408559e62 100644 --- a/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c +++ b/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c @@ -558,11 +558,8 @@ zocl_create_aie(struct drm_zocl_slot *slot, struct axlf *axlf, char __user *xclb } /* Register AIE error call back function. */ - /* only aie-1 supports error management*/ - if (hw_gen == 1) { - rval = aie_register_error_notification(slot->aie->aie_dev, - zocl_aie_error_cb, slot); - } + rval = aie_register_error_notification(slot->aie->aie_dev, + zocl_aie_error_cb, slot); mutex_unlock(&slot->aie_lock); zocl_init_aie(slot);