aboutsummaryrefslogtreecommitdiff
path: root/hw/loongarch/loongson3.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/loongarch/loongson3.c')
-rw-r--r--hw/loongarch/loongson3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/loongarch/loongson3.c b/hw/loongarch/loongson3.c
index bd20ebb..403dd91 100644
--- a/hw/loongarch/loongson3.c
+++ b/hw/loongarch/loongson3.c
@@ -267,6 +267,7 @@ static void loongarch_irq_init(LoongArchMachineState *lams)
}
pch_msi = qdev_new(TYPE_LOONGARCH_PCH_MSI);
+ qdev_prop_set_uint32(pch_msi, "msi_irq_base", PCH_MSI_IRQ_START);
d = SYS_BUS_DEVICE(pch_msi);
sysbus_realize_and_unref(d, &error_fatal);
sysbus_mmio_map(d, 0, LS7A_PCH_MSI_ADDR_LOW);