mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
f8ab9aa288
commit
1cd5db2e88
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ build_dsdt(GArray *table_data, BIOSLinker *linker, MachineState *machine)
|
||||||
if (lams->acpi_ged) {
|
if (lams->acpi_ged) {
|
||||||
build_ged_aml(dsdt, "\\_SB."GED_DEVICE,
|
build_ged_aml(dsdt, "\\_SB."GED_DEVICE,
|
||||||
HOTPLUG_HANDLER(lams->acpi_ged),
|
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);
|
VIRT_GED_EVT_ADDR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue