[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGcEl8gsSIcmyLf1@kroah.com>
Date: Fri, 2 Apr 2021 13:48:39 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
lukasz.luba@....com, rafael@...nel.org,
Ram Chandrasekar <rkumbako@...eaurora.org>
Subject: Re: [PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system
On Fri, Apr 02, 2021 at 01:10:51PM +0200, Daniel Lezcano wrote:
> >> To answer your questions, there is a SoC vendor thermal daemon using
> >> DTPM and there is a tool created to watch the thermal framework and read
> >> the DTPM values, it is available at [4]. It is currently under
> >> development with the goal of doing power rebalancing / capping across
> >> the different nodes when there is a violation of the parent's power limit.
> >
> > Crazy ideas aside, your implementation of this is my main objection
> > here. You are creating a user/kernel api that you will have to support
> > for 20+ years, without a real userspace user just yet (from what I can
> > tell). That's rough, and is going to mean that this gets messy over
> > time.
>
> I'm not sure to understand, the API already exists since v3.3, it is the
> powercap and DTPM is its backend. AFAICT, there are already users of it
> except they create their own way to build the hierarchy today.
The configfs api is what I am referring to here, the ones in this patch
series...
thanks,
greg k-h
Powered by blists - more mailing lists