* [PATCH] cpuidle: arm: Enable compile testing for some of drivers
@ 2019-12-29 18:09 Krzysztof Kozlowski
2019-12-29 18:09 ` Krzysztof Kozlowski
0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2019-12-29 18:09 UTC (permalink / raw)
To: Rafael J. Wysocki, Daniel Lezcano, linux-pm, linux-kernel,
Nicolas Ferre, Alexandre Belloni, Lorenzo Pieralisi,
Bartlomiej Zolnierkiewicz, Sudeep Holla
Cc: linux-samsung-soc, Krzysztof Kozlowski, linux-arm-kernel
Some of cpuidle drivers for ARMv7 can be compile tested on this
architecture because they do not depend on mach-specific bits. Enable
compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu
cpuidle drivers.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/cpuidle/Kconfig.arm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
index a224d33dda7f..62272ecfa771 100644
--- a/drivers/cpuidle/Kconfig.arm
+++ b/drivers/cpuidle/Kconfig.arm
@@ -25,7 +25,7 @@ config ARM_PSCI_CPUIDLE
config ARM_BIG_LITTLE_CPUIDLE
bool "Support for ARM big.LITTLE processors"
- depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS
+ depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS || COMPILE_TEST
depends on MCPM && !ARM64
select ARM_CPU_SUSPEND
select CPU_IDLE_MULTIPLE_DRIVERS
@@ -51,13 +51,13 @@ config ARM_HIGHBANK_CPUIDLE
config ARM_KIRKWOOD_CPUIDLE
bool "CPU Idle Driver for Marvell Kirkwood SoCs"
- depends on MACH_KIRKWOOD && !ARM64
+ depends on (MACH_KIRKWOOD || COMPILE_TEST) && !ARM64
help
This adds the CPU Idle driver for Marvell Kirkwood SoCs.
config ARM_ZYNQ_CPUIDLE
bool "CPU Idle Driver for Xilinx Zynq processors"
- depends on ARCH_ZYNQ && !ARM64
+ depends on (ARCH_ZYNQ || COMPILE_TEST) && !ARM64
help
Select this to enable cpuidle on Xilinx Zynq processors.
@@ -70,19 +70,19 @@ config ARM_U8500_CPUIDLE
config ARM_AT91_CPUIDLE
bool "Cpu Idle Driver for the AT91 processors"
default y
- depends on ARCH_AT91 && !ARM64
+ depends on (ARCH_AT91 || COMPILE_TEST) && !ARM64
help
Select this to enable cpuidle for AT91 processors.
config ARM_EXYNOS_CPUIDLE
bool "Cpu Idle Driver for the Exynos processors"
- depends on ARCH_EXYNOS && !ARM64
+ depends on (ARCH_EXYNOS || COMPILE_TEST) && !ARM64
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
help
Select this to enable cpuidle for Exynos processors.
config ARM_MVEBU_V7_CPUIDLE
bool "CPU Idle Driver for mvebu v7 family processors"
- depends on ARCH_MVEBU && !ARM64
+ depends on (ARCH_MVEBU || COMPILE_TEST) && !ARM64
help
Select this to enable cpuidle on Armada 370, 38x and XP processors.
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] cpuidle: arm: Enable compile testing for some of drivers
2019-12-29 18:09 [PATCH] cpuidle: arm: Enable compile testing for some of drivers Krzysztof Kozlowski
@ 2019-12-29 18:09 ` Krzysztof Kozlowski
2020-01-13 11:51 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2019-12-29 18:09 UTC (permalink / raw)
To: Rafael J. Wysocki, Daniel Lezcano, linux-pm, linux-kernel,
Nicolas Ferre, Alexandre Belloni, Lorenzo Pieralisi,
Bartlomiej Zolnierkiewicz, Sudeep Holla
Cc: linux-samsung-soc, Krzysztof Kozlowski, linux-arm-kernel
Some of cpuidle drivers for ARMv7 can be compile tested on this
architecture because they do not depend on mach-specific bits. Enable
compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu
cpuidle drivers.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/cpuidle/Kconfig.arm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
index a224d33dda7f..62272ecfa771 100644
--- a/drivers/cpuidle/Kconfig.arm
+++ b/drivers/cpuidle/Kconfig.arm
@@ -25,7 +25,7 @@ config ARM_PSCI_CPUIDLE
config ARM_BIG_LITTLE_CPUIDLE
bool "Support for ARM big.LITTLE processors"
- depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS
+ depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS || COMPILE_TEST
depends on MCPM && !ARM64
select ARM_CPU_SUSPEND
select CPU_IDLE_MULTIPLE_DRIVERS
@@ -51,13 +51,13 @@ config ARM_HIGHBANK_CPUIDLE
config ARM_KIRKWOOD_CPUIDLE
bool "CPU Idle Driver for Marvell Kirkwood SoCs"
- depends on MACH_KIRKWOOD && !ARM64
+ depends on (MACH_KIRKWOOD || COMPILE_TEST) && !ARM64
help
This adds the CPU Idle driver for Marvell Kirkwood SoCs.
config ARM_ZYNQ_CPUIDLE
bool "CPU Idle Driver for Xilinx Zynq processors"
- depends on ARCH_ZYNQ && !ARM64
+ depends on (ARCH_ZYNQ || COMPILE_TEST) && !ARM64
help
Select this to enable cpuidle on Xilinx Zynq processors.
@@ -70,19 +70,19 @@ config ARM_U8500_CPUIDLE
config ARM_AT91_CPUIDLE
bool "Cpu Idle Driver for the AT91 processors"
default y
- depends on ARCH_AT91 && !ARM64
+ depends on (ARCH_AT91 || COMPILE_TEST) && !ARM64
help
Select this to enable cpuidle for AT91 processors.
config ARM_EXYNOS_CPUIDLE
bool "Cpu Idle Driver for the Exynos processors"
- depends on ARCH_EXYNOS && !ARM64
+ depends on (ARCH_EXYNOS || COMPILE_TEST) && !ARM64
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
help
Select this to enable cpuidle for Exynos processors.
config ARM_MVEBU_V7_CPUIDLE
bool "CPU Idle Driver for mvebu v7 family processors"
- depends on ARCH_MVEBU && !ARM64
+ depends on (ARCH_MVEBU || COMPILE_TEST) && !ARM64
help
Select this to enable cpuidle on Armada 370, 38x and XP processors.
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuidle: arm: Enable compile testing for some of drivers
2019-12-29 18:09 ` Krzysztof Kozlowski
@ 2020-01-13 11:51 ` Rafael J. Wysocki
2020-01-13 11:58 ` Daniel Lezcano
0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2020-01-13 11:51 UTC (permalink / raw)
To: Krzysztof Kozlowski, Daniel Lezcano
Cc: Alexandre Belloni, Lorenzo Pieralisi, Bartlomiej Zolnierkiewicz,
linux-pm, linux-kernel, linux-samsung-soc, Sudeep Holla,
linux-arm-kernel
On Sunday, December 29, 2019 7:09:12 PM CET Krzysztof Kozlowski wrote:
> Some of cpuidle drivers for ARMv7 can be compile tested on this
> architecture because they do not depend on mach-specific bits. Enable
> compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu
> cpuidle drivers.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> drivers/cpuidle/Kconfig.arm | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
> index a224d33dda7f..62272ecfa771 100644
> --- a/drivers/cpuidle/Kconfig.arm
> +++ b/drivers/cpuidle/Kconfig.arm
> @@ -25,7 +25,7 @@ config ARM_PSCI_CPUIDLE
>
> config ARM_BIG_LITTLE_CPUIDLE
> bool "Support for ARM big.LITTLE processors"
> - depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS
> + depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS || COMPILE_TEST
> depends on MCPM && !ARM64
> select ARM_CPU_SUSPEND
> select CPU_IDLE_MULTIPLE_DRIVERS
> @@ -51,13 +51,13 @@ config ARM_HIGHBANK_CPUIDLE
>
> config ARM_KIRKWOOD_CPUIDLE
> bool "CPU Idle Driver for Marvell Kirkwood SoCs"
> - depends on MACH_KIRKWOOD && !ARM64
> + depends on (MACH_KIRKWOOD || COMPILE_TEST) && !ARM64
> help
> This adds the CPU Idle driver for Marvell Kirkwood SoCs.
>
> config ARM_ZYNQ_CPUIDLE
> bool "CPU Idle Driver for Xilinx Zynq processors"
> - depends on ARCH_ZYNQ && !ARM64
> + depends on (ARCH_ZYNQ || COMPILE_TEST) && !ARM64
> help
> Select this to enable cpuidle on Xilinx Zynq processors.
>
> @@ -70,19 +70,19 @@ config ARM_U8500_CPUIDLE
> config ARM_AT91_CPUIDLE
> bool "Cpu Idle Driver for the AT91 processors"
> default y
> - depends on ARCH_AT91 && !ARM64
> + depends on (ARCH_AT91 || COMPILE_TEST) && !ARM64
> help
> Select this to enable cpuidle for AT91 processors.
>
> config ARM_EXYNOS_CPUIDLE
> bool "Cpu Idle Driver for the Exynos processors"
> - depends on ARCH_EXYNOS && !ARM64
> + depends on (ARCH_EXYNOS || COMPILE_TEST) && !ARM64
> select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
> help
> Select this to enable cpuidle for Exynos processors.
>
> config ARM_MVEBU_V7_CPUIDLE
> bool "CPU Idle Driver for mvebu v7 family processors"
> - depends on ARCH_MVEBU && !ARM64
> + depends on (ARCH_MVEBU || COMPILE_TEST) && !ARM64
> help
> Select this to enable cpuidle on Armada 370, 38x and XP processors.
>
Daniel, any concerns regarding this one?
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuidle: arm: Enable compile testing for some of drivers
2020-01-13 11:51 ` Rafael J. Wysocki
@ 2020-01-13 11:58 ` Daniel Lezcano
2020-01-13 12:24 ` Daniel Lezcano
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Lezcano @ 2020-01-13 11:58 UTC (permalink / raw)
To: Rafael J. Wysocki, Krzysztof Kozlowski
Cc: Alexandre Belloni, Lorenzo Pieralisi, Bartlomiej Zolnierkiewicz,
linux-pm, linux-kernel, linux-samsung-soc, Sudeep Holla,
linux-arm-kernel
On 13/01/2020 12:51, Rafael J. Wysocki wrote:
> On Sunday, December 29, 2019 7:09:12 PM CET Krzysztof Kozlowski wrote:
>> Some of cpuidle drivers for ARMv7 can be compile tested on this
>> architecture because they do not depend on mach-specific bits. Enable
>> compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu
>> cpuidle drivers.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
>> ---
>> drivers/cpuidle/Kconfig.arm | 12 ++++++------
>> 1 file changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
>> index a224d33dda7f..62272ecfa771 100644
>> --- a/drivers/cpuidle/Kconfig.arm
>> +++ b/drivers/cpuidle/Kconfig.arm
>> @@ -25,7 +25,7 @@ config ARM_PSCI_CPUIDLE
>>
>> config ARM_BIG_LITTLE_CPUIDLE
>> bool "Support for ARM big.LITTLE processors"
>> - depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS
>> + depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS || COMPILE_TEST
>> depends on MCPM && !ARM64
>> select ARM_CPU_SUSPEND
>> select CPU_IDLE_MULTIPLE_DRIVERS
>> @@ -51,13 +51,13 @@ config ARM_HIGHBANK_CPUIDLE
>>
>> config ARM_KIRKWOOD_CPUIDLE
>> bool "CPU Idle Driver for Marvell Kirkwood SoCs"
>> - depends on MACH_KIRKWOOD && !ARM64
>> + depends on (MACH_KIRKWOOD || COMPILE_TEST) && !ARM64
>> help
>> This adds the CPU Idle driver for Marvell Kirkwood SoCs.
>>
>> config ARM_ZYNQ_CPUIDLE
>> bool "CPU Idle Driver for Xilinx Zynq processors"
>> - depends on ARCH_ZYNQ && !ARM64
>> + depends on (ARCH_ZYNQ || COMPILE_TEST) && !ARM64
>> help
>> Select this to enable cpuidle on Xilinx Zynq processors.
>>
>> @@ -70,19 +70,19 @@ config ARM_U8500_CPUIDLE
>> config ARM_AT91_CPUIDLE
>> bool "Cpu Idle Driver for the AT91 processors"
>> default y
>> - depends on ARCH_AT91 && !ARM64
>> + depends on (ARCH_AT91 || COMPILE_TEST) && !ARM64
>> help
>> Select this to enable cpuidle for AT91 processors.
>>
>> config ARM_EXYNOS_CPUIDLE
>> bool "Cpu Idle Driver for the Exynos processors"
>> - depends on ARCH_EXYNOS && !ARM64
>> + depends on (ARCH_EXYNOS || COMPILE_TEST) && !ARM64
>> select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
>> help
>> Select this to enable cpuidle for Exynos processors.
>>
>> config ARM_MVEBU_V7_CPUIDLE
>> bool "CPU Idle Driver for mvebu v7 family processors"
>> - depends on ARCH_MVEBU && !ARM64
>> + depends on (ARCH_MVEBU || COMPILE_TEST) && !ARM64
>> help
>> Select this to enable cpuidle on Armada 370, 38x and XP processors.
>>
>
> Daniel, any concerns regarding this one?
Yes, I have a doubt about this patch. I'll double check before commenting.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuidle: arm: Enable compile testing for some of drivers
2020-01-13 11:58 ` Daniel Lezcano
@ 2020-01-13 12:24 ` Daniel Lezcano
2020-01-14 22:51 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Lezcano @ 2020-01-13 12:24 UTC (permalink / raw)
To: Rafael J. Wysocki, Krzysztof Kozlowski
Cc: Alexandre Belloni, Lorenzo Pieralisi, Bartlomiej Zolnierkiewicz,
linux-pm, linux-kernel, linux-samsung-soc, Sudeep Holla,
linux-arm-kernel
On 13/01/2020 12:58, Daniel Lezcano wrote:
> On 13/01/2020 12:51, Rafael J. Wysocki wrote:
>> On Sunday, December 29, 2019 7:09:12 PM CET Krzysztof Kozlowski wrote:
>>> Some of cpuidle drivers for ARMv7 can be compile tested on this
>>> architecture because they do not depend on mach-specific bits. Enable
>>> compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu
>>> cpuidle drivers.
>>>
>>> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
>>> ---
[ ... ]
>> Daniel, any concerns regarding this one?
>
> Yes, I have a doubt about this patch. I'll double check before commenting.
Actually it is fine.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuidle: arm: Enable compile testing for some of drivers
2020-01-13 12:24 ` Daniel Lezcano
@ 2020-01-14 22:51 ` Rafael J. Wysocki
0 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2020-01-14 22:51 UTC (permalink / raw)
To: Daniel Lezcano, Krzysztof Kozlowski
Cc: Alexandre Belloni, Lorenzo Pieralisi, Bartlomiej Zolnierkiewicz,
linux-pm, linux-kernel, linux-samsung-soc, Sudeep Holla,
linux-arm-kernel
On Monday, January 13, 2020 1:24:00 PM CET Daniel Lezcano wrote:
> On 13/01/2020 12:58, Daniel Lezcano wrote:
> > On 13/01/2020 12:51, Rafael J. Wysocki wrote:
> >> On Sunday, December 29, 2019 7:09:12 PM CET Krzysztof Kozlowski wrote:
> >>> Some of cpuidle drivers for ARMv7 can be compile tested on this
> >>> architecture because they do not depend on mach-specific bits. Enable
> >>> compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu
> >>> cpuidle drivers.
> >>>
> >>> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> >>> ---
>
> [ ... ]
>
> >> Daniel, any concerns regarding this one?
> >
> > Yes, I have a doubt about this patch. I'll double check before commenting.
>
> Actually it is fine.
>
> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
OK, patch applied.
Thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-01-14 22:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-29 18:09 [PATCH] cpuidle: arm: Enable compile testing for some of drivers Krzysztof Kozlowski
2019-12-29 18:09 ` Krzysztof Kozlowski
2020-01-13 11:51 ` Rafael J. Wysocki
2020-01-13 11:58 ` Daniel Lezcano
2020-01-13 12:24 ` Daniel Lezcano
2020-01-14 22:51 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).