[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 7/9] hw/loongarch: Fix acpi ged irq number in dsdt table
From: |
Xiaojuan Yang |
Subject: |
[PATCH v1 7/9] hw/loongarch: Fix acpi ged irq number in dsdt table |
Date: |
Thu, 8 Sep 2022 17:46:21 +0800 |
In dsdt, acpi ged irq should use gsi number, and the
VIRT_SCI_IRQ means it.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
---
hw/loongarch/acpi-build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/loongarch/acpi-build.c b/hw/loongarch/acpi-build.c
index d0f01a6485..95e30975a8 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);
}
--
2.31.1
- [PATCH v1 0/9] Fix bugs and improve functions for LoongArch, Xiaojuan Yang, 2022/09/08
- [PATCH v1 4/9] hw/loongarch: Add platform bus support, Xiaojuan Yang, 2022/09/08
- [PATCH v1 2/9] hw/loongarch: Support fw_cfg dma function, Xiaojuan Yang, 2022/09/08
- [PATCH v1 5/9] hw/loongarch: Add hotplug handler for machine, Xiaojuan Yang, 2022/09/08
- [PATCH v1 1/9] hw/loongarch: Remove vga device when loongarch init, Xiaojuan Yang, 2022/09/08
- [PATCH v1 3/9] hw/loongarch: Add interrupt information to FDT table, Xiaojuan Yang, 2022/09/08
- [PATCH v1 6/9] hw/loongarch: Add RAMFB to dynamic_sysbus_devices list, Xiaojuan Yang, 2022/09/08
- [PATCH v1 7/9] hw/loongarch: Fix acpi ged irq number in dsdt table,
Xiaojuan Yang <=
- [PATCH v1 8/9] hw/loongarch: Support memory hotplug, Xiaojuan Yang, 2022/09/08
- [PATCH v1 9/9] hw/loongarch: Improve acpi dsdt table, Xiaojuan Yang, 2022/09/08
- Re: [PATCH v1 0/9] Fix bugs and improve functions for LoongArch, gaosong, 2022/09/13