-
- Downloads
arch/riscv: add Zihintpause support
Implement support for the ZiHintPause extension. The PAUSE instruction is a HINT that indicates the current hart’s rate of instruction retirement should be temporarily reduced or paused. Reviewed-by:Heiko Stuebner <heiko@sntech.de> Tested-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Dao Lu <daolu@rivosinc.com> [Palmer: Some minor merge conflicts.] Link: https://lore.kernel.org/all/20220620201530.3929352-1-daolu@rivosinc.com/ Link: https://lore.kernel.org/all/20220811053356.17375-1-palmer@rivosinc.com/ Signed-off-by:
Palmer Dabbelt <palmer@rivosinc.com>
Showing
- arch/riscv/Makefile 4 additions, 0 deletionsarch/riscv/Makefile
- arch/riscv/include/asm/hwcap.h 5 additions, 0 deletionsarch/riscv/include/asm/hwcap.h
- arch/riscv/include/asm/vdso/processor.h 18 additions, 3 deletionsarch/riscv/include/asm/vdso/processor.h
- arch/riscv/kernel/cpu.c 1 addition, 0 deletionsarch/riscv/kernel/cpu.c
- arch/riscv/kernel/cpufeature.c 1 addition, 0 deletionsarch/riscv/kernel/cpufeature.c
Please register or sign in to comment