summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/opal-psr.c
Commit message (Collapse)AuthorAge
* powerpc: Use sizeof(*foo) rather than sizeof(struct foo)Markus Elfring2018-03-20
| | | | | | | | | It's slightly less error prone to use sizeof(*foo) rather than specifying the type. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> [mpe: Consolidate into one patch, rewrite change log] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
* powerpc/powernv: Add support to set power-shifting-ratioShilpasri G Bhat2017-08-10
This patch adds support to set power-shifting-ratio which hints the firmware how to distribute/throttle power between different entities in a system (e.g CPU v/s GPU). This ratio is used by OCC for power capping algorithm. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>