From 56c7e67c0d03052d809a61bde52dbf4fba574edc Mon Sep 17 00:00:00 2001 From: Bikash Singha <138746529+bisingha-xilinx@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:58:22 +0530 Subject: [PATCH] Defining Mailbox Macro for QDMA to fix APU crash on RAVE (#8052) 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