From 86fb2be59f3960d3695d99cb1f12a2a73e921e6f Mon Sep 17 00:00:00 2001 From: bisingha Date: Thu, 4 Apr 2024 16:43:02 +0530 Subject: [PATCH] Defining Mailbox Macro for QDMA to fix APU crash on RAVE QDMA blindly registers intr for mailbox even if its disabled on the hw. NOTE: this is a workaround to move forward with this https://jira.xilinx.com/browse/CR-1193112 Once QDMA fixes the issue this commit should be reverted Signed-off-by: bisingha --- src/runtime_src/core/pcie/driver/linux/xocl/userpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime_src/core/pcie/driver/linux/xocl/userpf/Makefile b/src/runtime_src/core/pcie/driver/linux/xocl/userpf/Makefile index 5d5f09c7822..9a706055f17 100644 --- a/src/runtime_src/core/pcie/driver/linux/xocl/userpf/Makefile +++ b/src/runtime_src/core/pcie/driver/linux/xocl/userpf/Makefile @@ -120,7 +120,7 @@ PWD := $(shell pwd) ROOT := $(dir $(M)) XILINXINCLUDE := -I$(ROOT) -I$(ROOT)/../include -I$(ROOT)/../../../../include -I$(ROOT)/../../../../common/drv/include -ccflags-y += $(XILINXINCLUDE) -DPF=USERPF -D__XRT__ +ccflags-y += $(XILINXINCLUDE) -DPF=USERPF -D__XRT__ -DMBOX_INTERRUPT_DISABLE ifeq ($(DEBUG),1) ccflags-y += -DDEBUG endif