Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2018-05-18 Thread Jan Beulich
>>> On 18.05.18 at 16:36, wrote: > BTW, what do you think about the following: > > Another question is second_max_freq. As I understand, it is highest > non-turbo frequency calculated by framework to limit target frequency > when turbo mode "is disabled". And Xen assumes that second_max_freq is >

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2018-05-18 Thread Oleksandr Tyshchenko
Hi, Jan. Sorry for the late response. On Mon, May 7, 2018 at 6:39 PM, Jan Beulich wrote: On 09.11.17 at 18:09, wrote: >> --- a/xen/drivers/cpufreq/Kconfig >> +++ b/xen/drivers/cpufreq/Kconfig >> @@ -1,3 +1,6 @@ >> >> config HAS_CPUFREQ >> bool >> + >> +config HAS_CPU_TURBO >> +

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2018-05-07 Thread Jan Beulich
>>> On 09.11.17 at 18:09, wrote: > --- a/xen/drivers/cpufreq/Kconfig > +++ b/xen/drivers/cpufreq/Kconfig > @@ -1,3 +1,6 @@ > > config HAS_CPUFREQ > bool > + > +config HAS_CPU_TURBO > + bool This is about cpufreq, so HAS_CPUFREQ_TURBO please. Also please try to limit the number of #i

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-06 Thread Oleksandr Tyshchenko
Hi, Stefano. On Tue, Dec 5, 2017 at 9:24 PM, Stefano Stabellini wrote: > On Tue, 5 Dec 2017, Oleksandr Tyshchenko wrote: >> >> Another question is second_max_freq. As I understand, it is highest >> >> non-turbo frequency calculated by framework to limit target frequency >> >> when >> >> turbo mod

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-05 Thread Stefano Stabellini
On Tue, 5 Dec 2017, Oleksandr Tyshchenko wrote: > >> Another question is second_max_freq. As I understand, it is highest > >> non-turbo frequency calculated by framework to limit target frequency > >> when > >> turbo mode "is disabled". And Xen assumes that second_max_freq is > >> always P1 if turb

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-05 Thread Oleksandr Tyshchenko
On Mon, Dec 4, 2017 at 1:58 PM, Andre Przywara wrote: > Hi, Hi Andre > > > >> And the most important question is how to recognize in Xen on ARM >> (using SCPI protocol) which frequencies are turbo-frequencies >> actually? I couldn't find any information regarding that in protocol >> descript

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-05 Thread Oleksandr Tyshchenko
Hi Stefano On Tue, Dec 5, 2017 at 12:18 AM, Stefano Stabellini wrote: > On Sat, 2 Dec 2017, Oleksandr Tyshchenko wrote: >> On Sat, Dec 2, 2017 at 3:06 AM, Stefano Stabellini >> wrote: >> > On Thu, 9 Nov 2017, Oleksandr Tyshchenko wrote: >> >> From: Oleksandr Dmytryshyn >> >> >> >> This settings

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-04 Thread Stefano Stabellini
On Sat, 2 Dec 2017, Oleksandr Tyshchenko wrote: > On Sat, Dec 2, 2017 at 3:06 AM, Stefano Stabellini > wrote: > > On Thu, 9 Nov 2017, Oleksandr Tyshchenko wrote: > >> From: Oleksandr Dmytryshyn > >> > >> This settings is not needed for some architectures. > >> So make it to be configurable and us

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-04 Thread Andre Przywara
Hi, > And the most important question is how to recognize in Xen on ARM > (using SCPI protocol) which frequencies are turbo-frequencies > actually? I couldn't find any information regarding that in protocol > description. So traditionally on ARM there is no notion of a "turbo" frequency. Th

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-02 Thread Oleksandr Tyshchenko
Hi Stefano On Sat, Dec 2, 2017 at 3:06 AM, Stefano Stabellini wrote: > On Thu, 9 Nov 2017, Oleksandr Tyshchenko wrote: >> From: Oleksandr Dmytryshyn >> >> This settings is not needed for some architectures. >> So make it to be configurable and use it for x86 >> architecture. >> >> This is a reba

Re: [Xen-devel] [RFC PATCH 04/31] cpufreq: make turbo settings to be configurable

2017-12-01 Thread Stefano Stabellini
On Thu, 9 Nov 2017, Oleksandr Tyshchenko wrote: > From: Oleksandr Dmytryshyn > > This settings is not needed for some architectures. > So make it to be configurable and use it for x86 > architecture. > > This is a rebased version of the original patch: > https://lists.xen.org/archives/html/xen-d