From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH V2] cpufreq: Disallow ->resolve_freq() for drivers providing ->target_index() Date: Fri, 22 Jul 2016 14:09:19 -0700 Message-ID: <20160722210919.GC3122@ubuntu> References: <065301260510fbca81f5481b27b0de956073068a.1469137133.git.viresh.kumar@linaro.org> <20160722003405.GZ27987@graphite.smuckle.net> <20160722151327.GP3122@ubuntu> <1635689.iZWBWcBJ5f@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f170.google.com ([209.85.192.170]:36710 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbcGVVJV (ORCPT ); Fri, 22 Jul 2016 17:09:21 -0400 Received: by mail-pf0-f170.google.com with SMTP id h186so44633656pfg.3 for ; Fri, 22 Jul 2016 14:09:21 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1635689.iZWBWcBJ5f@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: Steve Muckle , "Rafael J. Wysocki" , Lists linaro-kernel , Linux PM , Linux Kernel Mailing List , Peter Zijlstra , Ingo Molnar , Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Juri Lelli , Patrick Bellasi On 22-07-16, 23:11, Rafael J. Wysocki wrote: > No, they aren't deprecated, not even sort of. > > Of course, stuff that can use frequency tables should implement ->target_index, > because there's no valid reason for it not to do that. > > However, there are cases (and not legacy) where frequency tables are simply > impractical and those drivers have no choice but to implement ->target. > > And if you want to try to force them into the frequency tables model > regardless, then think twice, because I'm not going to let you do that. No I am not :) Perhaps this was just mis-worded in the Documentation then. -- viresh