* [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N
@ 2020-04-20 14:10 Prarit Bhargava
2020-04-20 15:43 ` Andy Shevchenko
2020-04-22 0:22 ` Srinivas Pandruvada
0 siblings, 2 replies; 5+ messages in thread
From: Prarit Bhargava @ 2020-04-20 14:10 UTC (permalink / raw)
To: linux-kernel; +Cc: Prarit Bhargava, Srinivas Pandruvada, platform-driver-x86
On CLX-N, the perf-profile-level's output is terminated before the
speed-select-base-freq-properties are output which results in a corrupt
json file.
Adjust the output of speed-select-base-freq-properties by one on CLX-N.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org
---
tools/power/x86/intel-speed-select/isst-display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/power/x86/intel-speed-select/isst-display.c b/tools/power/x86/intel-speed-select/isst-display.c
index 51dbaa5f02ec..f6e2ce181123 100644
--- a/tools/power/x86/intel-speed-select/isst-display.c
+++ b/tools/power/x86/intel-speed-select/isst-display.c
@@ -470,7 +470,7 @@ void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level,
_isst_pbf_display_information(cpu, outf,
tdp_level,
&ctdp_level->pbf_info,
- level + 1);
+ level + 2);
continue;
}
--
2.18.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N
2020-04-20 14:10 [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N Prarit Bhargava
@ 2020-04-20 15:43 ` Andy Shevchenko
2020-04-20 15:46 ` Prarit Bhargava
2020-04-22 0:22 ` Srinivas Pandruvada
1 sibling, 1 reply; 5+ messages in thread
From: Andy Shevchenko @ 2020-04-20 15:43 UTC (permalink / raw)
To: Prarit Bhargava
Cc: Linux Kernel Mailing List, Srinivas Pandruvada, Platform Driver
On Mon, Apr 20, 2020 at 6:11 PM Prarit Bhargava <prarit@redhat.com> wrote:
>
> On CLX-N, the perf-profile-level's output is terminated before the
> speed-select-base-freq-properties are output which results in a corrupt
> json file.
>
> Adjust the output of speed-select-base-freq-properties by one on CLX-N.
>
Thanks for the patch, it will be pulled from Srinivas' tree whenever
he sends a PR to PDx86 mailing list.
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: platform-driver-x86@vger.kernel.org
> ---
> tools/power/x86/intel-speed-select/isst-display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/power/x86/intel-speed-select/isst-display.c b/tools/power/x86/intel-speed-select/isst-display.c
> index 51dbaa5f02ec..f6e2ce181123 100644
> --- a/tools/power/x86/intel-speed-select/isst-display.c
> +++ b/tools/power/x86/intel-speed-select/isst-display.c
> @@ -470,7 +470,7 @@ void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level,
> _isst_pbf_display_information(cpu, outf,
> tdp_level,
> &ctdp_level->pbf_info,
> - level + 1);
> + level + 2);
> continue;
> }
>
> --
> 2.18.2
>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N
2020-04-20 15:43 ` Andy Shevchenko
@ 2020-04-20 15:46 ` Prarit Bhargava
2020-04-20 16:55 ` Srinivas Pandruvada
0 siblings, 1 reply; 5+ messages in thread
From: Prarit Bhargava @ 2020-04-20 15:46 UTC (permalink / raw)
To: Srinivas Pandruvada
Cc: Andy Shevchenko, Linux Kernel Mailing List, Platform Driver
On 4/20/20 11:43 AM, Andy Shevchenko wrote:
> On Mon, Apr 20, 2020 at 6:11 PM Prarit Bhargava <prarit@redhat.com> wrote:
>>
>> On CLX-N, the perf-profile-level's output is terminated before the
>> speed-select-base-freq-properties are output which results in a corrupt
>> json file.
>>
>> Adjust the output of speed-select-base-freq-properties by one on CLX-N.
>>
>
> Thanks for the patch, it will be pulled from Srinivas' tree whenever
> he sends a PR to PDx86 mailing list.
Srinivas, OOC do you want these patches to be sent somewhere else? FWIW, I'm
running get_maintainers.pl to get the mailing list and cc.
P.
>
>
>> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
>> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
>> Cc: platform-driver-x86@vger.kernel.org
>> ---
>> tools/power/x86/intel-speed-select/isst-display.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/power/x86/intel-speed-select/isst-display.c b/tools/power/x86/intel-speed-select/isst-display.c
>> index 51dbaa5f02ec..f6e2ce181123 100644
>> --- a/tools/power/x86/intel-speed-select/isst-display.c
>> +++ b/tools/power/x86/intel-speed-select/isst-display.c
>> @@ -470,7 +470,7 @@ void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level,
>> _isst_pbf_display_information(cpu, outf,
>> tdp_level,
>> &ctdp_level->pbf_info,
>> - level + 1);
>> + level + 2);
>> continue;
>> }
>>
>> --
>> 2.18.2
>>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N
2020-04-20 15:46 ` Prarit Bhargava
@ 2020-04-20 16:55 ` Srinivas Pandruvada
0 siblings, 0 replies; 5+ messages in thread
From: Srinivas Pandruvada @ 2020-04-20 16:55 UTC (permalink / raw)
To: Prarit Bhargava
Cc: Andy Shevchenko, Linux Kernel Mailing List, Platform Driver
On Mon, 2020-04-20 at 11:46 -0400, Prarit Bhargava wrote:
>
> On 4/20/20 11:43 AM, Andy Shevchenko wrote:
> > On Mon, Apr 20, 2020 at 6:11 PM Prarit Bhargava <prarit@redhat.com>
> > wrote:
> > > On CLX-N, the perf-profile-level's output is terminated before
> > > the
> > > speed-select-base-freq-properties are output which results in a
> > > corrupt
> > > json file.
> > >
> > > Adjust the output of speed-select-base-freq-properties by one on
> > > CLX-N.
> > >
> >
> > Thanks for the patch, it will be pulled from Srinivas' tree
> > whenever
> > he sends a PR to PDx86 mailing list.
>
> Srinivas, OOC do you want these patches to be sent somewhere
> else? FWIW, I'm
> running get_maintainers.pl to get the mailing list and cc.
This mailing list is fine.
I will take care of it once I test it out an apply to my tree.
Thanks,
Srinivas
>
> P.
>
> >
> > > Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> > > Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> > > Cc: platform-driver-x86@vger.kernel.org
> > > ---
> > > tools/power/x86/intel-speed-select/isst-display.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/tools/power/x86/intel-speed-select/isst-display.c
> > > b/tools/power/x86/intel-speed-select/isst-display.c
> > > index 51dbaa5f02ec..f6e2ce181123 100644
> > > --- a/tools/power/x86/intel-speed-select/isst-display.c
> > > +++ b/tools/power/x86/intel-speed-select/isst-display.c
> > > @@ -470,7 +470,7 @@ void isst_ctdp_display_information(int cpu,
> > > FILE *outf, int tdp_level,
> > > _isst_pbf_display_information(cpu
> > > , outf,
> > > tdp
> > > _level,
> > > &ctdp_l
> > > evel->pbf_info,
> > > - lev
> > > el + 1);
> > > + lev
> > > el + 2);
> > > continue;
> > > }
> > >
> > > --
> > > 2.18.2
> > >
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N
2020-04-20 14:10 [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N Prarit Bhargava
2020-04-20 15:43 ` Andy Shevchenko
@ 2020-04-22 0:22 ` Srinivas Pandruvada
1 sibling, 0 replies; 5+ messages in thread
From: Srinivas Pandruvada @ 2020-04-22 0:22 UTC (permalink / raw)
To: Prarit Bhargava, linux-kernel; +Cc: platform-driver-x86
On Mon, 2020-04-20 at 10:10 -0400, Prarit Bhargava wrote:
> On CLX-N, the perf-profile-level's output is terminated before the
> speed-select-base-freq-properties are output which results in a
> corrupt
> json file.
>
> Adjust the output of speed-select-base-freq-properties by one on CLX-
> N.
Applied.
Thanks,
Srinivas
>
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: platform-driver-x86@vger.kernel.org
> ---
> tools/power/x86/intel-speed-select/isst-display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/power/x86/intel-speed-select/isst-display.c
> b/tools/power/x86/intel-speed-select/isst-display.c
> index 51dbaa5f02ec..f6e2ce181123 100644
> --- a/tools/power/x86/intel-speed-select/isst-display.c
> +++ b/tools/power/x86/intel-speed-select/isst-display.c
> @@ -470,7 +470,7 @@ void isst_ctdp_display_information(int cpu, FILE
> *outf, int tdp_level,
> _isst_pbf_display_information(cpu,
> outf,
> tdp_level
> ,
> &ctdp_level-
> >pbf_info,
> - level +
> 1);
> + level +
> 2);
> continue;
> }
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-22 0:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 14:10 [PATCH] intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N Prarit Bhargava
2020-04-20 15:43 ` Andy Shevchenko
2020-04-20 15:46 ` Prarit Bhargava
2020-04-20 16:55 ` Srinivas Pandruvada
2020-04-22 0:22 ` Srinivas Pandruvada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).