Re: [PATCH 1/1] hw/loongarch/virt: add system_powerdown hmp command support

2023-02-06 Thread Philippe Mathieu-Daudé
On 12/1/23 07:11, Song Gao wrote: For loongarch virt machine, add powerdown notification callback and send ACPI_POWER_DOWN_STATUS event by acpi ged. Also add acpi dsdt table for ACPI_POWER_BUTTON_DEVICE device in this patch. Signed-off-by: Song Gao --- hw/loongarch/acpi-build.c | 1 + hw/

Re: [PATCH 1/1] hw/loongarch/virt: add system_powerdown hmp command support

2023-02-06 Thread gaosong
Ping !! 在 2023/1/31 下午8:05, gaosong 写道: Ping ! 在 2023/1/12 下午2:11, Song Gao 写道: For loongarch virt machine, add powerdown notification callback and send ACPI_POWER_DOWN_STATUS event by acpi ged. Also add acpi dsdt table for ACPI_POWER_BUTTON_DEVICE device in this patch. Signed-off-by: Song Ga

Re: [PATCH 1/1] hw/loongarch/virt: add system_powerdown hmp command support

2023-01-31 Thread gaosong
Ping ! 在 2023/1/12 下午2:11, Song Gao 写道: For loongarch virt machine, add powerdown notification callback and send ACPI_POWER_DOWN_STATUS event by acpi ged. Also add acpi dsdt table for ACPI_POWER_BUTTON_DEVICE device in this patch. Signed-off-by: Song Gao --- hw/loongarch/acpi-build.c | 1

[PATCH 1/1] hw/loongarch/virt: add system_powerdown hmp command support

2023-01-11 Thread Song Gao
For loongarch virt machine, add powerdown notification callback and send ACPI_POWER_DOWN_STATUS event by acpi ged. Also add acpi dsdt table for ACPI_POWER_BUTTON_DEVICE device in this patch. Signed-off-by: Song Gao --- hw/loongarch/acpi-build.c | 1 + hw/loongarch/virt.c | 14