From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753136AbcGVVJX (ORCPT ); Fri, 22 Jul 2016 17:09:23 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34649 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260AbcGVVJV (ORCPT ); Fri, 22 Jul 2016 17:09:21 -0400 Date: Fri, 22 Jul 2016 14:09:19 -0700 From: Viresh Kumar 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 Subject: Re: [PATCH V2] cpufreq: Disallow ->resolve_freq() for drivers providing ->target_index() 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 Content-Disposition: inline In-Reply-To: <1635689.iZWBWcBJ5f@vostro.rjw.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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