Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Rafael J. Wysocki
On Wednesday, May 07, 2014 04:34:12 PM Stratos Karafotis wrote: > Hi Rafael, > > On 07/05/2014 04:13 μμ, Rafael J. Wysocki wrote: > > On Wednesday, May 07, 2014 10:53:16 AM Viresh Kumar wrote: > >> On 6 May 2014 23:25, Stratos Karafotis wrote: > >>> My bad. I'm sorry for this. :( > >>> > >>>

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Viresh Kumar
On 7 May 2014 19:04, Stratos Karafotis wrote: > Do you want me to resend the entire patch set or only patch 1/8? Probably a new patch which would make it inline that's it. I don't think he is going to rebase his branch now.. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Stratos Karafotis
Hi Rafael, On 07/05/2014 04:13 μμ, Rafael J. Wysocki wrote: > On Wednesday, May 07, 2014 10:53:16 AM Viresh Kumar wrote: >> On 6 May 2014 23:25, Stratos Karafotis wrote: >>> My bad. I'm sorry for this. :( >>> >>> Rafael, >>> A solution could be to make cpufreq_next_valid an inline function in

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Rafael J. Wysocki
On Wednesday, May 07, 2014 10:53:16 AM Viresh Kumar wrote: > On 6 May 2014 23:25, Stratos Karafotis wrote: > > My bad. I'm sorry for this. :( > > > > Rafael, > > A solution could be to make cpufreq_next_valid an inline function in > > cpufreq.h, > > but as Viresh mentioned this would be very

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Rafael J. Wysocki
On Wednesday, May 07, 2014 10:53:16 AM Viresh Kumar wrote: On 6 May 2014 23:25, Stratos Karafotis strat...@semaphore.gr wrote: My bad. I'm sorry for this. :( Rafael, A solution could be to make cpufreq_next_valid an inline function in cpufreq.h, but as Viresh mentioned this would be

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Stratos Karafotis
Hi Rafael, On 07/05/2014 04:13 μμ, Rafael J. Wysocki wrote: On Wednesday, May 07, 2014 10:53:16 AM Viresh Kumar wrote: On 6 May 2014 23:25, Stratos Karafotis strat...@semaphore.gr wrote: My bad. I'm sorry for this. :( Rafael, A solution could be to make cpufreq_next_valid an inline function

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Viresh Kumar
On 7 May 2014 19:04, Stratos Karafotis strat...@semaphore.gr wrote: Do you want me to resend the entire patch set or only patch 1/8? Probably a new patch which would make it inline that's it. I don't think he is going to rebase his branch now.. -- To unsubscribe from this list: send the line

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-07 Thread Rafael J. Wysocki
On Wednesday, May 07, 2014 04:34:12 PM Stratos Karafotis wrote: Hi Rafael, On 07/05/2014 04:13 μμ, Rafael J. Wysocki wrote: On Wednesday, May 07, 2014 10:53:16 AM Viresh Kumar wrote: On 6 May 2014 23:25, Stratos Karafotis strat...@semaphore.gr wrote: My bad. I'm sorry for this. :(

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Viresh Kumar
On 6 May 2014 23:25, Stratos Karafotis wrote: > My bad. I'm sorry for this. :( > > Rafael, > A solution could be to make cpufreq_next_valid an inline function in > cpufreq.h, > but as Viresh mentioned this would be very inefficient because of multiple > copies. That statement was true when we

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Stratos Karafotis
Hi all, On 06/05/2014 06:24 μμ, Geert Uytterhoeven wrote: > Hi Stratos, > > On Wed, Apr 30, 2014 at 12:26 AM, Rafael J. Wysocki > wrote: >> On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: >>> On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Geert Uytterhoeven
Hi Stratos, On Wed, Apr 30, 2014 at 12:26 AM, Rafael J. Wysocki wrote: > On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: >> On 29/04/2014 07:17 πμ, Viresh Kumar wrote: >> > On 26 April 2014 01:45, Stratos Karafotis wrote: >> >> This patch set introduces two freq_table helper

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Viresh Kumar
On 6 May 2014 23:25, Stratos Karafotis strat...@semaphore.gr wrote: My bad. I'm sorry for this. :( Rafael, A solution could be to make cpufreq_next_valid an inline function in cpufreq.h, but as Viresh mentioned this would be very inefficient because of multiple copies. That statement was

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Geert Uytterhoeven
Hi Stratos, On Wed, Apr 30, 2014 at 12:26 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos Karafotis strat...@semaphore.gr wrote: This patch set

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Stratos Karafotis
Hi all, On 06/05/2014 06:24 μμ, Geert Uytterhoeven wrote: Hi Stratos, On Wed, Apr 30, 2014 at 12:26 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-30 Thread Stratos Karafotis
On 30/04/2014 01:26 πμ, Rafael J. Wysocki wrote: > On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: >> On 29/04/2014 07:17 πμ, Viresh Kumar wrote: >>> On 26 April 2014 01:45, Stratos Karafotis wrote: This patch set introduces two freq_table helper macros which can be used

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-30 Thread Stratos Karafotis
On 30/04/2014 01:26 πμ, Rafael J. Wysocki wrote: On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos Karafotis strat...@semaphore.gr wrote: This patch set introduces two freq_table helper macros which can

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-29 Thread Rafael J. Wysocki
On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: > On 29/04/2014 07:17 πμ, Viresh Kumar wrote: > > On 26 April 2014 01:45, Stratos Karafotis wrote: > >> This patch set introduces two freq_table helper macros which > >> can be used for iteration over cpufreq_frequency_table and > >>

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-29 Thread Stratos Karafotis
On 29/04/2014 07:17 πμ, Viresh Kumar wrote: > On 26 April 2014 01:45, Stratos Karafotis wrote: >> This patch set introduces two freq_table helper macros which >> can be used for iteration over cpufreq_frequency_table and >> makes the necessary changes to cpufreq core and drivers that >> use such

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-29 Thread Stratos Karafotis
On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos Karafotis strat...@semaphore.gr wrote: This patch set introduces two freq_table helper macros which can be used for iteration over cpufreq_frequency_table and makes the necessary changes to cpufreq core and drivers

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-29 Thread Rafael J. Wysocki
On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos Karafotis strat...@semaphore.gr wrote: This patch set introduces two freq_table helper macros which can be used for iteration over

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-28 Thread Viresh Kumar
On 26 April 2014 01:45, Stratos Karafotis wrote: > This patch set introduces two freq_table helper macros which > can be used for iteration over cpufreq_frequency_table and > makes the necessary changes to cpufreq core and drivers that > use such an iteration procedure. > > The motivation was a

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-28 Thread Viresh Kumar
On 26 April 2014 01:45, Stratos Karafotis strat...@semaphore.gr wrote: This patch set introduces two freq_table helper macros which can be used for iteration over cpufreq_frequency_table and makes the necessary changes to cpufreq core and drivers that use such an iteration procedure. The

[PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-25 Thread Stratos Karafotis
Hi all, This patch set introduces two freq_table helper macros which can be used for iteration over cpufreq_frequency_table and makes the necessary changes to cpufreq core and drivers that use such an iteration procedure. The motivation was a usage of common procedure to iterate over

[PATCH v5 0/8] Introduce new cpufreq helper macros

2014-04-25 Thread Stratos Karafotis
Hi all, This patch set introduces two freq_table helper macros which can be used for iteration over cpufreq_frequency_table and makes the necessary changes to cpufreq core and drivers that use such an iteration procedure. The motivation was a usage of common procedure to iterate over