On 12/11/2021 18:28, Andrew Cooper wrote: > Xen already collects CPUID.0x80000007.edx by default, meaning that we can > refer to per-cpu data directly. This also avoids the need IPI the onlining > CPU to identify whether Core Performance Boost is available. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > --- > CC: Jan Beulich <jbeul...@suse.com> > CC: Roger Pau Monné <roger....@citrix.com> > CC: Wei Liu <w...@xen.org> > > I don't think the printk() is very helpful. I could be talked into retaining > it as a prink_once(), but (irrespective of cpufreq_verbose), it doesn't want > repeating on each CPU because it will either be all or none of them.
I should note that the printk() is also false. Nothing AFAICT synchronises the software turbo setting with hardware, until the next time set-turbo is called. ~Andrew