Home
last modified time | relevance | path

Searched hist:"9 c7b185ab2fe313b4426bf55da3624bef71f342b" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dcpuidle.hdiff 9c7b185ab2fe313b4426bf55da3624bef71f342b Thu Jul 05 13:40:21 CEST 2018 Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> powernv/cpuidle: Parse dt idle properties into global structure

Device-tree parsing happens twice, once while deciding idle state to be
used for hotplug and once during cpuidle init. Hence, parsing the device
tree and caching it will reduce code duplication. Parsing code has been
moved to pnv_parse_cpuidle_dt() from pnv_probe_idle_states(). In addition
to the properties in the device tree the number of available states is
also required.

Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/linux/arch/powerpc/platforms/powernv/
H A Didle.cdiff 9c7b185ab2fe313b4426bf55da3624bef71f342b Thu Jul 05 13:40:21 CEST 2018 Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> powernv/cpuidle: Parse dt idle properties into global structure

Device-tree parsing happens twice, once while deciding idle state to be
used for hotplug and once during cpuidle init. Hence, parsing the device
tree and caching it will reduce code duplication. Parsing code has been
moved to pnv_parse_cpuidle_dt() from pnv_probe_idle_states(). In addition
to the properties in the device tree the number of available states is
also required.

Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>