id = 1948 title = "ARM GICv3 cannot support irq number > 992" state = "opened" created_at = "2023-10-17T02:59:17.701Z" closed_at = "n/a" labels = ["target: arm"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1948" host-os = "Linux" host-arch = "x86" qemu-version = "v7.2.0" guest-os = "Linux" guest-arch = "ARM" description = """If we want to create a gic with supported irq number 992, we need to set the `num-irq` property to 992 + 32 while 32 is the extra SGI number. But there is a problem, when QEMU initialize GICv3, it will check the variable `num_irq <= 1020 && (num_irq & 32) == 0`, which will lead to error abort. So there is no way to bypass the ```num_irq <= 1020``` check and we cannot use irq number bigger than 992 while in ARM GIC specification, irq number < 1020 should all be aviliable to use.""" reproduce = "n/a" additional = "n/a"