Re: [PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system

2021-04-02 Thread Greg KH
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 > >>

Re: [PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system

2021-04-02 Thread Daniel Lezcano
On 02/04/2021 10:02, Greg KH wrote: > On Fri, Apr 02, 2021 at 12:08:49AM +0200, Daniel Lezcano wrote: >> >> Hi Greg, >> >> On 01/04/2021 21:28, Greg KH wrote: >>> On Thu, Apr 01, 2021 at 08:36:49PM +0200, Daniel Lezcano wrote: A SoC can be differently structured depending on the platform and

Re: [PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system

2021-04-02 Thread Greg KH
On Fri, Apr 02, 2021 at 12:08:49AM +0200, Daniel Lezcano wrote: > > Hi Greg, > > On 01/04/2021 21:28, Greg KH wrote: > > On Thu, Apr 01, 2021 at 08:36:49PM +0200, Daniel Lezcano wrote: > >> A SoC can be differently structured depending on the platform and the > >> kernel can not be aware of all

Re: [PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system

2021-04-01 Thread Daniel Lezcano
Hi Greg, On 01/04/2021 21:28, Greg KH wrote: > On Thu, Apr 01, 2021 at 08:36:49PM +0200, Daniel Lezcano wrote: >> A SoC can be differently structured depending on the platform and the >> kernel can not be aware of all the combinations, as well as the >> specific tweaks for a particular board.

Re: [PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system

2021-04-01 Thread Greg KH
On Thu, Apr 01, 2021 at 08:36:49PM +0200, Daniel Lezcano wrote: > A SoC can be differently structured depending on the platform and the > kernel can not be aware of all the combinations, as well as the > specific tweaks for a particular board. > > The creation of the hierarchy must be delegated

[PATCH v6 2/7] powercap/drivers/dtpm: Create a registering system

2021-04-01 Thread Daniel Lezcano
A SoC can be differently structured depending on the platform and the kernel can not be aware of all the combinations, as well as the specific tweaks for a particular board. The creation of the hierarchy must be delegated to userspace. These changes provide a registering mechanism where the