On 04/17/2017 10:30 AM, Mamatha Inamdar wrote:
Problem: On power syatems "lscpu frequency-info" command was always reading CPU0 max and min frequencies. If CPU0 is guarded or offline then it used to display max and min frequencies as NULL. Solution: This patch will check for the available/online CPUs and read the max/min frequencies of that CPU
Maybe we could do it even more generically, not letting the first lookup win but really using the minimum/maximum over *all* CPUs. Who knows, maybe different cores could have different min/max.
cu, Rudi -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html