From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755475AbbJGSAW (ORCPT ); Wed, 7 Oct 2015 14:00:22 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:32991 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754352AbbJGSAU (ORCPT ); Wed, 7 Oct 2015 14:00:20 -0400 Date: Wed, 7 Oct 2015 23:30:12 +0530 From: Viresh Kumar To: Greg Kroah-Hartman Cc: Michael Turquette , Stephen Boyd , Arnd Bergmann , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Bartlomiej Zolnierkiewicz , Nishanth Menon , Dmitry Torokhov , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] PM / OPP: fix debugfs files for 64-bit Message-ID: <20151007180012.GH4557@linux> References: <5706174.BUsqiXljxZ@wuerfel> <20151007105911.GC9892@linux> <20151007110302.GD9892@linux> <20151007110755.GA6601@kroah.com> <20151007112149.GB22530@linux> <20151007125735.GA8170@kroah.com> <20151007130324.GA4557@linux> <20151007171949.GB9702@kroah.com> <20151007172701.GF4557@linux> <20151007173934.GB10665@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151007173934.GB10665@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07-10-15, 18:39, Greg Kroah-Hartman wrote: > Why not? Why does this have to be exported in debugfs? Just delete it, > who cares about it? It's just "debugging". It is really useful to see all the freq/voltage combinations on which a device can work on, specially the CPU. And there are some serious users of it as well.. Android has hacked the cpufreq layer today, to export something similar in a hacky way, as they wanted to estimate power ratings based on Hz/uV values. This will kill them as well.. And its really useful for debugging as well, to see if all went well. Maybe debugfs is not really the best place for this, but yeah, this is very useful. -- viresh