Message ID | 20230202045223.2594627-9-sunilvl@ventanamicro.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add basic ACPI support for risc-v virt | expand |
On Thu, Feb 2, 2023 at 12:54 PM Sunil V L <sunilvl@ventanamicro.com> wrote: > > Enable ACPI related config options to build ACPI subsystem > for virt machine. > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > --- > hw/riscv/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig > index 4550b3b938..92b1a9eb64 100644 > --- a/hw/riscv/Kconfig > +++ b/hw/riscv/Kconfig > @@ -44,6 +44,9 @@ config RISCV_VIRT > select VIRTIO_MMIO > select FW_CFG_DMA > select PLATFORM_BUS > + select ACPI > + select ACPI_HW_REDUCED I don't see APIs in ACPI_HW_REDUCED get called by RISC-V virt codes. > + select ACPI_PCI Regards, Bin
On Mon, Feb 06, 2023 at 06:29:46PM +0800, Bin Meng wrote: > On Thu, Feb 2, 2023 at 12:54 PM Sunil V L <sunilvl@ventanamicro.com> wrote: > > > > Enable ACPI related config options to build ACPI subsystem > > for virt machine. > > > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > > --- > > hw/riscv/Kconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig > > index 4550b3b938..92b1a9eb64 100644 > > --- a/hw/riscv/Kconfig > > +++ b/hw/riscv/Kconfig > > @@ -44,6 +44,9 @@ config RISCV_VIRT > > select VIRTIO_MMIO > > select FW_CFG_DMA > > select PLATFORM_BUS > > + select ACPI > > + select ACPI_HW_REDUCED > > I don't see APIs in ACPI_HW_REDUCED get called by RISC-V virt codes. > Yes, this and PCI are not required at this time. Will remove them when I send the next revision of this series. Thanks Sunil > > + select ACPI_PCI > > Regards, > Bin
diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig index 4550b3b938..92b1a9eb64 100644 --- a/hw/riscv/Kconfig +++ b/hw/riscv/Kconfig @@ -44,6 +44,9 @@ config RISCV_VIRT select VIRTIO_MMIO select FW_CFG_DMA select PLATFORM_BUS + select ACPI + select ACPI_HW_REDUCED + select ACPI_PCI config SHAKTI_C bool
Enable ACPI related config options to build ACPI subsystem for virt machine. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> --- hw/riscv/Kconfig | 3 +++ 1 file changed, 3 insertions(+)