CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/07/10 17:22:48
Modified files:
sys/arch/powerpc64/dev: opal.c
sys/arch/powerpc64/include: cpufunc.h
sys/arch/powerpc64/powerpc64: cpu.c
Log message:
Add hw.cpuspeed and hw.setperf
Get the list of Pstates from OPAL, and use special registers to
request a Pstate or check the current Pstate. The turbo Pstates are
higher than the cpu's nominal speed, but the OCC's firmware should
throttle down the cpu if it would overheat.
ok kettenis@