Re: [PATCH v2] thermal: add sysfs_notify on some attributes

From: Pandruvada, Srinivas
Date: Wed Mar 30 2016 - 11:45:43 EST


On Tue, 2016-03-29 at 19:53 -0700, Srikar Srimath Tirumala wrote:
> On 03/28/2016 06:35 PM, Eduardo Valentin wrote:
> >
> > On Tue, Mar 15, 2016 at 11:08:00PM +0000, Pandruvada, Srinivas
> > wrote:
> > >
> > > On Mon, 2016-03-14 at 11:12 -0700, Srikar Srimath Tirumala wrote:
[...]
> > I have created a wiki for LPC 2016
> > http://wiki.linuxplumbersconf.org/2016:thermal
> >
> > Overall I believe we need to solve the (temperature) sensing in a
> > more
> > structured way within the kernel. We have three subsystem that
> > allow
> > performing temperature sensing. They are different in design and
> > concept, but still solve similar problems.
> >
> I went through the LPC presentation/patches and had a couple of
> questions.
>
> The thermal iio device seems perfectly suited for sending large
> amountsÂ
> of thermal data from the kernel framework to user space. Are there a
> lotÂ
> of platforms where thermal throttling happens in user space?
Yes.Â

> If so, IsÂ
> this an indication that passive thermal throttling is going into theÂ
> user space some time in the future?
Not really. Kernel takes care about more immediate/urgent needs. User
space is more about long term control, where you will prevent
aggressive controls from kernel.

Thanks,
Srinivas