Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1276484

Re: [PATCH V3] SKL intel_pstate update MSR values when changing governors

From "Rafael J. Wysocki" <rjw@rjwysocki.net>
Newsgroups linux.kernel
Subject Re: [PATCH V3] SKL intel_pstate update MSR values when changing governors
Date 2015-11-24 15:00 +0100
Message-ID <qymiu-n6-7@gated-at.bofh.it> (permalink)
References <qwjRL-YV-5@gated-at.bofh.it> <qyahk-1bG-7@gated-at.bofh.it> <qyaqZ-1fF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday, November 23, 2015 05:17:36 PM Srinivas Pandruvada wrote:
> On Tue, 2015-11-24 at 02:09 +0100, Rafael J. Wysocki wrote:
> > Hi,
> > 
> > On Sat, Nov 21, 2015 at 1:16 AM, Srinivas Pandruvada
> > <srinivas.pandruvada@linux.intel.com> wrote:
> > >

[cut]

> > 
> > >> For more information on the MSR values for SKL please visit
> > >> ISDM under Managing HWP.
> > >>
> > >> Signed-off-by: Alexandra Yates <alexandra.yates@linux.intel.com>
> > >
> > > Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> > >>
> > >> ---
> > >>   drivers/cpufreq/intel_pstate.c | 2 ++
> > >>   1 file changed, 2 insertions(+)
> > >>
> > >> diff --git a/drivers/cpufreq/intel_pstate.c
> > >> b/drivers/cpufreq/intel_pstate.c
> > >> index 2e31d09..0eeb7da 100644
> > >> --- a/drivers/cpufreq/intel_pstate.c
> > >> +++ b/drivers/cpufreq/intel_pstate.c
> > >> @@ -1242,6 +1242,8 @@ static int intel_pstate_set_policy(struct
> > >> cpufreq_policy *policy)
> > >>             policy->max >= policy->cpuinfo.max_freq) {
> > >>                 pr_debug("intel_pstate: set performance\n");
> > >>                 limits = &performance_limits;
> > >> +               if (hwp_active)
> > >> +                       intel_pstate_hwp_set();
> > 
> > Honestly, I'm not really sure how this is matching the changelog.
> > 
> > What it does is to ensure that the correct limits are used when in the
> > HWP mode too as far as I can say.  Is my understanding correct here?
> Yes.

OK

But if we make the "performance" limits take effect here, it will effectively
make HWP use min = max = 100%, right?  Is that what we want to happen here?

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V3] SKL intel_pstate update MSR values when changing governors Alexandra Yates <alexandra.yates@linux.intel.com> - 2015-11-19 00:00 +0100
  Re: [PATCH V3] SKL intel_pstate update MSR values when changing governors Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-11-21 01:20 +0100
    Re: [PATCH V3] SKL intel_pstate update MSR values when changing governors "Rafael J. Wysocki" <rafael@kernel.org> - 2015-11-24 02:10 +0100
      Re: [PATCH V3] SKL intel_pstate update MSR values when changing  governors Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-11-24 02:20 +0100
        Re: [PATCH V3] SKL intel_pstate update MSR values when changing governors "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-11-24 15:00 +0100
          Re: [PATCH V3] SKL intel_pstate update MSR values when changing  governors Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-11-24 17:00 +0100
            Re: [PATCH V3] SKL intel_pstate update MSR values when changing governors "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-11-24 17:10 +0100
              Re: [PATCH V3] SKL intel_pstate update MSR values when changing  governors Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-11-24 17:40 +0100

csiph-web