Re: [PATCH 5/7] x86/tsc: Update cpufreq transition notifier to handle multiple CPUs

2019-03-14 Thread Viresh Kumar
On 14-03-19, 10:33, Rafael J. Wysocki wrote: > On Thu, Mar 14, 2019 at 7:43 AM Viresh Kumar wrote: > > - set_cyc2ns_scale(tsc_khz, freq->cpu, rdtsc()); > > + if (boot_cpu) { > > + boot_cpu_data.loops_per_jiffy = lpj; > > + } else { >

Re: [PATCH 5/7] x86/tsc: Update cpufreq transition notifier to handle multiple CPUs

2019-03-14 Thread Rafael J. Wysocki
On Thu, Mar 14, 2019 at 7:43 AM Viresh Kumar wrote: > > The cpufreq core currently calls the cpufreq transition notifier > callback once for each affected CPU. This is going to change soon and > the cpufreq core will call the callback only once for each cpufreq > policy. The callback must look at