lkml.org 
[lkml]   [2018]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling
On 19/06/18 10:40, Quentin Perret wrote:
> Hi Pavan,
>
> On Tuesday 19 Jun 2018 at 14:48:41 (+0530), Pavan Kondeti wrote:

[...]

> > There seems to be a sysfs interface exposed by this driver to change cpu_scale.
> > Should we worry about it? I don't know what is the usecase for changing the
> > cpu_scale from user space.
>
> This is something I've been wondering as well. TBH, I'm not sure what to
> do in this case. And I'm not sure to know what is the use-case either.
> Debugging purpose I assume ?
>
> Juri, did you have a specific use-case for this feature when the
> arch_topology driver was first introduced ? Or was it just to align
> with the existing arm/arm64 code ?

It was requested (IIRC) because DT might have bogus values and not be
easily modifiable. So, this is another way to get things right for your
platform at runtime.

\
 
 \ /
  Last update: 2018-06-19 11:48    [W:0.077 / U:1.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site