-
- Downloads
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>
Showing
- arch/riscv/include/asm/processor.h 2 additions, 2 deletionsarch/riscv/include/asm/processor.h
- arch/riscv/kernel/cpu.c 15 additions, 11 deletionsarch/riscv/kernel/cpu.c
- arch/riscv/kernel/cpufeature.c 4 additions, 2 deletionsarch/riscv/kernel/cpufeature.c
- arch/riscv/kernel/smpboot.c 5 additions, 4 deletionsarch/riscv/kernel/smpboot.c
- drivers/clocksource/timer-riscv.c 8 additions, 7 deletionsdrivers/clocksource/timer-riscv.c
- drivers/irqchip/irq-riscv-intc.c 4 additions, 3 deletionsdrivers/irqchip/irq-riscv-intc.c
- drivers/irqchip/irq-sifive-plic.c 4 additions, 3 deletionsdrivers/irqchip/irq-sifive-plic.c
Loading
Please register or sign in to comment