[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <be8395e3-98d7-7a8f-7153-c491b22d4463@arm.com>
Date: Wed, 1 Jun 2022 16:33:20 +0100
From: Lukasz Luba <lukasz.luba@....com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
rafael@...nel.org, quic_manafm@...cinc.com,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>
Subject: Re: [PATCH 3/3] thermal/sysfs: Remove cooling device sysfs statistics
Hi Daniel,
On 6/1/22 16:14, Daniel Lezcano wrote:
> The statistics are for debugging purpose and belong to debugfs rather
> than sysfs. As the previous changes introduced the same statistics in
> debugfs, those in sysfs are no longer needed and can be removed.
I just want to let you know that in current Android kernels we cannot
even compile the kernel with CONFIG_DEBUG_FS. I have this pain with
Energy Model there... Some vendors might see useful info via this
sysfs interface in bring-up of the SoC.
I don't know if there are user-space tools tracking this
information via sysfs. We probably should check that.
I agree that these statistics look more like debug info, rather than
something useful for control.
Furthermore, we have trace events for the cooling state changes, which
should be good enough for bring-up and experiments.
I don't have strong preferences here. I tend to agree to remove this
interface if there are no user-space tools using it.
Regards,
Lukasz
Powered by blists - more mailing lists