RISC-V: Add ACPI initialization in setup_arch()
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 15 May 2023 05:49:15 +0000 (11:19 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 1 Jun 2023 15:45:03 +0000 (08:45 -0700)
commit724f4c0df7665a1bb9cb105a20131dfca5c032dd
treeba7bb370566dc8e1e8989894421e7a2b38e65ea0
parent8b7809e289524e02f8f0755ca632ea9e9aefbd0e
RISC-V: Add ACPI initialization in setup_arch()

Initialize the ACPI core for RISC-V during boot.

ACPI tables and interpreter are initialized based on
the information passed from the firmware and the value of
the kernel parameter 'acpi'.

With ACPI support added for RISC-V, the kernel parameter 'acpi'
is also supported on RISC-V. Hence, update the documentation.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230515054928.2079268-9-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Documentation/admin-guide/kernel-parameters.txt
arch/riscv/kernel/acpi.c
arch/riscv/kernel/setup.c