Re: [PATCH] cpuidle/powernv : Add Description for cpuidle state

2018-05-29 Thread Michael Ellerman
Stewart Smith writes: > Abhishek Goel writes: >> @@ -215,7 +216,7 @@ static inline void add_powernv_state(int index, const >> char *name, >> u64 psscr_val, u64 psscr_mask) >> { >> strlcpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); >> -

Re: [PATCH] cpuidle/powernv : Add Description for cpuidle state

2018-05-28 Thread Stewart Smith
Abhishek Goel writes: > @@ -215,7 +216,7 @@ static inline void add_powernv_state(int index, const > char *name, >u64 psscr_val, u64 psscr_mask) > { > strlcpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); > -

[PATCH] cpuidle/powernv : Add Description for cpuidle state

2018-05-28 Thread Abhishek Goel
Names of cpuidle states were being used for description of states in POWER as no descriptions were added in device tree. This patch reads description for idle states which have been added in device tree. The description for idle states in case of POWER can be printed using "cpupower monitor -l" or