Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-24 Thread Igor Mammedov
On Wed, 8 Feb 2023 09:06:48 +0800 Bin Meng wrote: > On Wed, Feb 8, 2023 at 2:15 AM Sunil V L wrote: > > > > On Wed, Feb 08, 2023 at 12:10:55AM +0800, Bin Meng wrote: > > > On Mon, Feb 6, 2023 at 9:24 PM Sunil V L > > > wrote: > > > > > > > > On Mon, Feb 06, 2023 at 06:17:50PM +0800, Bin Me

Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-07 Thread Sunil V L
On Wed, Feb 08, 2023 at 09:06:48AM +0800, Bin Meng wrote: > On Wed, Feb 8, 2023 at 2:15 AM Sunil V L wrote: > > > > On Wed, Feb 08, 2023 at 12:10:55AM +0800, Bin Meng wrote: > > > On Mon, Feb 6, 2023 at 9:24 PM Sunil V L wrote: > > > > > > > > On Mon, Feb 06, 2023 at 06:17:50PM +0800, Bin Meng wr

Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-07 Thread Bin Meng
On Wed, Feb 8, 2023 at 2:15 AM Sunil V L wrote: > > On Wed, Feb 08, 2023 at 12:10:55AM +0800, Bin Meng wrote: > > On Mon, Feb 6, 2023 at 9:24 PM Sunil V L wrote: > > > > > > On Mon, Feb 06, 2023 at 06:17:50PM +0800, Bin Meng wrote: > > > > On Thu, Feb 2, 2023 at 12:54 PM Sunil V L > > > > wrote

Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-07 Thread Sunil V L
On Wed, Feb 08, 2023 at 12:10:55AM +0800, Bin Meng wrote: > On Mon, Feb 6, 2023 at 9:24 PM Sunil V L wrote: > > > > On Mon, Feb 06, 2023 at 06:17:50PM +0800, Bin Meng wrote: > > > On Thu, Feb 2, 2023 at 12:54 PM Sunil V L > > > wrote: > > > > > > > > Add few basic ACPI tables and DSDT with few d

Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-07 Thread Bin Meng
On Mon, Feb 6, 2023 at 9:24 PM Sunil V L wrote: > > On Mon, Feb 06, 2023 at 06:17:50PM +0800, Bin Meng wrote: > > On Thu, Feb 2, 2023 at 12:54 PM Sunil V L wrote: > > > > > > Add few basic ACPI tables and DSDT with few devices in a > > > new file virt-acpi-build.c. > > > > > > These are mostly le

Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-06 Thread Sunil V L
On Mon, Feb 06, 2023 at 06:17:50PM +0800, Bin Meng wrote: > On Thu, Feb 2, 2023 at 12:54 PM Sunil V L wrote: > > > > Add few basic ACPI tables and DSDT with few devices in a > > new file virt-acpi-build.c. > > > > These are mostly leveraged from arm64. > > There are lots of same ACPI codes existi

Re: [PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-06 Thread Bin Meng
On Thu, Feb 2, 2023 at 12:54 PM Sunil V L wrote: > > Add few basic ACPI tables and DSDT with few devices in a > new file virt-acpi-build.c. > > These are mostly leveraged from arm64. There are lots of same ACPI codes existing in x86/arm/riscv. I believe some refactoring work is needed before ACPI

[PATCH 04/10] hw/riscv/virt: virt-acpi-build.c: Add basic ACPI tables

2023-02-01 Thread Sunil V L
Add few basic ACPI tables and DSDT with few devices in a new file virt-acpi-build.c. These are mostly leveraged from arm64. Signed-off-by: Sunil V L --- hw/riscv/virt-acpi-build.c | 292 + include/hw/riscv/virt.h| 1 + 2 files changed, 293 insertions(+)