Re: Sleep in preempt_disable on powernv with 'cat /proc/cpuinfo' on v4.15

2018-01-09 Thread Michael Ellerman
Benjamin Herrenschmidt writes: > On Mon, 2018-01-08 at 21:30 -0800, John Sperbeck wrote: >> The pnv_get_proc_freq() function was recently changed to call >> cpufreq_get(), instead of cpufreq_quick_get(), in order to fetch >> a more up-to-date value for the CPU

Re: Sleep in preempt_disable on powernv with 'cat /proc/cpuinfo' on v4.15

2018-01-08 Thread Benjamin Herrenschmidt
On Mon, 2018-01-08 at 21:30 -0800, John Sperbeck wrote: > The pnv_get_proc_freq() function was recently changed to call > cpufreq_get(), instead of cpufreq_quick_get(), in order to fetch > a more up-to-date value for the CPU frequency: > >cd77b5ce208c153260ed7882d8910f2395bfaabd >

Sleep in preempt_disable on powernv with 'cat /proc/cpuinfo' on v4.15

2018-01-08 Thread John Sperbeck
The pnv_get_proc_freq() function was recently changed to call cpufreq_get(), instead of cpufreq_quick_get(), in order to fetch a more up-to-date value for the CPU frequency: cd77b5ce208c153260ed7882d8910f2395bfaabd powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo