OSDN Git Service

RISC-V: cpu: Enable cpuinfo for ACPI systems
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 15 May 2023 05:49:22 +0000 (11:19 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 1 Jun 2023 15:45:09 +0000 (08:45 -0700)
commit0b144c8189895038cd624035b0cee24869de54f7
tree490d8801a27250ae90d4a311312cd8930acb8a5d
parent396c018332a10a845e8a555ca3fa288c952a37af
RISC-V: cpu: Enable cpuinfo for ACPI systems

On ACPI based platforms, few details like ISA need to be read
from the ACPI table. Enable cpuinfo on ACPI based systems.

ACPI has nothing similar to DT compatible property for each CPU.
Hence, cpuinfo will not print "uarch".

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>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230515054928.2079268-16-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpu.c