diff mbox

[2/2] ARM: multi_v7_defconfig: Don't attempt to enable schedutil governor as module

Message ID 1471612328-6467-2-git-send-email-javier@osg.samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Javier Martinez Canillas Aug. 19, 2016, 1:12 p.m. UTC
The schedutil CPUFreq governor could be built as a module but the commit
58919e83c85c ("cpufreq / sched: Pass flags to cpufreq_update_util()")
made it non-modular so attempting to enable as module leads to a warning:

warning: symbol value 'm' invalid for CPU_FREQ_GOV_SCHEDUTIL

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 arch/arm/configs/multi_v7_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Aug. 19, 2016, 1:40 p.m. UTC | #1
On 08/19/2016 03:12 PM, Javier Martinez Canillas wrote:
> The schedutil CPUFreq governor could be built as a module but the commit
> 58919e83c85c ("cpufreq / sched: Pass flags to cpufreq_update_util()")
> made it non-modular so attempting to enable as module leads to a warning:
> 
> warning: symbol value 'm' invalid for CPU_FREQ_GOV_SCHEDUTIL
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  arch/arm/configs/multi_v7_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Looks good.

Applied... wait, no, these are not in samsung-soc list so they miss also
from patchwork. For reference:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Please post it to linux-samsung-soc, unless it goes through arm-soc or
other tree.

Best regards,
Krzysztof
Javier Martinez Canillas Aug. 19, 2016, 1:46 p.m. UTC | #2
Hello Krzysztof,

On 08/19/2016 09:40 AM, Krzysztof Kozlowski wrote:
> On 08/19/2016 03:12 PM, Javier Martinez Canillas wrote:
>> The schedutil CPUFreq governor could be built as a module but the commit
>> 58919e83c85c ("cpufreq / sched: Pass flags to cpufreq_update_util()")
>> made it non-modular so attempting to enable as module leads to a warning:
>>
>> warning: symbol value 'm' invalid for CPU_FREQ_GOV_SCHEDUTIL
>>
>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>>
>> ---
>>
>>  arch/arm/configs/multi_v7_defconfig | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Looks good.
> 
> Applied... wait, no, these are not in samsung-soc list so they miss also
> from patchwork. For reference:
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>

Sigh, get_maintainers.pl suggested me an insanely large cc list so I added
it manually... but I forgot linux-samsung-soc. I'll post v2.

> Please post it to linux-samsung-soc, unless it goes through arm-soc or
> other tree.
>

I think is OK if both patches go through your tree.

> Best regards,
> Krzysztof
> 

Best regards,
Javier Martinez Canillas Aug. 19, 2016, 1:52 p.m. UTC | #3
Hello Krzysztof,

On 08/19/2016 09:46 AM, Javier Martinez Canillas wrote:
> 
> On 08/19/2016 09:40 AM, Krzysztof Kozlowski wrote:
>> On 08/19/2016 03:12 PM, Javier Martinez Canillas wrote:
>>> The schedutil CPUFreq governor could be built as a module but the commit
>>> 58919e83c85c ("cpufreq / sched: Pass flags to cpufreq_update_util()")
>>> made it non-modular so attempting to enable as module leads to a warning:
>>>
>>> warning: symbol value 'm' invalid for CPU_FREQ_GOV_SCHEDUTIL
>>>
>>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>>>
>>> ---
>>>
>>>  arch/arm/configs/multi_v7_defconfig | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> Looks good.
>>
>> Applied... wait, no, these are not in samsung-soc list so they miss also
>> from patchwork. For reference:
>> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>>
> 
> Sigh, get_maintainers.pl suggested me an insanely large cc list so I added
> it manually... but I forgot linux-samsung-soc. I'll post v2.
> 

Damn... and now I forgot to include your collected tags in v2. I should not
post patches before having enough coffee, sorry about that.

Please let me know if you don't mind or if you prefer a resend.

Best regards,
Krzysztof Kozlowski Aug. 19, 2016, 3:51 p.m. UTC | #4
On Fri, Aug 19, 2016 at 09:52:47AM -0400, Javier Martinez Canillas wrote:
> Hello Krzysztof,
> 
> On 08/19/2016 09:46 AM, Javier Martinez Canillas wrote:
> > 
> > On 08/19/2016 09:40 AM, Krzysztof Kozlowski wrote:
> >> On 08/19/2016 03:12 PM, Javier Martinez Canillas wrote:
> >>> The schedutil CPUFreq governor could be built as a module but the commit
> >>> 58919e83c85c ("cpufreq / sched: Pass flags to cpufreq_update_util()")
> >>> made it non-modular so attempting to enable as module leads to a warning:
> >>>
> >>> warning: symbol value 'm' invalid for CPU_FREQ_GOV_SCHEDUTIL
> >>>
> >>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> >>>
> >>> ---
> >>>
> >>>  arch/arm/configs/multi_v7_defconfig | 2 +-
> >>>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> Looks good.
> >>
> >> Applied... wait, no, these are not in samsung-soc list so they miss also
> >> from patchwork. For reference:
> >> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> >>
> > 
> > Sigh, get_maintainers.pl suggested me an insanely large cc list so I added
> > it manually... but I forgot linux-samsung-soc. I'll post v2.
> > 
> 
> Damn... and now I forgot to include your collected tags in v2. I should not
> post patches before having enough coffee, sorry about that.
> 
> Please let me know if you don't mind or if you prefer a resend.

No problem, no need to resend.

Applied to separate branch (not tagged yet) in case someone would like
to base on top of it. Then please let me know, I'll add a tag.

Mentioned commit is not yet in mainline and was applied recently, so I
remove the SHA from commit msg. The SHA might change and it's better not
to pollute the history in that case.

Best regards,
Krzysztof
Javier Martinez Canillas Aug. 19, 2016, 3:55 p.m. UTC | #5
Hello Krzysztof,

On 08/19/2016 11:51 AM, Krzysztof Kozlowski wrote:
> On Fri, Aug 19, 2016 at 09:52:47AM -0400, Javier Martinez Canillas wrote:
>> Hello Krzysztof,
>>
>> On 08/19/2016 09:46 AM, Javier Martinez Canillas wrote:
>>>
>>> On 08/19/2016 09:40 AM, Krzysztof Kozlowski wrote:
>>>> On 08/19/2016 03:12 PM, Javier Martinez Canillas wrote:
>>>>> The schedutil CPUFreq governor could be built as a module but the commit
>>>>> 58919e83c85c ("cpufreq / sched: Pass flags to cpufreq_update_util()")
>>>>> made it non-modular so attempting to enable as module leads to a warning:
>>>>>
>>>>> warning: symbol value 'm' invalid for CPU_FREQ_GOV_SCHEDUTIL
>>>>>
>>>>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>>>>>
>>>>> ---
>>>>>
>>>>>  arch/arm/configs/multi_v7_defconfig | 2 +-
>>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> Looks good.
>>>>
>>>> Applied... wait, no, these are not in samsung-soc list so they miss also
>>>> from patchwork. For reference:
>>>> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>>>>
>>>
>>> Sigh, get_maintainers.pl suggested me an insanely large cc list so I added
>>> it manually... but I forgot linux-samsung-soc. I'll post v2.
>>>
>>
>> Damn... and now I forgot to include your collected tags in v2. I should not
>> post patches before having enough coffee, sorry about that.
>>
>> Please let me know if you don't mind or if you prefer a resend.
> 
> No problem, no need to resend.
>

I resent some minutes ago figure getting your email. So feel free to ignore v3.
 
> Applied to separate branch (not tagged yet) in case someone would like
> to base on top of it. Then please let me know, I'll add a tag.
> 
> Mentioned commit is not yet in mainline and was applied recently, so I
> remove the SHA from commit msg. The SHA might change and it's better not
> to pollute the history in that case.
> 

Ok, thanks for doing that.

> Best regards,
> Krzysztof
> 

Best regards,
diff mbox

Patch

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 0ccaa519f588..65b5b6172e83 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -136,7 +136,7 @@  CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=m
 CONFIG_CPU_FREQ_GOV_USERSPACE=m
 CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
-CONFIG_CPU_FREQ_GOV_SCHEDUTIL=m
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
 CONFIG_ARM_IMX6Q_CPUFREQ=y
 CONFIG_QORIQ_CPUFREQ=y
 CONFIG_CPU_IDLE=y