]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V CPU Idle Support
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 30 Mar 2022 23:17:54 +0000 (16:17 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 30 Mar 2022 23:17:54 +0000 (16:17 -0700)
commitde5fc0691b899b801b28ecc3b0c5303b159af7ff
treefc46307f316d99295d9d18d1e9ae406230002edf
parent24e4ea475fcb00a438553467b283a616a12e051d
parent4ea583c5384fd7336073546238219cb61063d416
RISC-V CPU Idle Support

This series adds RISC-V CPU Idle support using SBI HSM suspend function.
The RISC-V SBI CPU idle driver added by this series is highly inspired
from the ARM PSCI CPU idle driver.

Special thanks Sandeep Tripathy for providing early feeback on SBI HSM
support in all above projects (RISC-V SBI specification, OpenSBI, and
Linux RISC-V).

* palmer/riscv-idle:
  RISC-V: Enable RISC-V SBI CPU Idle driver for QEMU virt machine
  dt-bindings: Add common bindings for ARM and RISC-V idle states
  cpuidle: Add RISC-V SBI CPU idle driver
  cpuidle: Factor-out power domain related code from PSCI domain driver
  RISC-V: Add SBI HSM suspend related defines
  RISC-V: Add arch functions for non-retentive suspend entry/exit
  RISC-V: Rename relocate() and make it global
  RISC-V: Enable CPU_IDLE drivers
MAINTAINERS
arch/riscv/Kconfig
arch/riscv/Kconfig.socs
arch/riscv/configs/defconfig
arch/riscv/configs/rv32_defconfig
arch/riscv/include/asm/asm.h
arch/riscv/kernel/Makefile