diff options
author | Xiaojuan Yang <yangxiaojuan@loongson.cn> | 2022-08-19 11:16:37 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2022-09-20 15:44:25 +0800 |
commit | 1cd5db2e8836dc2e1e8fe83f6a2fc101c539df0c (patch) | |
tree | 2e01fa35e9c345904f729ff5542ec403b0092975 | |
parent | f8ab9aa2883c91fb14eb583febf6a301373c8f62 (diff) | |
download | qemu-1cd5db2e8836dc2e1e8fe83f6a2fc101c539df0c.zip qemu-1cd5db2e8836dc2e1e8fe83f6a2fc101c539df0c.tar.gz qemu-1cd5db2e8836dc2e1e8fe83f6a2fc101c539df0c.tar.bz2 |
hw/loongarch: Fix acpi ged irq number in dsdt table
In dsdt, acpi ged irq should use gsi number, and the
VIRT_SCI_IRQ means it.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Acked-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20220908094623.73051-8-yangxiaojuan@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
-rw-r--r-- | hw/loongarch/acpi-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/loongarch/acpi-build.c b/hw/loongarch/acpi-build.c index d0f01a6..95e3097 100644 --- a/hw/loongarch/acpi-build.c +++ b/hw/loongarch/acpi-build.c @@ -367,7 +367,7 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, MachineState *machine) if (lams->acpi_ged) { build_ged_aml(dsdt, "\\_SB."GED_DEVICE, HOTPLUG_HANDLER(lams->acpi_ged), - VIRT_SCI_IRQ - PCH_PIC_IRQ_OFFSET, AML_SYSTEM_MEMORY, + VIRT_SCI_IRQ, AML_SYSTEM_MEMORY, VIRT_GED_EVT_ADDR); } |