Re: [PATCH v3] hw/riscv/virt: Add acpi ged and powerdown support

2025-07-09 Thread liu.xuemei1
On 7/1/25 2:00 AM, dbarb...@ventanamicro.com wrote: > > From: Xuemei Liu > > > > This adds powerdown support by implementing the ACPI GED. > > > > Signed-off-by: Xuemei Liu > > Co-authored-by: Björn Töpel > > > > --- > > Changes in v3: > > - Added missing param to virt_is_acpi_enabled > > - F

[PATCH v3] hw/riscv/virt: Add acpi ged and powerdown support

2025-06-20 Thread liu.xuemei1
From: Xuemei Liu This adds powerdown support by implementing the ACPI GED. Signed-off-by: Xuemei Liu Co-authored-by: Björn Töpel --- Changes in v3: - Added missing param to virt_is_acpi_enabled - Fixed failure of bios-tables-test hw/riscv/Kconfig | 1 + hw/riscv/virt-acpi

[PATCH v2] hw/riscv/virt: Add acpi ged and powerdown support

2025-06-19 Thread liu.xuemei1
From: Xuemei Liu This adds powerdown support by implementing the ACPI GED. Signed-off-by: Xuemei Liu Co-authored-by: Björn Töpel --- Changes in v2: - Unwrappered acpi_dsdt_add_ged function - Modified base address of VIRT_ACPI_GED - Added conditions for function calls - Adjusted code formattin

[PATCH] hw/riscv/virt: Add acpi ged and powerdown support

2025-06-19 Thread liu.xuemei1
From: Xuemei Liu This adds powerdown support by implementing the ACPI GED. Signed-off-by: Xuemei Liu Co-authored-by: Björn Töpel --- hw/riscv/Kconfig | 1 + hw/riscv/virt-acpi-build.c | 12 hw/riscv/virt.c| 32 include/hw/ri

[PATCH v3 RESEND] migration: Fix migration failure when aia is configured as aplic-imsic

2025-06-16 Thread liu.xuemei1
Address an error in migration when aia is configured as 'aplic-imsic' in riscv kvm vm by adding riscv_aplic_state_needed() and riscv_imsic_state_needed() to determine whether the corresponding sates are needed. Previously, the fields in the vmsds of 'riscv_aplic' and 'riscv_imsic' can only be init

[PATCH v3] migration: Fix migration failure when aia is configured as aplic-imsic

2025-05-29 Thread liu.xuemei1
Date: Mon, 12 May 2025 17:03:38 +0800 Address an error in migration when aia is configured as 'aplic-imsic' in riscv kvm vm by adding riscv_aplic_state_needed() and riscv_imsic_state_needed() to determine whether the corresponding sates are needed. Previously, the fields in the vmsds of 'riscv_ap

Re: [PATCH v2] migration: Fix migration failure when aia is configured as 'aplic-imsic'

2025-05-20 Thread liu.xuemei1
On Tue, May 13, 2025 at 2:33 AM wrote: > > > > From: Xuemei Liu > > > > Address an error in migration when aia is configured as 'aplic-imsic' in > > riscv kvm vm by adding riscv_aplic_state_needed() and > > riscv_imsic_state_needed() to determine whether the corresponding sates are > > needed. >

[PATCH v2] migration: Fix migration failure when aia is configured as 'aplic-imsic'

2025-05-12 Thread liu.xuemei1
From: Xuemei Liu Address an error in migration when aia is configured as 'aplic-imsic' in riscv kvm vm by adding riscv_aplic_state_needed() and riscv_imsic_state_needed() to determine whether the corresponding sates are needed. Previously, the fields in the vmsds of 'riscv_aplic' and 'riscv_imsi

[PATCH] migration: Fix migration failure when aia is configured as 'aplic-imsic'

2025-05-08 Thread liu.xuemei1
From: Xuemei Liu Address an error in migration by discarding 'riscv_aplic' and 'riscv_imsic' in vmstate_register_with_alias_id() when aia is configured as 'aplic-imsic' in riscv kvm vm. Previously, the fields in the vmsds of 'riscv_aplic' and 'riscv_imsic' can only be initialized under certain s