From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751209AbcFCDLn (ORCPT ); Thu, 2 Jun 2016 23:11:43 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:35340 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750993AbcFCDLl (ORCPT ); Thu, 2 Jun 2016 23:11:41 -0400 Date: Fri, 3 Jun 2016 08:41:36 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Lists linaro-kernel , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , Dmitry Eremin-Solenikov , Kevin Hilman , Krzysztof Kozlowski , Kukjin Kim , Sekhar Nori , Steven Miao , Steve Muckle Subject: Re: [PATCH 00/11] cpufreq: Keep policy->freq_table sorted Message-ID: <20160603031136.GA23467@vireshk-i7> References: <20160603000134.GS3725@vireshk-i7> <2735911.VQvHH3XKf9@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2735911.VQvHH3XKf9@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 03-06-16, 03:43, Rafael J. Wysocki wrote: > On Friday, June 03, 2016 05:31:34 AM Viresh Kumar wrote: > > So, yeah, I get your overall concern. What about this: > > - A single patchset to make sure the current policy->freq_table is > > always sorted in Ascending order of frequencies. > > Be careful here. acpi-cpufreq sorts the table in the descending order > and at least acpi_cpufreq_fast_switch() assumes that. Yeah, it was already fixed in [V2 0/2] series. Thanks. > > - And this sorting will be done per policy only when the policy is > > first created. > > - Which would eventually mean merging this series with the [v2 0/2] > > one. > > > > Will that work ? > > Well, it may. :-) > > I would like you to talk to Steve and agree on the approach, including which > changes to make first, though. You are both from Linaro after all ... Sure, we can get that done and I am not particular here on whose patches should get in first. The outcome should be same whatever order we follow :) Thanks. -- viresh