]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: cpu: Add 64bit hartid support on RV64
authorSunil V L <sunilvl@ventanamicro.com>
Fri, 27 May 2022 05:17:42 +0000 (10:47 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 19 Jul 2022 23:39:14 +0000 (16:39 -0700)
commite311259a66f207b7f7d901e9584d87620e85b23b
tree16f68aacc8eb9b33253e64b2811783f96acf4a67
parent13cf645ae40f9aee50500545863193ec36133c52
riscv: cpu: Add 64bit hartid support on RV64

The hartid can be a 64bit value on RV64 platforms.

Add support for 64bit hartid in riscv_of_processor_hartid() and
update its callers.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20220527051743.2829940-5-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/processor.h
arch/riscv/kernel/cpu.c
arch/riscv/kernel/cpufeature.c
arch/riscv/kernel/smpboot.c
drivers/clocksource/timer-riscv.c
drivers/irqchip/irq-riscv-intc.c
drivers/irqchip/irq-sifive-plic.c