feat: specify virtual interrupt count per vCPU
Currently, in hafnium, vitual interrupt ID is tied to physical
interrupt ID. This limitation in design limits the max physical
secure interrupt that can be handled by SPMC. Hence, the number of
virtual interrupts supported for each vCPU by FVP and QEMU SPMC builds
is increased to 1024 to match the maximum number of physical
interrupts supported by GICv3 IP(excluding extended INTID range).
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I2fc58c345c6f3d09acb1ffc91e710a0d493f4924
diff --git a/BUILD.gn b/BUILD.gn
index 4406c14..08259d9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -72,6 +72,7 @@
smmu_memory_size = "0x100000"
enable_mte = "1"
plat_log_level = "LOG_LEVEL_INFO"
+ plat_num_virtual_interrupts_ids = 1024
}
}
@@ -141,6 +142,7 @@
hftest_ctrl = "//test/hftest:ctrl_uart"
enable_mte = "1"
plat_log_level = "LOG_LEVEL_INFO"
+ plat_num_virtual_interrupts_ids = 1024
}
}
@@ -193,5 +195,6 @@
pl011_base_address = "0x7ff80000"
enable_mte = "1"
plat_log_level = "LOG_LEVEL_INFO"
+ plat_num_virtual_interrupts_ids = 1024
}
}