* [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2
@ 2013-03-25 16:54 Viresh Kumar
2013-03-25 16:54 ` [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq Viresh Kumar
` (8 more replies)
0 siblings, 9 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar
Hi,
This is the second patchset toward migrating all cpufreq drivers to
drivers/cpufreq (Earlier one was for ARM drivers).
These are all applied here:
http://git.linaro.org/gitweb?p=people/vireshk/linux.git;a=shortlog;h=refs/heads/cpufreq-move-drivers
They aren't tested, not even compilation.
Viresh Kumar (9):
AVR32: cpufreq: move cpufreq driver to drivers/cpufreq
blackfin: cpufreq: move cpufreq driver to drivers/cpufreq
cris: cpufreq: move cpufreq driver to drivers/cpufreq
ia64: cpufreq: move cpufreq driver to drivers/cpufreq
mips: cpufreq: move cpufreq driver to drivers/cpufreq
sh: cpufreq: move cpufreq driver to drivers/cpufreq
unicore2: cpufreq: move cpufreq driver to drivers/cpufreq
spark: cpufreq: move cpufreq driver to drivers/cpufreq
powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
arch/avr32/Kconfig | 13 ----
arch/avr32/configs/atngw100_defconfig | 2 +-
arch/avr32/configs/atngw100_evklcd100_defconfig | 2 +-
arch/avr32/configs/atngw100_evklcd101_defconfig | 2 +-
arch/avr32/configs/atngw100_mrmt_defconfig | 2 +-
arch/avr32/configs/atngw100mkii_defconfig | 2 +-
.../avr32/configs/atngw100mkii_evklcd100_defconfig | 2 +-
.../avr32/configs/atngw100mkii_evklcd101_defconfig | 2 +-
arch/avr32/configs/atstk1002_defconfig | 2 +-
arch/avr32/configs/atstk1003_defconfig | 2 +-
arch/avr32/configs/atstk1004_defconfig | 2 +-
arch/avr32/configs/atstk1006_defconfig | 2 +-
arch/avr32/configs/favr-32_defconfig | 2 +-
arch/avr32/configs/hammerhead_defconfig | 2 +-
arch/avr32/configs/mimc200_defconfig | 2 +-
arch/avr32/mach-at32ap/Makefile | 1 -
arch/blackfin/mach-common/Makefile | 1 -
arch/cris/arch-v32/mach-a3/Makefile | 1 -
arch/cris/arch-v32/mach-fs/Makefile | 1 -
arch/ia64/Kconfig | 5 +-
arch/ia64/kernel/Makefile | 1 -
arch/ia64/kernel/cpufreq/Kconfig | 29 -------
arch/ia64/kernel/cpufreq/Makefile | 2 -
arch/mips/Kconfig | 9 ++-
arch/mips/kernel/Makefile | 2 -
arch/mips/kernel/cpufreq/Kconfig | 41 ----------
arch/mips/kernel/cpufreq/Makefile | 5 --
arch/powerpc/platforms/Kconfig | 31 --------
arch/powerpc/platforms/pasemi/Makefile | 1 -
arch/powerpc/platforms/powermac/Makefile | 2 -
arch/sh/Kconfig | 18 -----
arch/sh/kernel/Makefile | 1 -
arch/sparc/Kconfig | 23 ------
arch/sparc/kernel/Makefile | 3 -
arch/unicore32/kernel/Makefile | 1 -
drivers/cpufreq/Kconfig | 89 ++++++++++++++++++++++
drivers/cpufreq/Kconfig.powerpc | 26 +++++++
drivers/cpufreq/Makefile | 16 ++++
.../cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c | 0
.../cpufreq/blackfin-cpufreq.c | 0
.../cpufreq/cris-artpec3-cpufreq.c | 0
.../cpufreq/cris-etraxfs-cpufreq.c | 0
.../cpufreq/ia64-acpi-cpufreq.c | 1 -
.../kernel => drivers}/cpufreq/loongson2_cpufreq.c | 0
.../cpufreq.c => drivers/cpufreq/pasemi-cpufreq.c | 0
.../cpufreq/pmac32-cpufreq.c | 0
.../cpufreq/pmac64-cpufreq.c | 0
.../cpufreq.c => drivers/cpufreq/sh-cpufreq.c | 2 -
.../cpufreq/spark-us2e-cpufreq.c | 0
.../cpufreq/spark-us3-cpufreq.c | 0
.../cpufreq/unicore2-cpufreq.c | 2 +-
51 files changed, 156 insertions(+), 199 deletions(-)
delete mode 100644 arch/ia64/kernel/cpufreq/Kconfig
delete mode 100644 arch/ia64/kernel/cpufreq/Makefile
delete mode 100644 arch/mips/kernel/cpufreq/Kconfig
delete mode 100644 arch/mips/kernel/cpufreq/Makefile
rename arch/avr32/mach-at32ap/cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c (100%)
rename arch/blackfin/mach-common/cpufreq.c => drivers/cpufreq/blackfin-cpufreq.c (100%)
rename arch/cris/arch-v32/mach-a3/cpufreq.c => drivers/cpufreq/cris-artpec3-cpufreq.c (100%)
rename arch/cris/arch-v32/mach-fs/cpufreq.c => drivers/cpufreq/cris-etraxfs-cpufreq.c (100%)
rename arch/ia64/kernel/cpufreq/acpi-cpufreq.c => drivers/cpufreq/ia64-acpi-cpufreq.c (99%)
rename {arch/mips/kernel => drivers}/cpufreq/loongson2_cpufreq.c (100%)
rename arch/powerpc/platforms/pasemi/cpufreq.c => drivers/cpufreq/pasemi-cpufreq.c (100%)
rename arch/powerpc/platforms/powermac/cpufreq_32.c => drivers/cpufreq/pmac32-cpufreq.c (100%)
rename arch/powerpc/platforms/powermac/cpufreq_64.c => drivers/cpufreq/pmac64-cpufreq.c (100%)
rename arch/sh/kernel/cpufreq.c => drivers/cpufreq/sh-cpufreq.c (99%)
rename arch/sparc/kernel/us2e_cpufreq.c => drivers/cpufreq/spark-us2e-cpufreq.c (100%)
rename arch/sparc/kernel/us3_cpufreq.c => drivers/cpufreq/spark-us3-cpufreq.c (100%)
rename arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c (96%)
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply [flat|nested] 38+ messages in thread
* [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-31 3:58 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 2/9] blackfin: " Viresh Kumar
` (7 subsequent siblings)
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar,
hans-christian.egtvedt, Haavard Skinnemoen
This patch moves cpufreq driver of AVR32 based at32ap platform to
drivers/cpufreq.
Cc: hans-christian.egtvedt@atmel.com
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/avr32/Kconfig | 13 -------------
arch/avr32/configs/atngw100_defconfig | 2 +-
arch/avr32/configs/atngw100_evklcd100_defconfig | 2 +-
arch/avr32/configs/atngw100_evklcd101_defconfig | 2 +-
arch/avr32/configs/atngw100_mrmt_defconfig | 2 +-
arch/avr32/configs/atngw100mkii_defconfig | 2 +-
arch/avr32/configs/atngw100mkii_evklcd100_defconfig | 2 +-
arch/avr32/configs/atngw100mkii_evklcd101_defconfig | 2 +-
arch/avr32/configs/atstk1002_defconfig | 2 +-
arch/avr32/configs/atstk1003_defconfig | 2 +-
arch/avr32/configs/atstk1004_defconfig | 2 +-
arch/avr32/configs/atstk1006_defconfig | 2 +-
arch/avr32/configs/favr-32_defconfig | 2 +-
arch/avr32/configs/hammerhead_defconfig | 2 +-
arch/avr32/configs/mimc200_defconfig | 2 +-
arch/avr32/mach-at32ap/Makefile | 1 -
drivers/cpufreq/Kconfig | 13 +++++++++++++
drivers/cpufreq/Makefile | 4 ++++
.../cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c | 0
19 files changed, 31 insertions(+), 28 deletions(-)
rename arch/avr32/mach-at32ap/cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c (100%)
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index c1a868d..22c4030 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -250,20 +250,7 @@ config ARCH_SUSPEND_POSSIBLE
def_bool y
menu "CPU Frequency scaling"
-
source "drivers/cpufreq/Kconfig"
-
-config CPU_FREQ_AT32AP
- bool "CPU frequency driver for AT32AP"
- depends on CPU_FREQ && PLATFORM_AT32AP
- default n
- help
- This enables the CPU frequency driver for AT32AP processors.
-
- For details, take a look in <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
endmenu
endmenu
diff --git a/arch/avr32/configs/atngw100_defconfig b/arch/avr32/configs/atngw100_defconfig
index f4025db..d5aff36 100644
--- a/arch/avr32/configs/atngw100_defconfig
+++ b/arch/avr32/configs/atngw100_defconfig
@@ -26,7 +26,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atngw100_evklcd100_defconfig b/arch/avr32/configs/atngw100_evklcd100_defconfig
index c76a49b..4abcf43 100644
--- a/arch/avr32/configs/atngw100_evklcd100_defconfig
+++ b/arch/avr32/configs/atngw100_evklcd100_defconfig
@@ -28,7 +28,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atngw100_evklcd101_defconfig b/arch/avr32/configs/atngw100_evklcd101_defconfig
index 2d8ab08..18f3fa0 100644
--- a/arch/avr32/configs/atngw100_evklcd101_defconfig
+++ b/arch/avr32/configs/atngw100_evklcd101_defconfig
@@ -27,7 +27,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atngw100_mrmt_defconfig b/arch/avr32/configs/atngw100_mrmt_defconfig
index b189e0c..06e389c 100644
--- a/arch/avr32/configs/atngw100_mrmt_defconfig
+++ b/arch/avr32/configs/atngw100_mrmt_defconfig
@@ -23,7 +23,7 @@ CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
diff --git a/arch/avr32/configs/atngw100mkii_defconfig b/arch/avr32/configs/atngw100mkii_defconfig
index 2e4de42..2518a13 100644
--- a/arch/avr32/configs/atngw100mkii_defconfig
+++ b/arch/avr32/configs/atngw100mkii_defconfig
@@ -26,7 +26,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atngw100mkii_evklcd100_defconfig b/arch/avr32/configs/atngw100mkii_evklcd100_defconfig
index fad3cd2..245ef6b 100644
--- a/arch/avr32/configs/atngw100mkii_evklcd100_defconfig
+++ b/arch/avr32/configs/atngw100mkii_evklcd100_defconfig
@@ -29,7 +29,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atngw100mkii_evklcd101_defconfig b/arch/avr32/configs/atngw100mkii_evklcd101_defconfig
index 2998623..fa6cbac 100644
--- a/arch/avr32/configs/atngw100mkii_evklcd101_defconfig
+++ b/arch/avr32/configs/atngw100mkii_evklcd101_defconfig
@@ -28,7 +28,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atstk1002_defconfig b/arch/avr32/configs/atstk1002_defconfig
index a582465..bbd5131 100644
--- a/arch/avr32/configs/atstk1002_defconfig
+++ b/arch/avr32/configs/atstk1002_defconfig
@@ -25,7 +25,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atstk1003_defconfig b/arch/avr32/configs/atstk1003_defconfig
index 57a79df..c1cd726 100644
--- a/arch/avr32/configs/atstk1003_defconfig
+++ b/arch/avr32/configs/atstk1003_defconfig
@@ -26,7 +26,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atstk1004_defconfig b/arch/avr32/configs/atstk1004_defconfig
index 1a49bd8..754ae56 100644
--- a/arch/avr32/configs/atstk1004_defconfig
+++ b/arch/avr32/configs/atstk1004_defconfig
@@ -26,7 +26,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/atstk1006_defconfig b/arch/avr32/configs/atstk1006_defconfig
index 206a1b6..58589d8 100644
--- a/arch/avr32/configs/atstk1006_defconfig
+++ b/arch/avr32/configs/atstk1006_defconfig
@@ -26,7 +26,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_NET=y
CONFIG_PACKET=y
diff --git a/arch/avr32/configs/favr-32_defconfig b/arch/avr32/configs/favr-32_defconfig
index 0421498..57788a4 100644
--- a/arch/avr32/configs/favr-32_defconfig
+++ b/arch/avr32/configs/favr-32_defconfig
@@ -27,7 +27,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
diff --git a/arch/avr32/configs/hammerhead_defconfig b/arch/avr32/configs/hammerhead_defconfig
index 82f24eb..ba7c31e 100644
--- a/arch/avr32/configs/hammerhead_defconfig
+++ b/arch/avr32/configs/hammerhead_defconfig
@@ -31,7 +31,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
diff --git a/arch/avr32/configs/mimc200_defconfig b/arch/avr32/configs/mimc200_defconfig
index 1bee51f..0a8bfdc 100644
--- a/arch/avr32/configs/mimc200_defconfig
+++ b/arch/avr32/configs/mimc200_defconfig
@@ -24,7 +24,7 @@ CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_STAT is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_AT32AP=y
+CONFIG_AVR32_AT32AP_CPUFREQ=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
diff --git a/arch/avr32/mach-at32ap/Makefile b/arch/avr32/mach-at32ap/Makefile
index 514c9a9..fc09ec4 100644
--- a/arch/avr32/mach-at32ap/Makefile
+++ b/arch/avr32/mach-at32ap/Makefile
@@ -1,7 +1,6 @@
obj-y += pdc.o clock.o intc.o extint.o pio.o hsmc.o
obj-y += hmatrix.o
obj-$(CONFIG_CPU_AT32AP700X) += at32ap700x.o pm-at32ap700x.o
-obj-$(CONFIG_CPU_FREQ_AT32AP) += cpufreq.o
obj-$(CONFIG_PM) += pm.o
ifeq ($(CONFIG_PM_DEBUG),y)
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index cbcb21e..d7ce6cc 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -205,6 +205,19 @@ depends on ARM
source "drivers/cpufreq/Kconfig.arm"
endmenu
+menu "AVR32 CPU frequency scaling drivers"
+depends on AVR32
+
+config AVR32_AT32AP_CPUFREQ
+ bool "CPU frequency driver for AT32AP"
+ depends on PLATFORM_AT32AP
+ default n
+ help
+ This enables the CPU frequency driver for AT32AP processors.
+ If in doubt, say N.
+
+endmenu
+
menu "PowerPC CPU frequency scaling drivers"
depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index c113af2..7573c22 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -75,3 +75,7 @@ obj-$(CONFIG_ARCH_TEGRA) += tegra-cpufreq.o
##################################################################################
# PowerPC platform drivers
obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
+
+##################################################################################
+# Other platform drivers
+obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
diff --git a/arch/avr32/mach-at32ap/cpufreq.c b/drivers/cpufreq/at32ap-cpufreq.c
similarity index 100%
rename from arch/avr32/mach-at32ap/cpufreq.c
rename to drivers/cpufreq/at32ap-cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 2/9] blackfin: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
2013-03-25 16:54 ` [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
[not found] ` <df07f927c36e109e49363b9b87965a184ea941ca.1364229828.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-25 16:54 ` [PATCH 3/9] cris: " Viresh Kumar
` (6 subsequent siblings)
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Mike Frysinger,
uclinux-dist-devel
This patch moves cpufreq driver of BLACKFIN architecture to drivers/cpufreq.
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/blackfin/mach-common/Makefile | 1 -
drivers/cpufreq/Makefile | 1 +
.../blackfin/mach-common/cpufreq.c => drivers/cpufreq/blackfin-cpufreq.c | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename arch/blackfin/mach-common/cpufreq.c => drivers/cpufreq/blackfin-cpufreq.c (100%)
diff --git a/arch/blackfin/mach-common/Makefile b/arch/blackfin/mach-common/Makefile
index 75f0ba2..675466d 100644
--- a/arch/blackfin/mach-common/Makefile
+++ b/arch/blackfin/mach-common/Makefile
@@ -10,7 +10,6 @@ obj-$(CONFIG_PM) += pm.o
ifneq ($(CONFIG_BF60x),y)
obj-$(CONFIG_PM) += dpmc_modes.o
endif
-obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_CPU_VOLTAGE) += dpmc.o
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_BFIN_KERNEL_CLOCK) += clocks-init.o
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 7573c22..2d86377 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -79,3 +79,4 @@ obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
##################################################################################
# Other platform drivers
obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
+obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o
diff --git a/arch/blackfin/mach-common/cpufreq.c b/drivers/cpufreq/blackfin-cpufreq.c
similarity index 100%
rename from arch/blackfin/mach-common/cpufreq.c
rename to drivers/cpufreq/blackfin-cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
2013-03-25 16:54 ` [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq Viresh Kumar
2013-03-25 16:54 ` [PATCH 2/9] blackfin: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-31 4:00 ` Viresh Kumar
2013-04-03 12:21 ` Jesper Nilsson
2013-03-25 16:54 ` [PATCH 4/9] ia64: " Viresh Kumar
` (5 subsequent siblings)
8 siblings, 2 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Jesper Nilsson,
Mikael Starvik, linux-cris-kernel
This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq.
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/cris/arch-v32/mach-a3/Makefile | 1 -
arch/cris/arch-v32/mach-fs/Makefile | 1 -
drivers/cpufreq/Makefile | 2 ++
.../mach-a3/cpufreq.c => drivers/cpufreq/cris-artpec3-cpufreq.c | 0
.../mach-fs/cpufreq.c => drivers/cpufreq/cris-etraxfs-cpufreq.c | 0
5 files changed, 2 insertions(+), 2 deletions(-)
rename arch/cris/arch-v32/mach-a3/cpufreq.c => drivers/cpufreq/cris-artpec3-cpufreq.c (100%)
rename arch/cris/arch-v32/mach-fs/cpufreq.c => drivers/cpufreq/cris-etraxfs-cpufreq.c (100%)
diff --git a/arch/cris/arch-v32/mach-a3/Makefile b/arch/cris/arch-v32/mach-a3/Makefile
index d366e08..18a2271 100644
--- a/arch/cris/arch-v32/mach-a3/Makefile
+++ b/arch/cris/arch-v32/mach-a3/Makefile
@@ -3,7 +3,6 @@
#
obj-y := dma.o pinmux.o io.o arbiter.o
-obj-$(CONFIG_CPU_FREQ) += cpufreq.o
clean:
diff --git a/arch/cris/arch-v32/mach-fs/Makefile b/arch/cris/arch-v32/mach-fs/Makefile
index d366e08..18a2271 100644
--- a/arch/cris/arch-v32/mach-fs/Makefile
+++ b/arch/cris/arch-v32/mach-fs/Makefile
@@ -3,7 +3,6 @@
#
obj-y := dma.o pinmux.o io.o arbiter.o
-obj-$(CONFIG_CPU_FREQ) += cpufreq.o
clean:
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 2d86377..8fbfbbf 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -80,3 +80,5 @@ obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
# Other platform drivers
obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o
+obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
+obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
diff --git a/arch/cris/arch-v32/mach-a3/cpufreq.c b/drivers/cpufreq/cris-artpec3-cpufreq.c
similarity index 100%
rename from arch/cris/arch-v32/mach-a3/cpufreq.c
rename to drivers/cpufreq/cris-artpec3-cpufreq.c
diff --git a/arch/cris/arch-v32/mach-fs/cpufreq.c b/drivers/cpufreq/cris-etraxfs-cpufreq.c
similarity index 100%
rename from arch/cris/arch-v32/mach-fs/cpufreq.c
rename to drivers/cpufreq/cris-etraxfs-cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 4/9] ia64: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
` (2 preceding siblings ...)
2013-03-25 16:54 ` [PATCH 3/9] cris: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-30 9:51 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 5/9] mips: " Viresh Kumar
` (4 subsequent siblings)
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Tony Luck, Fenghua Yu,
linux-ia64
This patch moves cpufreq driver of IA64 architecture to drivers/cpufreq.
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: linux-ia64@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/ia64/Kconfig | 5 ++--
arch/ia64/kernel/Makefile | 1 -
arch/ia64/kernel/cpufreq/Kconfig | 29 ----------------------
arch/ia64/kernel/cpufreq/Makefile | 2 --
drivers/cpufreq/Kconfig | 17 +++++++++++++
drivers/cpufreq/Makefile | 1 +
.../cpufreq/ia64-acpi-cpufreq.c | 1 -
7 files changed, 20 insertions(+), 36 deletions(-)
delete mode 100644 arch/ia64/kernel/cpufreq/Kconfig
delete mode 100644 arch/ia64/kernel/cpufreq/Makefile
rename arch/ia64/kernel/cpufreq/acpi-cpufreq.c => drivers/cpufreq/ia64-acpi-cpufreq.c (99%)
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index 9a02f71..dd59848 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -591,9 +591,8 @@ source "kernel/power/Kconfig"
source "drivers/acpi/Kconfig"
if PM
-
-source "arch/ia64/kernel/cpufreq/Kconfig"
-
+menu "CPU Frequency scaling"
+source "drivers/cpufreq/Kconfig"
endif
endmenu
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile
index d959c84..20678a9 100644
--- a/arch/ia64/kernel/Makefile
+++ b/arch/ia64/kernel/Makefile
@@ -23,7 +23,6 @@ obj-$(CONFIG_SMP) += smp.o smpboot.o
obj-$(CONFIG_NUMA) += numa.o
obj-$(CONFIG_PERFMON) += perfmon_default_smpl.o
obj-$(CONFIG_IA64_CYCLONE) += cyclone.o
-obj-$(CONFIG_CPU_FREQ) += cpufreq/
obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o
obj-$(CONFIG_KPROBES) += kprobes.o jprobes.o
obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
diff --git a/arch/ia64/kernel/cpufreq/Kconfig b/arch/ia64/kernel/cpufreq/Kconfig
deleted file mode 100644
index 2d9d527..0000000
--- a/arch/ia64/kernel/cpufreq/Kconfig
+++ /dev/null
@@ -1,29 +0,0 @@
-
-#
-# CPU Frequency scaling
-#
-
-menu "CPU Frequency scaling"
-
-source "drivers/cpufreq/Kconfig"
-
-if CPU_FREQ
-
-comment "CPUFreq processor drivers"
-
-config IA64_ACPI_CPUFREQ
- tristate "ACPI Processor P-States driver"
- select CPU_FREQ_TABLE
- depends on ACPI_PROCESSOR
- help
- This driver adds a CPUFreq driver which utilizes the ACPI
- Processor Performance States.
-
- For details, take a look at <file:Documentation/cpu-freq/>.
-
- If in doubt, say N.
-
-endif # CPU_FREQ
-
-endmenu
-
diff --git a/arch/ia64/kernel/cpufreq/Makefile b/arch/ia64/kernel/cpufreq/Makefile
deleted file mode 100644
index 4838f2a..0000000
--- a/arch/ia64/kernel/cpufreq/Makefile
+++ /dev/null
@@ -1,2 +0,0 @@
-obj-$(CONFIG_IA64_ACPI_CPUFREQ) += acpi-cpufreq.o
-
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index d7ce6cc..a2f1600 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -218,6 +218,23 @@ config AVR32_AT32AP_CPUFREQ
endmenu
+menu "CPUFreq processor drivers"
+depends on IA64
+
+config IA64_ACPI_CPUFREQ
+ tristate "ACPI Processor P-States driver"
+ select CPU_FREQ_TABLE
+ depends on ACPI_PROCESSOR
+ help
+ This driver adds a CPUFreq driver which utilizes the ACPI
+ Processor Performance States.
+
+ For details, take a look at <file:Documentation/cpu-freq/>.
+
+ If in doubt, say N.
+
+endmenu
+
menu "PowerPC CPU frequency scaling drivers"
depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 8fbfbbf..312141d 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -82,3 +82,4 @@ obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o
obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
+obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
diff --git a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c
similarity index 99%
rename from arch/ia64/kernel/cpufreq/acpi-cpufreq.c
rename to drivers/cpufreq/ia64-acpi-cpufreq.c
index 4700fef..c0075db 100644
--- a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c
+++ b/drivers/cpufreq/ia64-acpi-cpufreq.c
@@ -1,5 +1,4 @@
/*
- * arch/ia64/kernel/cpufreq/acpi-cpufreq.c
* This file provides the ACPI based P-state support. This
* module works with generic cpufreq infrastructure. Most of
* the code is based on i386 version
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 5/9] mips: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
` (3 preceding siblings ...)
2013-03-25 16:54 ` [PATCH 4/9] ia64: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-31 4:01 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 6/9] sh: " Viresh Kumar
` (3 subsequent siblings)
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Ralf Baechle,
linux-mips
This patch moves cpufreq driver of MIPS architecture to drivers/cpufreq.
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/mips/Kconfig | 9 ++++-
arch/mips/kernel/Makefile | 2 --
arch/mips/kernel/cpufreq/Kconfig | 41 ----------------------
arch/mips/kernel/cpufreq/Makefile | 5 ---
drivers/cpufreq/Kconfig | 18 ++++++++++
drivers/cpufreq/Makefile | 1 +
.../kernel => drivers}/cpufreq/loongson2_cpufreq.c | 0
7 files changed, 27 insertions(+), 49 deletions(-)
delete mode 100644 arch/mips/kernel/cpufreq/Kconfig
delete mode 100644 arch/mips/kernel/cpufreq/Makefile
rename {arch/mips/kernel => drivers}/cpufreq/loongson2_cpufreq.c (100%)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index cd2e21f..22e8417 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2539,7 +2539,14 @@ source "kernel/power/Kconfig"
endmenu
-source "arch/mips/kernel/cpufreq/Kconfig"
+config MIPS_EXTERNAL_TIMER
+ bool
+
+if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
+menu "CPU Power Management"
+source "drivers/cpufreq/Kconfig"
+endmenu
+endif
source "net/Kconfig"
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index f81d98f..c69ca65 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -92,8 +92,6 @@ CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(KBUILD_CFLAGS) -Wa,-mdaddi -c -o /dev/n
obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o
-obj-$(CONFIG_MIPS_CPUFREQ) += cpufreq/
-
obj-$(CONFIG_PERF_EVENTS) += perf_event.o
obj-$(CONFIG_HW_PERF_EVENTS) += perf_event_mipsxx.o
diff --git a/arch/mips/kernel/cpufreq/Kconfig b/arch/mips/kernel/cpufreq/Kconfig
deleted file mode 100644
index 58c601e..0000000
--- a/arch/mips/kernel/cpufreq/Kconfig
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CPU Frequency scaling
-#
-
-config MIPS_EXTERNAL_TIMER
- bool
-
-config MIPS_CPUFREQ
- bool
- default y
- depends on CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
-
-if MIPS_CPUFREQ
-
-menu "CPU Frequency scaling"
-
-source "drivers/cpufreq/Kconfig"
-
-if CPU_FREQ
-
-comment "CPUFreq processor drivers"
-
-config LOONGSON2_CPUFREQ
- tristate "Loongson2 CPUFreq Driver"
- select CPU_FREQ_TABLE
- depends on MIPS_CPUFREQ
- help
- This option adds a CPUFreq driver for loongson processors which
- support software configurable cpu frequency.
-
- Loongson2F and it's successors support this feature.
-
- For details, take a look at <file:Documentation/cpu-freq/>.
-
- If in doubt, say N.
-
-endif # CPU_FREQ
-
-endmenu
-
-endif # MIPS_CPUFREQ
diff --git a/arch/mips/kernel/cpufreq/Makefile b/arch/mips/kernel/cpufreq/Makefile
deleted file mode 100644
index 05a5715..0000000
--- a/arch/mips/kernel/cpufreq/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Makefile for the Linux/MIPS cpufreq.
-#
-
-obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index a2f1600..5030df5 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -235,6 +235,24 @@ config IA64_ACPI_CPUFREQ
endmenu
+menu "MIPS CPUFreq processor drivers"
+depends on MIPS
+
+config LOONGSON2_CPUFREQ
+ tristate "Loongson2 CPUFreq Driver"
+ select CPU_FREQ_TABLE
+ help
+ This option adds a CPUFreq driver for loongson processors which
+ support software configurable cpu frequency.
+
+ Loongson2F and it's successors support this feature.
+
+ For details, take a look at <file:Documentation/cpu-freq/>.
+
+ If in doubt, say N.
+
+endmenu
+
menu "PowerPC CPU frequency scaling drivers"
depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 312141d..a245559 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -83,3 +83,4 @@ obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o
obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
+obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
diff --git a/arch/mips/kernel/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
similarity index 100%
rename from arch/mips/kernel/cpufreq/loongson2_cpufreq.c
rename to drivers/cpufreq/loongson2_cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 6/9] sh: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
` (4 preceding siblings ...)
2013-03-25 16:54 ` [PATCH 5/9] mips: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-26 9:29 ` Paul Mundt
2013-03-25 16:54 ` [PATCH 7/9] unicore2: " Viresh Kumar
` (2 subsequent siblings)
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Paul Mundt, linux-sh
This patch moves cpufreq driver of SUPERH architecture to drivers/cpufreq.
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/sh/Kconfig | 18 ------------------
arch/sh/kernel/Makefile | 1 -
drivers/cpufreq/Kconfig | 18 ++++++++++++++++++
drivers/cpufreq/Makefile | 1 +
.../kernel/cpufreq.c => drivers/cpufreq/sh-cpufreq.c | 2 --
5 files changed, 19 insertions(+), 21 deletions(-)
rename arch/sh/kernel/cpufreq.c => drivers/cpufreq/sh-cpufreq.c (99%)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 5e85963..06e3163 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -624,25 +624,7 @@ config SH_CLK_CPG_LEGACY
endmenu
menu "CPU Frequency scaling"
-
source "drivers/cpufreq/Kconfig"
-
-config SH_CPU_FREQ
- tristate "SuperH CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the cpufreq driver for SuperH. Any CPU that supports
- clock rate rounding through the clock framework can use this
- driver. While it will make the kernel slightly larger, this is
- harmless for CPUs that don't support rate rounding. The driver
- will also generate a notice in the boot log before disabling
- itself if the CPU in question is not capable of rate rounding.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If unsure, say N.
-
endmenu
source "arch/sh/drivers/Kconfig"
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile
index f259b37..261c8bf 100644
--- a/arch/sh/kernel/Makefile
+++ b/arch/sh/kernel/Makefile
@@ -31,7 +31,6 @@ obj-$(CONFIG_VSYSCALL) += vsyscall/
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
obj-$(CONFIG_KGDB) += kgdb.o
-obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_MODULES) += sh_ksyms_$(BITS).o module.o
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 5030df5..602d5db 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -258,5 +258,23 @@ depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
endmenu
+menu "SH CPU Frequency scaling"
+depends on SUPERH
+config SH_CPU_FREQ
+ tristate "SuperH CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the cpufreq driver for SuperH. Any CPU that supports
+ clock rate rounding through the clock framework can use this
+ driver. While it will make the kernel slightly larger, this is
+ harmless for CPUs that don't support rate rounding. The driver
+ will also generate a notice in the boot log before disabling
+ itself if the CPU in question is not capable of rate rounding.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If unsure, say N.
+endmenu
+
endif
endmenu
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index a245559..e572211 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -84,3 +84,4 @@ obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
+obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
diff --git a/arch/sh/kernel/cpufreq.c b/drivers/cpufreq/sh-cpufreq.c
similarity index 99%
rename from arch/sh/kernel/cpufreq.c
rename to drivers/cpufreq/sh-cpufreq.c
index 88c8fee..73adb64 100644
--- a/arch/sh/kernel/cpufreq.c
+++ b/drivers/cpufreq/sh-cpufreq.c
@@ -1,6 +1,4 @@
/*
- * arch/sh/kernel/cpufreq.c
- *
* cpufreq driver for the SuperH processors.
*
* Copyright (C) 2002 - 2012 Paul Mundt
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 7/9] unicore2: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
` (5 preceding siblings ...)
2013-03-25 16:54 ` [PATCH 6/9] sh: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-31 4:01 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 8/9] spark: " Viresh Kumar
2013-03-25 16:54 ` [PATCH 9/9] powerpc: " Viresh Kumar
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Guan Xuetao
This patch moves cpufreq driver of UNICORE-2 architecture to drivers/cpufreq.
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/unicore32/kernel/Makefile | 1 -
drivers/cpufreq/Makefile | 1 +
arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c (96%)
diff --git a/arch/unicore32/kernel/Makefile b/arch/unicore32/kernel/Makefile
index fa497e0..607a72f 100644
--- a/arch/unicore32/kernel/Makefile
+++ b/arch/unicore32/kernel/Makefile
@@ -9,7 +9,6 @@ obj-y += setup.o signal.o sys.o stacktrace.o traps.o
obj-$(CONFIG_MODULES) += ksyms.o module.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
-obj-$(CONFIG_CPU_FREQ) += cpu-ucv2.o
obj-$(CONFIG_UNICORE_FPU_F64) += fpu-ucf64.o
# obj-y for architecture PKUnity v3
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index e572211..ab3a054 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -85,3 +85,4 @@ obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
+obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
diff --git a/arch/unicore32/kernel/cpu-ucv2.c b/drivers/cpufreq/unicore2-cpufreq.c
similarity index 96%
rename from arch/unicore32/kernel/cpu-ucv2.c
rename to drivers/cpufreq/unicore2-cpufreq.c
index ba5a71c..12fc904 100644
--- a/arch/unicore32/kernel/cpu-ucv2.c
+++ b/drivers/cpufreq/unicore2-cpufreq.c
@@ -1,5 +1,5 @@
/*
- * linux/arch/unicore32/kernel/cpu-ucv2.c: clock scaling for the UniCore-II
+ * clock scaling for the UniCore-II
*
* Code specific to PKUnity SoC and UniCore ISA
*
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
` (6 preceding siblings ...)
2013-03-25 16:54 ` [PATCH 7/9] unicore2: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-25 17:07 ` David Miller
2013-03-25 16:54 ` [PATCH 9/9] powerpc: " Viresh Kumar
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, David S. Miller,
sparclinux
This patch moves cpufreq driver of SPARK architecture to drivers/cpufreq.
Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/sparc/Kconfig | 23 ----------------------
arch/sparc/kernel/Makefile | 3 ---
drivers/cpufreq/Kconfig | 23 ++++++++++++++++++++++
drivers/cpufreq/Makefile | 2 ++
.../cpufreq/spark-us2e-cpufreq.c | 0
.../cpufreq/spark-us3-cpufreq.c | 0
6 files changed, 25 insertions(+), 26 deletions(-)
rename arch/sparc/kernel/us2e_cpufreq.c => drivers/cpufreq/spark-us2e-cpufreq.c (100%)
rename arch/sparc/kernel/us3_cpufreq.c => drivers/cpufreq/spark-us3-cpufreq.c (100%)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 289127d..52e7680 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -260,29 +260,6 @@ config HOTPLUG_CPU
if SPARC64
source "drivers/cpufreq/Kconfig"
-
-config US3_FREQ
- tristate "UltraSPARC-III CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the CPUFreq driver for UltraSPARC-III processors.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
-config US2E_FREQ
- tristate "UltraSPARC-IIe CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the CPUFreq driver for UltraSPARC-IIe processors.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
endif
config US3_MC
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
index 6cf591b..5276fd4 100644
--- a/arch/sparc/kernel/Makefile
+++ b/arch/sparc/kernel/Makefile
@@ -102,9 +102,6 @@ obj-$(CONFIG_PCI_MSI) += pci_msi.o
obj-$(CONFIG_COMPAT) += sys32.o sys_sparc32.o signal32.o
-# sparc64 cpufreq
-obj-$(CONFIG_US3_FREQ) += us3_cpufreq.o
-obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
obj-$(CONFIG_US3_MC) += chmc.o
obj-$(CONFIG_KPROBES) += kprobes.o
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 602d5db..5b2c312 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -258,6 +258,29 @@ depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
endmenu
+menu "SPARK CPU frequency scaling drivers"
+depends on SPARC64
+config SPARK_US3_CPUFREQ
+ tristate "UltraSPARC-III CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the CPUFreq driver for UltraSPARC-III processors.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If in doubt, say N.
+
+config SPARK_US2E_CPUFREQ
+ tristate "UltraSPARC-IIe CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the CPUFreq driver for UltraSPARC-IIe processors.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If in doubt, say N.
+endmenu
+
menu "SH CPU Frequency scaling"
depends on SUPERH
config SH_CPU_FREQ
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index ab3a054..0203a06 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -85,4 +85,6 @@ obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
+obj-$(CONFIG_SPARK_US2E_CPUFREQ) += spark-us2e-cpufreq.o
+obj-$(CONFIG_SPARK_US3_CPUFREQ) += spark-us3-cpufreq.o
obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
diff --git a/arch/sparc/kernel/us2e_cpufreq.c b/drivers/cpufreq/spark-us2e-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us2e_cpufreq.c
rename to drivers/cpufreq/spark-us2e-cpufreq.c
diff --git a/arch/sparc/kernel/us3_cpufreq.c b/drivers/cpufreq/spark-us3-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us3_cpufreq.c
rename to drivers/cpufreq/spark-us3-cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
` (7 preceding siblings ...)
2013-03-25 16:54 ` [PATCH 8/9] spark: " Viresh Kumar
@ 2013-03-25 16:54 ` Viresh Kumar
2013-03-31 4:03 ` Viresh Kumar
8 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-25 16:54 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar,
Benjamin Herrenschmidt, Paul Mackerras, Olof Johansson,
linuxppc-dev
This patch moves cpufreq driver of powerpc platform to drivers/cpufreq.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Olof Johansson <olof@lixom.net>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/powerpc/platforms/Kconfig | 31 ----------------------
arch/powerpc/platforms/pasemi/Makefile | 1 -
arch/powerpc/platforms/powermac/Makefile | 2 --
drivers/cpufreq/Kconfig.powerpc | 26 ++++++++++++++++++
drivers/cpufreq/Makefile | 3 +++
.../cpufreq.c => drivers/cpufreq/pasemi-cpufreq.c | 0
.../cpufreq/pmac32-cpufreq.c | 0
.../cpufreq/pmac64-cpufreq.c | 0
8 files changed, 29 insertions(+), 34 deletions(-)
rename arch/powerpc/platforms/pasemi/cpufreq.c => drivers/cpufreq/pasemi-cpufreq.c (100%)
rename arch/powerpc/platforms/powermac/cpufreq_32.c => drivers/cpufreq/pmac32-cpufreq.c (100%)
rename arch/powerpc/platforms/powermac/cpufreq_64.c => drivers/cpufreq/pmac64-cpufreq.c (100%)
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 52de8bc..46a223f 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -194,37 +194,6 @@ config PPC_IO_WORKAROUNDS
source "drivers/cpufreq/Kconfig"
-menu "CPU Frequency drivers"
- depends on CPU_FREQ
-
-config CPU_FREQ_PMAC
- bool "Support for Apple PowerBooks"
- depends on ADB_PMU && PPC32
- select CPU_FREQ_TABLE
- help
- This adds support for frequency switching on Apple PowerBooks,
- this currently includes some models of iBook & Titanium
- PowerBook.
-
-config CPU_FREQ_PMAC64
- bool "Support for some Apple G5s"
- depends on PPC_PMAC && PPC64
- select CPU_FREQ_TABLE
- help
- This adds support for frequency switching on Apple iMac G5,
- and some of the more recent desktop G5 machines as well.
-
-config PPC_PASEMI_CPUFREQ
- bool "Support for PA Semi PWRficient"
- depends on PPC_PASEMI
- default y
- select CPU_FREQ_TABLE
- help
- This adds the support for frequency switching on PA Semi
- PWRficient processors.
-
-endmenu
-
menu "CPUIdle driver"
source "drivers/cpuidle/Kconfig"
diff --git a/arch/powerpc/platforms/pasemi/Makefile b/arch/powerpc/platforms/pasemi/Makefile
index ce6d789..8e8d4ca 100644
--- a/arch/powerpc/platforms/pasemi/Makefile
+++ b/arch/powerpc/platforms/pasemi/Makefile
@@ -1,3 +1,2 @@
obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o dma_lib.o misc.o
obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o
-obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += cpufreq.o
diff --git a/arch/powerpc/platforms/powermac/Makefile b/arch/powerpc/platforms/powermac/Makefile
index ea47df6..52c6ce1 100644
--- a/arch/powerpc/platforms/powermac/Makefile
+++ b/arch/powerpc/platforms/powermac/Makefile
@@ -9,8 +9,6 @@ obj-y += pic.o setup.o time.o feature.o pci.o \
sleep.o low_i2c.o cache.o pfunc_core.o \
pfunc_base.o udbg_scc.o udbg_adb.o
obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
-obj-$(CONFIG_CPU_FREQ_PMAC) += cpufreq_32.o
-obj-$(CONFIG_CPU_FREQ_PMAC64) += cpufreq_64.o
# CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
# need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
# CONFIG_NVRAM=y
diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc
index e76992f..2e5a007 100644
--- a/drivers/cpufreq/Kconfig.powerpc
+++ b/drivers/cpufreq/Kconfig.powerpc
@@ -5,3 +5,29 @@ config CPU_FREQ_MAPLE
help
This adds support for frequency switching on Maple 970FX
Evaluation Board and compatible boards (IBM JS2x blades).
+
+config CPU_FREQ_PMAC
+ bool "Support for Apple PowerBooks"
+ depends on ADB_PMU && PPC32
+ select CPU_FREQ_TABLE
+ help
+ This adds support for frequency switching on Apple PowerBooks,
+ this currently includes some models of iBook & Titanium
+ PowerBook.
+
+config CPU_FREQ_PMAC64
+ bool "Support for some Apple G5s"
+ depends on PPC_PMAC && PPC64
+ select CPU_FREQ_TABLE
+ help
+ This adds support for frequency switching on Apple iMac G5,
+ and some of the more recent desktop G5 machines as well.
+
+config PPC_PASEMI_CPUFREQ
+ bool "Support for PA Semi PWRficient"
+ depends on PPC_PASEMI
+ select CPU_FREQ_TABLE
+ default y
+ help
+ This adds the support for frequency switching on PA Semi
+ PWRficient processors.
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 0203a06..fa4b5f2 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -75,6 +75,9 @@ obj-$(CONFIG_ARCH_TEGRA) += tegra-cpufreq.o
##################################################################################
# PowerPC platform drivers
obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
+obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
+obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
+obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
##################################################################################
# Other platform drivers
diff --git a/arch/powerpc/platforms/pasemi/cpufreq.c b/drivers/cpufreq/pasemi-cpufreq.c
similarity index 100%
rename from arch/powerpc/platforms/pasemi/cpufreq.c
rename to drivers/cpufreq/pasemi-cpufreq.c
diff --git a/arch/powerpc/platforms/powermac/cpufreq_32.c b/drivers/cpufreq/pmac32-cpufreq.c
similarity index 100%
rename from arch/powerpc/platforms/powermac/cpufreq_32.c
rename to drivers/cpufreq/pmac32-cpufreq.c
diff --git a/arch/powerpc/platforms/powermac/cpufreq_64.c b/drivers/cpufreq/pmac64-cpufreq.c
similarity index 100%
rename from arch/powerpc/platforms/powermac/cpufreq_64.c
rename to drivers/cpufreq/pmac64-cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 8/9] spark: " Viresh Kumar
@ 2013-03-25 17:07 ` David Miller
2013-03-26 2:00 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: David Miller @ 2013-03-25 17:07 UTC (permalink / raw)
To: viresh.kumar
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, sparclinux
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: Mon, 25 Mar 2013 22:24:44 +0530
> This patch moves cpufreq driver of SPARK architecture to drivers/cpufreq.
I don't know what spark is.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 17:07 ` David Miller
@ 2013-03-26 2:00 ` Viresh Kumar
2013-03-26 4:25 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-26 2:00 UTC (permalink / raw)
To: David Miller
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, sparclinux
On 25 March 2013 22:37, David Miller <davem@davemloft.net> wrote:
> From: Viresh Kumar <viresh.kumar@linaro.org>
> Date: Mon, 25 Mar 2013 22:24:44 +0530
>
>> This patch moves cpufreq driver of SPARK architecture to drivers/cpufreq.
>
> I don't know what spark is.
:(
s/spark/sparc ...
I will fix patch in V2..
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-26 2:00 ` Viresh Kumar
@ 2013-03-26 4:25 ` Viresh Kumar
2013-03-31 7:30 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-26 4:25 UTC (permalink / raw)
To: David Miller
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, sparclinux
[-- Attachment #1: Type: text/plain, Size: 4644 bytes --]
On 26 March 2013 07:30, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> On 25 March 2013 22:37, David Miller <davem@davemloft.net> wrote:
>> From: Viresh Kumar <viresh.kumar@linaro.org>
>> Date: Mon, 25 Mar 2013 22:24:44 +0530
>>
>>> This patch moves cpufreq driver of SPARK architecture to drivers/cpufreq.
>>
>> I don't know what spark is.
>
> :(
>
> s/spark/sparc ...
>
> I will fix patch in V2..
Mistake was done in code too and not only log :)
Here is re-spin of this patch (attached too in case you want to test):
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: Mon, 25 Mar 2013 11:20:23 +0530
Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
This patch moves cpufreq driver of SPARC architecture to drivers/cpufreq.
Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/sparc/Kconfig | 23 ----------------------
arch/sparc/kernel/Makefile | 3 ---
drivers/cpufreq/Kconfig | 23 ++++++++++++++++++++++
drivers/cpufreq/Makefile | 2 ++
.../cpufreq/sparc-us2e-cpufreq.c | 0
.../cpufreq/sparc-us3-cpufreq.c | 0
6 files changed, 25 insertions(+), 26 deletions(-)
rename arch/sparc/kernel/us2e_cpufreq.c =>
drivers/cpufreq/sparc-us2e-cpufreq.c (100%)
rename arch/sparc/kernel/us3_cpufreq.c =>
drivers/cpufreq/sparc-us3-cpufreq.c (100%)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 289127d..52e7680 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -260,29 +260,6 @@ config HOTPLUG_CPU
if SPARC64
source "drivers/cpufreq/Kconfig"
-
-config US3_FREQ
- tristate "UltraSPARC-III CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the CPUFreq driver for UltraSPARC-III processors.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
-config US2E_FREQ
- tristate "UltraSPARC-IIe CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the CPUFreq driver for UltraSPARC-IIe processors.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
endif
config US3_MC
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
index 6cf591b..5276fd4 100644
--- a/arch/sparc/kernel/Makefile
+++ b/arch/sparc/kernel/Makefile
@@ -102,9 +102,6 @@ obj-$(CONFIG_PCI_MSI) += pci_msi.o
obj-$(CONFIG_COMPAT) += sys32.o sys_sparc32.o signal32.o
-# sparc64 cpufreq
-obj-$(CONFIG_US3_FREQ) += us3_cpufreq.o
-obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
obj-$(CONFIG_US3_MC) += chmc.o
obj-$(CONFIG_KPROBES) += kprobes.o
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 602d5db..a1488f5 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -258,6 +258,29 @@ depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
endmenu
+menu "SPARC CPU frequency scaling drivers"
+depends on SPARC64
+config SPARC_US3_CPUFREQ
+ tristate "UltraSPARC-III CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the CPUFreq driver for UltraSPARC-III processors.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If in doubt, say N.
+
+config SPARC_US2E_CPUFREQ
+ tristate "UltraSPARC-IIe CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the CPUFreq driver for UltraSPARC-IIe processors.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If in doubt, say N.
+endmenu
+
menu "SH CPU Frequency scaling"
depends on SUPERH
config SH_CPU_FREQ
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index ab3a054..050bd0c 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -85,4 +85,6 @@ obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
+obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
+obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
diff --git a/arch/sparc/kernel/us2e_cpufreq.c
b/drivers/cpufreq/sparc-us2e-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us2e_cpufreq.c
rename to drivers/cpufreq/sparc-us2e-cpufreq.c
diff --git a/arch/sparc/kernel/us3_cpufreq.c
b/drivers/cpufreq/sparc-us3-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us3_cpufreq.c
rename to drivers/cpufreq/sparc-us3-cpufreq.c
[-- Attachment #2: 0001-sparc-cpufreq-move-cpufreq-driver-to-drivers-cpufreq.patch --]
[-- Type: application/octet-stream, Size: 4320 bytes --]
From 61641e2bc0de0659efcd7add6358d71badede840 Mon Sep 17 00:00:00 2001
Message-Id: <61641e2bc0de0659efcd7add6358d71badede840.1364271900.git.viresh.kumar@linaro.org>
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: Mon, 25 Mar 2013 11:20:23 +0530
Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
This patch moves cpufreq driver of SPARC architecture to drivers/cpufreq.
Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
arch/sparc/Kconfig | 23 ----------------------
arch/sparc/kernel/Makefile | 3 ---
drivers/cpufreq/Kconfig | 23 ++++++++++++++++++++++
drivers/cpufreq/Makefile | 2 ++
.../cpufreq/sparc-us2e-cpufreq.c | 0
.../cpufreq/sparc-us3-cpufreq.c | 0
6 files changed, 25 insertions(+), 26 deletions(-)
rename arch/sparc/kernel/us2e_cpufreq.c => drivers/cpufreq/sparc-us2e-cpufreq.c (100%)
rename arch/sparc/kernel/us3_cpufreq.c => drivers/cpufreq/sparc-us3-cpufreq.c (100%)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 289127d..52e7680 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -260,29 +260,6 @@ config HOTPLUG_CPU
if SPARC64
source "drivers/cpufreq/Kconfig"
-
-config US3_FREQ
- tristate "UltraSPARC-III CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the CPUFreq driver for UltraSPARC-III processors.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
-config US2E_FREQ
- tristate "UltraSPARC-IIe CPU Frequency driver"
- depends on CPU_FREQ
- select CPU_FREQ_TABLE
- help
- This adds the CPUFreq driver for UltraSPARC-IIe processors.
-
- For details, take a look at <file:Documentation/cpu-freq>.
-
- If in doubt, say N.
-
endif
config US3_MC
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
index 6cf591b..5276fd4 100644
--- a/arch/sparc/kernel/Makefile
+++ b/arch/sparc/kernel/Makefile
@@ -102,9 +102,6 @@ obj-$(CONFIG_PCI_MSI) += pci_msi.o
obj-$(CONFIG_COMPAT) += sys32.o sys_sparc32.o signal32.o
-# sparc64 cpufreq
-obj-$(CONFIG_US3_FREQ) += us3_cpufreq.o
-obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
obj-$(CONFIG_US3_MC) += chmc.o
obj-$(CONFIG_KPROBES) += kprobes.o
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 602d5db..a1488f5 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -258,6 +258,29 @@ depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
endmenu
+menu "SPARC CPU frequency scaling drivers"
+depends on SPARC64
+config SPARC_US3_CPUFREQ
+ tristate "UltraSPARC-III CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the CPUFreq driver for UltraSPARC-III processors.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If in doubt, say N.
+
+config SPARC_US2E_CPUFREQ
+ tristate "UltraSPARC-IIe CPU Frequency driver"
+ select CPU_FREQ_TABLE
+ help
+ This adds the CPUFreq driver for UltraSPARC-IIe processors.
+
+ For details, take a look at <file:Documentation/cpu-freq>.
+
+ If in doubt, say N.
+endmenu
+
menu "SH CPU Frequency scaling"
depends on SUPERH
config SH_CPU_FREQ
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index ab3a054..050bd0c 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -85,4 +85,6 @@ obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
+obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
+obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
diff --git a/arch/sparc/kernel/us2e_cpufreq.c b/drivers/cpufreq/sparc-us2e-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us2e_cpufreq.c
rename to drivers/cpufreq/sparc-us2e-cpufreq.c
diff --git a/arch/sparc/kernel/us3_cpufreq.c b/drivers/cpufreq/sparc-us3-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us3_cpufreq.c
rename to drivers/cpufreq/sparc-us3-cpufreq.c
--
1.7.12.rc2.18.g61b472e
^ permalink raw reply related [flat|nested] 38+ messages in thread
* Re: [PATCH 6/9] sh: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 6/9] sh: " Viresh Kumar
@ 2013-03-26 9:29 ` Paul Mundt
0 siblings, 0 replies; 38+ messages in thread
From: Paul Mundt @ 2013-03-26 9:29 UTC (permalink / raw)
To: Viresh Kumar
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, linux-sh
On Mon, Mar 25, 2013 at 10:24:42PM +0530, Viresh Kumar wrote:
> This patch moves cpufreq driver of SUPERH architecture to drivers/cpufreq.
>
> Cc: Paul Mundt <lethal@linux-sh.org>
> Cc: linux-sh@vger.kernel.org
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Looks ok to me.
Acked-by: Paul Mundt <lethal@linux-sh.org>
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 2/9] blackfin: cpufreq: move cpufreq driver to drivers/cpufreq
[not found] ` <df07f927c36e109e49363b9b87965a184ea941ca.1364229828.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2013-03-26 10:26 ` Steven Miao
0 siblings, 0 replies; 38+ messages in thread
From: Steven Miao @ 2013-03-26 10:26 UTC (permalink / raw)
To: Viresh Kumar
Cc: robin.randhawa-5wv7dgnIgG8, linux-pm-u79uwXL29TY76Z2rM5mHXA,
Liviu.Dudau-5wv7dgnIgG8, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
cpufreq-u79uwXL29TY76Z2rM5mHXA, rjw-KKrjLPT3xs0,
Steve.Bannister-5wv7dgnIgG8,
uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b,
arnd.bergmann-QSEj5FYQhm4dnm+yROfE0A, arvind.chauhan-5wv7dgnIgG8,
linaro-kernel-cunTk1MwBs8s++Sfvej+rw,
charles.garcia-tobin-5wv7dgnIgG8
[-- Attachment #1.1: Type: text/plain, Size: 2275 bytes --]
Acked-by: Steven Miao <realmz6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Tue, Mar 26, 2013 at 12:54 AM, Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>wrote:
> This patch moves cpufreq driver of BLACKFIN architecture to
> drivers/cpufreq.
>
> Cc: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
> Cc: uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org
> Signed-off-by: Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/blackfin/mach-common/Makefile
> | 1 -
> drivers/cpufreq/Makefile
> | 1 +
> .../blackfin/mach-common/cpufreq.c => drivers/cpufreq/blackfin-cpufreq.c
> | 0
> 3 files changed, 1 insertion(+), 1 deletion(-)
> rename arch/blackfin/mach-common/cpufreq.c =>
> drivers/cpufreq/blackfin-cpufreq.c (100%)
>
> diff --git a/arch/blackfin/mach-common/Makefile
> b/arch/blackfin/mach-common/Makefile
> index 75f0ba2..675466d 100644
> --- a/arch/blackfin/mach-common/Makefile
> +++ b/arch/blackfin/mach-common/Makefile
> @@ -10,7 +10,6 @@ obj-$(CONFIG_PM) += pm.o
> ifneq ($(CONFIG_BF60x),y)
> obj-$(CONFIG_PM) += dpmc_modes.o
> endif
> -obj-$(CONFIG_CPU_FREQ) += cpufreq.o
> obj-$(CONFIG_CPU_VOLTAGE) += dpmc.o
> obj-$(CONFIG_SMP) += smp.o
> obj-$(CONFIG_BFIN_KERNEL_CLOCK) += clocks-init.o
> diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
> index 7573c22..2d86377 100644
> --- a/drivers/cpufreq/Makefile
> +++ b/drivers/cpufreq/Makefile
> @@ -79,3 +79,4 @@ obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
>
> ##################################################################################
> # Other platform drivers
> obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
> +obj-$(CONFIG_BLACKFIN) += blackfin-cpufreq.o
> diff --git a/arch/blackfin/mach-common/cpufreq.c
> b/drivers/cpufreq/blackfin-cpufreq.c
> similarity index 100%
> rename from arch/blackfin/mach-common/cpufreq.c
> rename to drivers/cpufreq/blackfin-cpufreq.c
> --
> 1.7.12.rc2.18.g61b472e
>
> _______________________________________________
> Uclinux-dist-devel mailing list
> Uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org
> https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel
>
[-- Attachment #1.2: Type: text/html, Size: 3356 bytes --]
[-- Attachment #2: Type: text/plain, Size: 213 bytes --]
_______________________________________________
Uclinux-dist-devel mailing list
Uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org
https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 4/9] ia64: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 4/9] ia64: " Viresh Kumar
@ 2013-03-30 9:51 ` Viresh Kumar
2013-04-01 5:01 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-30 9:51 UTC (permalink / raw)
To: rjw
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Tony Luck, Fenghua Yu,
linux-ia64
On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
> index 9a02f71..dd59848 100644
> --- a/arch/ia64/Kconfig
> +++ b/arch/ia64/Kconfig
> @@ -591,9 +591,8 @@ source "kernel/power/Kconfig"
> source "drivers/acpi/Kconfig"
>
> if PM
> -
> -source "arch/ia64/kernel/cpufreq/Kconfig"
> -
> +menu "CPU Frequency scaling"
> +source "drivers/cpufreq/Kconfig"
> endif
>
> endmenu
Fixup:
commit 509bc3c30aff65045918f69f750d8845f004cc0a
Author: Viresh Kumar <viresh.kumar@linaro.org>
Date: Sat Mar 30 15:20:41 2013 +0530
fixup! ia64: cpufreq: move cpufreq driver to drivers/cpufreq
---
arch/ia64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index dd59848..152b5f2 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -593,6 +593,7 @@ source "drivers/acpi/Kconfig"
if PM
menu "CPU Frequency scaling"
source "drivers/cpufreq/Kconfig"
+endmenu
endif
endmenu
^ permalink raw reply related [flat|nested] 38+ messages in thread
* Re: [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq Viresh Kumar
@ 2013-03-31 3:58 ` Viresh Kumar
2013-03-31 4:05 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 3:58 UTC (permalink / raw)
To: hans-christian.egtvedt, Haavard Skinnemoen
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, rjw
On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> This patch moves cpufreq driver of AVR32 based at32ap platform to
> drivers/cpufreq.
>
> Cc: hans-christian.egtvedt@atmel.com
> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> arch/avr32/Kconfig | 13 -------------
> arch/avr32/configs/atngw100_defconfig | 2 +-
> arch/avr32/configs/atngw100_evklcd100_defconfig | 2 +-
> arch/avr32/configs/atngw100_evklcd101_defconfig | 2 +-
> arch/avr32/configs/atngw100_mrmt_defconfig | 2 +-
> arch/avr32/configs/atngw100mkii_defconfig | 2 +-
> arch/avr32/configs/atngw100mkii_evklcd100_defconfig | 2 +-
> arch/avr32/configs/atngw100mkii_evklcd101_defconfig | 2 +-
> arch/avr32/configs/atstk1002_defconfig | 2 +-
> arch/avr32/configs/atstk1003_defconfig | 2 +-
> arch/avr32/configs/atstk1004_defconfig | 2 +-
> arch/avr32/configs/atstk1006_defconfig | 2 +-
> arch/avr32/configs/favr-32_defconfig | 2 +-
> arch/avr32/configs/hammerhead_defconfig | 2 +-
> arch/avr32/configs/mimc200_defconfig | 2 +-
> arch/avr32/mach-at32ap/Makefile | 1 -
> drivers/cpufreq/Kconfig | 13 +++++++++++++
> drivers/cpufreq/Makefile | 4 ++++
> .../cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c | 0
> 19 files changed, 31 insertions(+), 28 deletions(-)
> rename arch/avr32/mach-at32ap/cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c (100%)
Hans/Haavard,
Can i have your Ack or comments on this?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 3/9] cris: " Viresh Kumar
@ 2013-03-31 4:00 ` Viresh Kumar
2013-04-03 12:21 ` Jesper Nilsson
1 sibling, 0 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 4:00 UTC (permalink / raw)
To: Jesper Nilsson, Mikael Starvik, linux-cris-kernel
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Rafael J. Wysocki
On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq.
>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: Mikael Starvik <starvik@axis.com>
> Cc: linux-cris-kernel@axis.com
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> arch/cris/arch-v32/mach-a3/Makefile | 1 -
> arch/cris/arch-v32/mach-fs/Makefile | 1 -
> drivers/cpufreq/Makefile | 2 ++
> .../mach-a3/cpufreq.c => drivers/cpufreq/cris-artpec3-cpufreq.c | 0
> .../mach-fs/cpufreq.c => drivers/cpufreq/cris-etraxfs-cpufreq.c | 0
> 5 files changed, 2 insertions(+), 2 deletions(-)
> rename arch/cris/arch-v32/mach-a3/cpufreq.c => drivers/cpufreq/cris-artpec3-cpufreq.c (100%)
> rename arch/cris/arch-v32/mach-fs/cpufreq.c => drivers/cpufreq/cris-etraxfs-cpufreq.c (100%)
Jesper/Mikael,
Can i have your views or Ack for this?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 5/9] mips: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 5/9] mips: " Viresh Kumar
@ 2013-03-31 4:01 ` Viresh Kumar
0 siblings, 0 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 4:01 UTC (permalink / raw)
To: Ralf Baechle, linux-mips
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Rafael J. Wysocki
On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> This patch moves cpufreq driver of MIPS architecture to drivers/cpufreq.
>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: linux-mips@linux-mips.org
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> arch/mips/Kconfig | 9 ++++-
> arch/mips/kernel/Makefile | 2 --
> arch/mips/kernel/cpufreq/Kconfig | 41 ----------------------
> arch/mips/kernel/cpufreq/Makefile | 5 ---
> drivers/cpufreq/Kconfig | 18 ++++++++++
> drivers/cpufreq/Makefile | 1 +
> .../kernel => drivers}/cpufreq/loongson2_cpufreq.c | 0
> 7 files changed, 27 insertions(+), 49 deletions(-)
> delete mode 100644 arch/mips/kernel/cpufreq/Kconfig
> delete mode 100644 arch/mips/kernel/cpufreq/Makefile
> rename {arch/mips/kernel => drivers}/cpufreq/loongson2_cpufreq.c (100%)
Ralf or any other mips guy,
Can i have your ack or comments for this patch?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 7/9] unicore2: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 7/9] unicore2: " Viresh Kumar
@ 2013-03-31 4:01 ` Viresh Kumar
2013-03-31 14:18 ` Xuetao Guan
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 4:01 UTC (permalink / raw)
To: Guan Xuetao
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Rafael J. Wysocki
On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> This patch moves cpufreq driver of UNICORE-2 architecture to drivers/cpufreq.
>
> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> arch/unicore32/kernel/Makefile | 1 -
> drivers/cpufreq/Makefile | 1 +
> arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c | 2 +-
> 3 files changed, 2 insertions(+), 2 deletions(-)
> rename arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c (96%)
Guan,
Can i have your ack for this?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 9/9] powerpc: " Viresh Kumar
@ 2013-03-31 4:03 ` Viresh Kumar
[not found] ` <CAKohpomRMkKouiy+iJUiheTcPGCDVLbxppL5f4oc-WMu2E5T8g@mail.gmail.com>
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 4:03 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Olof Johansson,
linuxppc-dev
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Rafael J. Wysocki
On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> This patch moves cpufreq driver of powerpc platform to drivers/cpufreq.
>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: linuxppc-dev@lists.ozlabs.org
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> arch/powerpc/platforms/Kconfig | 31 ----------------------
> arch/powerpc/platforms/pasemi/Makefile | 1 -
> arch/powerpc/platforms/powermac/Makefile | 2 --
> drivers/cpufreq/Kconfig.powerpc | 26 ++++++++++++++++++
> drivers/cpufreq/Makefile | 3 +++
> .../cpufreq.c => drivers/cpufreq/pasemi-cpufreq.c | 0
> .../cpufreq/pmac32-cpufreq.c | 0
> .../cpufreq/pmac64-cpufreq.c | 0
> 8 files changed, 29 insertions(+), 34 deletions(-)
> rename arch/powerpc/platforms/pasemi/cpufreq.c => drivers/cpufreq/pasemi-cpufreq.c (100%)
> rename arch/powerpc/platforms/powermac/cpufreq_32.c => drivers/cpufreq/pmac32-cpufreq.c (100%)
> rename arch/powerpc/platforms/powermac/cpufreq_64.c => drivers/cpufreq/pmac64-cpufreq.c (100%)
Benjamin/Paul/Olof,
Any comments on this?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-31 3:58 ` Viresh Kumar
@ 2013-03-31 4:05 ` Viresh Kumar
[not found] ` <CAKohponGrtXWSaGeRxKpVMNZGDNCqK3-hc0tZGHXM78Jh5od9w@mail.gmail.com>
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 4:05 UTC (permalink / raw)
To: Hans-Christian Egtvedt
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, rjw
Fixing Hans email id.
On 31 March 2013 09:28, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> This patch moves cpufreq driver of AVR32 based at32ap platform to
>> drivers/cpufreq.
>>
>> Cc: hans-christian.egtvedt@atmel.com
>> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
>> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
>> ---
>> arch/avr32/Kconfig | 13 -------------
>> arch/avr32/configs/atngw100_defconfig | 2 +-
>> arch/avr32/configs/atngw100_evklcd100_defconfig | 2 +-
>> arch/avr32/configs/atngw100_evklcd101_defconfig | 2 +-
>> arch/avr32/configs/atngw100_mrmt_defconfig | 2 +-
>> arch/avr32/configs/atngw100mkii_defconfig | 2 +-
>> arch/avr32/configs/atngw100mkii_evklcd100_defconfig | 2 +-
>> arch/avr32/configs/atngw100mkii_evklcd101_defconfig | 2 +-
>> arch/avr32/configs/atstk1002_defconfig | 2 +-
>> arch/avr32/configs/atstk1003_defconfig | 2 +-
>> arch/avr32/configs/atstk1004_defconfig | 2 +-
>> arch/avr32/configs/atstk1006_defconfig | 2 +-
>> arch/avr32/configs/favr-32_defconfig | 2 +-
>> arch/avr32/configs/hammerhead_defconfig | 2 +-
>> arch/avr32/configs/mimc200_defconfig | 2 +-
>> arch/avr32/mach-at32ap/Makefile | 1 -
>> drivers/cpufreq/Kconfig | 13 +++++++++++++
>> drivers/cpufreq/Makefile | 4 ++++
>> .../cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c | 0
>> 19 files changed, 31 insertions(+), 28 deletions(-)
>> rename arch/avr32/mach-at32ap/cpufreq.c => drivers/cpufreq/at32ap-cpufreq.c (100%)
>
> Hans/Haavard,
>
> Can i have your Ack or comments on this?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-26 4:25 ` Viresh Kumar
@ 2013-03-31 7:30 ` Viresh Kumar
2013-03-31 16:40 ` David Miller
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-03-31 7:30 UTC (permalink / raw)
To: David Miller
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, sparclinux
On 26 March 2013 09:55, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> From: Viresh Kumar <viresh.kumar@linaro.org>
> Date: Mon, 25 Mar 2013 11:20:23 +0530
> Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
>
> This patch moves cpufreq driver of SPARC architecture to drivers/cpufreq.
>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: sparclinux@vger.kernel.org
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> arch/sparc/Kconfig | 23 ----------------------
> arch/sparc/kernel/Makefile | 3 ---
> drivers/cpufreq/Kconfig | 23 ++++++++++++++++++++++
> drivers/cpufreq/Makefile | 2 ++
> .../cpufreq/sparc-us2e-cpufreq.c | 0
> .../cpufreq/sparc-us3-cpufreq.c | 0
> 6 files changed, 25 insertions(+), 26 deletions(-)
> rename arch/sparc/kernel/us2e_cpufreq.c =>
> drivers/cpufreq/sparc-us2e-cpufreq.c (100%)
> rename arch/sparc/kernel/us3_cpufreq.c =>
> drivers/cpufreq/sparc-us3-cpufreq.c (100%)
Hi David,
Does this one look fine to you?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 7/9] unicore2: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-31 4:01 ` Viresh Kumar
@ 2013-03-31 14:18 ` Xuetao Guan
0 siblings, 0 replies; 38+ messages in thread
From: Xuetao Guan @ 2013-03-31 14:18 UTC (permalink / raw)
Cc: Guan Xuetao, arvind.chauhan, robin.randhawa, steve.bannister,
liviu.dudau, charles.garcia-tobin, cpufreq, linux-pm,
linux-kernel, linaro-kernel, arnd.bergmann, Viresh Kumar,
Rafael J. Wysocki
> On 25 March 2013 22:24, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> This patch moves cpufreq driver of UNICORE-2 architecture to
>> drivers/cpufreq.
>>
>> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
>> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
>> ---
>> arch/unicore32/kernel/Makefile
>> | 1 -
>> drivers/cpufreq/Makefile
>> | 1 +
>> arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c
>> | 2 +-
>> 3 files changed, 2 insertions(+), 2 deletions(-)
>> rename arch/unicore32/kernel/cpu-ucv2.c =>
>> drivers/cpufreq/unicore2-cpufreq.c (96%)
>
> Guan,
>
> Can i have your ack for this?
>
Sure. Sorry for my delay.
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-31 7:30 ` Viresh Kumar
@ 2013-03-31 16:40 ` David Miller
2013-04-01 4:41 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: David Miller @ 2013-03-31 16:40 UTC (permalink / raw)
To: viresh.kumar
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, sparclinux
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: Sun, 31 Mar 2013 13:00:21 +0530
> On 26 March 2013 09:55, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> From: Viresh Kumar <viresh.kumar@linaro.org>
>> Date: Mon, 25 Mar 2013 11:20:23 +0530
>> Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
>>
>> This patch moves cpufreq driver of SPARC architecture to drivers/cpufreq.
>>
>> Cc: David S. Miller <davem@davemloft.net>
>> Cc: sparclinux@vger.kernel.org
>> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
>> ---
>> arch/sparc/Kconfig | 23 ----------------------
>> arch/sparc/kernel/Makefile | 3 ---
>> drivers/cpufreq/Kconfig | 23 ++++++++++++++++++++++
>> drivers/cpufreq/Makefile | 2 ++
>> .../cpufreq/sparc-us2e-cpufreq.c | 0
>> .../cpufreq/sparc-us3-cpufreq.c | 0
>> 6 files changed, 25 insertions(+), 26 deletions(-)
>> rename arch/sparc/kernel/us2e_cpufreq.c =>
>> drivers/cpufreq/sparc-us2e-cpufreq.c (100%)
>> rename arch/sparc/kernel/us3_cpufreq.c =>
>> drivers/cpufreq/sparc-us3-cpufreq.c (100%)
>
> Hi David,
>
> Does this one look fine to you?
Subject line still has the "spark" typo.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-31 16:40 ` David Miller
@ 2013-04-01 4:41 ` Viresh Kumar
[not found] ` <CAKohpomNTb6G9XOyd+4AidQw+EcS63neVuL9FETdQDQY6emxPA@mail.gmail.com>
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-04-01 4:41 UTC (permalink / raw)
To: David Miller
Cc: rjw, arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, sparclinux
On 31 March 2013 22:10, David Miller <davem@davemloft.net> wrote:
>> On 26 March 2013 09:55, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>>> From: Viresh Kumar <viresh.kumar@linaro.org>
>>> Date: Mon, 25 Mar 2013 11:20:23 +0530
>>> Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
> Subject line still has the "spark" typo.
Your mail was scary, really... HOW can i do it??
And then i saw how you got it wrong. I haven't sent a new mail, so mails subject
remains the same... I copied V2 in the same mail.. Check above, subject looks
fine :)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 4/9] ia64: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-30 9:51 ` Viresh Kumar
@ 2013-04-01 5:01 ` Viresh Kumar
2013-04-01 21:22 ` Tony Luck
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-04-01 5:01 UTC (permalink / raw)
To: Tony Luck, Fenghua Yu, linux-ia64
Cc: arvind.chauhan, robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, linux-pm, linux-kernel,
linaro-kernel, arnd.bergmann, Viresh Kumar, Rafael J. Wysocki
On 30 March 2013 15:21, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> Fixup:
>
> commit 509bc3c30aff65045918f69f750d8845f004cc0a
> Author: Viresh Kumar <viresh.kumar@linaro.org>
> Date: Sat Mar 30 15:20:41 2013 +0530
>
> fixup! ia64: cpufreq: move cpufreq driver to drivers/cpufreq
> ---
> arch/ia64/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
> index dd59848..152b5f2 100644
> --- a/arch/ia64/Kconfig
> +++ b/arch/ia64/Kconfig
> @@ -593,6 +593,7 @@ source "drivers/acpi/Kconfig"
> if PM
> menu "CPU Frequency scaling"
> source "drivers/cpufreq/Kconfig"
> +endmenu
> endif
>
> endmenu
Hi Tony/Fenghua,
Any comments on this patch?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 4/9] ia64: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-01 5:01 ` Viresh Kumar
@ 2013-04-01 21:22 ` Tony Luck
2013-04-02 0:49 ` Viresh Kumar
0 siblings, 1 reply; 38+ messages in thread
From: Tony Luck @ 2013-04-01 21:22 UTC (permalink / raw)
To: Viresh Kumar
Cc: Fenghua Yu, linux-ia64@vger.kernel.org, arvind.chauhan,
robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, Linux PM mailing list,
Linux Kernel Mailing List, linaro-kernel, arnd.bergmann,
Rafael J. Wysocki
[Repost in plain text so the lists don't bounce it - curse you Gmail
for switching to HTML]
> Any comments on this patch?
This part looks OK ... But is there a big finish later in the patch series where
you unify some/all of the cpufreq code across architectures? By
itself just moving
bits from arch/ia64/kernel/cpufreq to drivers/cpufreq/ doesn't look to add
much value.
-Tony
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 4/9] ia64: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-01 21:22 ` Tony Luck
@ 2013-04-02 0:49 ` Viresh Kumar
2013-04-03 17:35 ` Tony Luck
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-04-02 0:49 UTC (permalink / raw)
To: Tony Luck
Cc: Fenghua Yu, linux-ia64@vger.kernel.org, arvind.chauhan,
robin.randhawa, Steve.Bannister, Liviu.Dudau,
charles.garcia-tobin, cpufreq, Linux PM mailing list,
Linux Kernel Mailing List, linaro-kernel, arnd.bergmann,
Rafael J. Wysocki
On 2 April 2013 02:52, Tony Luck <tony.luck@gmail.com> wrote:
> [Repost in plain text so the lists don't bounce it - curse you Gmail
> for switching to HTML]
Just to let others know how you fixed it: Above the compose area there
is a small button (or whatever you call it) which can show "Rich Formatting"
or "plain text". Click on that so that it shows "Rich Formatting" all the time.
>> Any comments on this patch?
>
> This part looks OK ... But is there a big finish later in the patch series where
> you unify some/all of the cpufreq code across architectures? By
> itself just moving
> bits from arch/ia64/kernel/cpufreq to drivers/cpufreq/ doesn't look to add
> much value.
There are people (including me) who tried various times to get things fixed/
consolidated in cpufreq area. They mostly worked over cleaning up stuff inside
drivers/cpufreq area rather then looking at complete kernel. To make that
path easy, this patchset is the first step: "Bring all of them together"..
After this more consolidation work may follow which will span all
cpufreq drivers.
One aspect would be to use cpufreq-cpu0 for whatever platform we can.
For now, your Ack will work :)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq
[not found] ` <20130403094245.GA4953@samfundet.no>
@ 2013-04-03 10:36 ` Viresh Kumar
0 siblings, 0 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-04-03 10:36 UTC (permalink / raw)
To: Hans-Christian Egtvedt
Cc: Rafael J. Wysocki, arvind.chauhan, robin.randhawa,
Steve.Bannister, Liviu.Dudau, charles.garcia-tobin, cpufreq,
linux-pm, linux-kernel, linaro-kernel, arnd.bergmann,
Viresh Kumar, hans-christian.egtvedt, Haavard Skinnemoen
On 3 April 2013 15:12, Hans-Christian Egtvedt <egtvedt@samfundet.no> wrote:
> Around Wed 03 Apr 2013 14:58:29 +0530 or thereabout, Viresh Kumar wrote:
>> Ping!!
>
> If it still builds, then
>
> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
>
> It only uses global header files, so should be fine. Thanks.
Ahh!! I have removed others from my last Ping!! mail (didn't wanted to spam
their inbox), but yes they are aware of your Ack now.
Thanks.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq
2013-03-25 16:54 ` [PATCH 3/9] cris: " Viresh Kumar
2013-03-31 4:00 ` Viresh Kumar
@ 2013-04-03 12:21 ` Jesper Nilsson
1 sibling, 0 replies; 38+ messages in thread
From: Jesper Nilsson @ 2013-04-03 12:21 UTC (permalink / raw)
To: Viresh Kumar
Cc: rjw@sisk.pl, arvind.chauhan@arm.com, robin.randhawa@arm.com,
Steve.Bannister@arm.com, Liviu.Dudau@arm.com,
charles.garcia-tobin@arm.com, cpufreq@vger.kernel.org,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
linaro-kernel@lists.linaro.org, arnd.bergmann@linaro.org,
Jesper Nilsson, Mikael Starvik, linux-cris-kernel
On Mon, Mar 25, 2013 at 05:54:39PM +0100, Viresh Kumar wrote:
> This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq.
>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: Mikael Starvik <starvik@axis.com>
> Cc: linux-cris-kernel@axis.com
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Ah, sorry for not responding earlier, looks good!
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq
[not found] ` <20130403.123843.317510603826206997.davem@davemloft.net>
@ 2013-04-03 17:09 ` Viresh Kumar
0 siblings, 0 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-04-03 17:09 UTC (permalink / raw)
To: David Miller
Cc: Rafael J. Wysocki, arvind.chauhan, robin.randhawa,
Steve.Bannister, Liviu.Dudau, charles.garcia-tobin, cpufreq,
linux-pm, linux-kernel, linaro-kernel, arnd.bergmann,
Viresh Kumar, sparclinux
On 3 April 2013 22:08, David Miller <davem@davemloft.net> wrote:
> From: Viresh Kumar <viresh.kumar@linaro.org>
> Date: Wed, 3 Apr 2013 14:59:44 +0530
>
>> On 1 April 2013 10:11, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>>> On 31 March 2013 22:10, David Miller <davem@davemloft.net> wrote:
>>>>> On 26 March 2013 09:55, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>>>>>> From: Viresh Kumar <viresh.kumar@linaro.org>
>>>>>> Date: Mon, 25 Mar 2013 11:20:23 +0530
>>>>>> Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
>>>
>>>> Subject line still has the "spark" typo.
>>>
>>> Your mail was scary, really... HOW can i do it??
>>>
>>> And then i saw how you got it wrong. I haven't sent a new mail, so mails subject
>>> remains the same... I copied V2 in the same mail.. Check above, subject looks
>>> fine :)
>>
>> Hi David,
>>
>> I think all pending issues are fixed now... Can i have your Ack please?
>> Or maybe more comments :)
>
> Acked-by: David S. Miller <davem@davemloft.net>
Adding everybody else in cc.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 4/9] ia64: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-02 0:49 ` Viresh Kumar
@ 2013-04-03 17:35 ` Tony Luck
0 siblings, 0 replies; 38+ messages in thread
From: Tony Luck @ 2013-04-03 17:35 UTC (permalink / raw)
To: Viresh Kumar
Cc: Fenghua Yu, linux-ia64@vger.kernel.org, arvind.chauhan,
Robin Randhawa, Steve.Bannister, Liviu.Dudau,
Charles Garcia-Tobin, cpufreq, Linux PM mailing list,
Linux Kernel Mailing List, linaro-kernel, Arnd Bergmann,
Rafael J. Wysocki
On Mon, Apr 1, 2013 at 5:49 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> For now, your Ack will work :)
Acked-by: Tony Luck <tony.luck@intel.com>
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
[not found] ` <1364985034.16520.12.camel@pasglop>
@ 2013-04-04 6:25 ` Viresh Kumar
2013-04-04 6:30 ` Amit Kucheria
2013-04-11 6:59 ` Olof Johansson
0 siblings, 2 replies; 38+ messages in thread
From: Viresh Kumar @ 2013-04-04 6:25 UTC (permalink / raw)
To: Olof Johansson, linuxppc-dev, Benjamin Herrenschmidt,
Paul Mackerras, Rafael J. Wysocki
Cc: arvind.chauhan, Arnd Bergmann, robin.randhawa, Steve.Bannister,
Liviu.Dudau, charles.garcia-tobin, cpufreq, linux-pm,
linux-kernel, linaro-kernel
On 3 April 2013 16:00, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote:
>> On 31 March 2013 09:33, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> > Benjamin/Paul/Olof,
>> >
>> > Any comments on this?
>>
>> Ping!!
>
> I'm on vacation until end of April. No objection to the patch but
> somebody needs to test it.
Hi,
Can somebody else from powerpc world give it a try?
OR
@Rafael: Can we get this pushed in linux-next as is and then people would
be forced to test it and in case there are any complains, i will fix them or
you can revert it?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-04 6:25 ` Viresh Kumar
@ 2013-04-04 6:30 ` Amit Kucheria
2013-04-11 6:59 ` Olof Johansson
1 sibling, 0 replies; 38+ messages in thread
From: Amit Kucheria @ 2013-04-04 6:30 UTC (permalink / raw)
To: Viresh Kumar, deepthi
Cc: Olof Johansson, linuxppc-dev, Benjamin Herrenschmidt,
Paul Mackerras, Rafael J. Wysocki, Robin Randhawa, linux-pm,
Liviu Dudau, linux-kernel, cpufreq, Steve Bannister,
Arvind Chauhan, Lists linaro-kernel, Charles Garcia-Tobin
On Thu, Apr 4, 2013 at 11:55 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> On 3 April 2013 16:00, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>> On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote:
>>> On 31 March 2013 09:33, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
>>> > Benjamin/Paul/Olof,
>>> >
>>> > Any comments on this?
>>>
>>> Ping!!
>>
>> I'm on vacation until end of April. No objection to the patch but
>> somebody needs to test it.
>
> Hi,
>
> Can somebody else from powerpc world give it a try?
Deepthi, can you help?
> OR
>
> @Rafael: Can we get this pushed in linux-next as is and then people would
> be forced to test it and in case there are any complains, i will fix them or
> you can revert it?
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-04 6:25 ` Viresh Kumar
2013-04-04 6:30 ` Amit Kucheria
@ 2013-04-11 6:59 ` Olof Johansson
2013-04-11 7:02 ` Viresh Kumar
1 sibling, 1 reply; 38+ messages in thread
From: Olof Johansson @ 2013-04-11 6:59 UTC (permalink / raw)
To: Viresh Kumar
Cc: linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
Rafael J. Wysocki, arvind.chauhan, Arnd Bergmann, robin.randhawa,
Steve.Bannister, Liviu.Dudau, charles.garcia-tobin, cpufreq,
linux-pm, linux-kernel, linaro-kernel
On Thu, Apr 04, 2013 at 11:55:56AM +0530, Viresh Kumar wrote:
> On 3 April 2013 16:00, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> > On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote:
> >> On 31 March 2013 09:33, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> >> > Benjamin/Paul/Olof,
> >> >
> >> > Any comments on this?
> >>
> >> Ping!!
> >
> > I'm on vacation until end of April. No objection to the patch but
> > somebody needs to test it.
>
> Hi,
>
> Can somebody else from powerpc world give it a try?
>
> OR
>
> @Rafael: Can we get this pushed in linux-next as is and then people would
> be forced to test it and in case there are any complains, i will fix them or
> you can revert it?
That's not very nice this late in the staging cycle. Give the powerpc
guys a little more time than a single day to come back with test results,
please.
-Olof
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-11 6:59 ` Olof Johansson
@ 2013-04-11 7:02 ` Viresh Kumar
2013-04-11 20:33 ` Rafael J. Wysocki
0 siblings, 1 reply; 38+ messages in thread
From: Viresh Kumar @ 2013-04-11 7:02 UTC (permalink / raw)
To: Olof Johansson
Cc: linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
Rafael J. Wysocki, arvind.chauhan, Arnd Bergmann, robin.randhawa,
Steve.Bannister, Liviu.Dudau, charles.garcia-tobin, cpufreq,
linux-pm, linux-kernel, linaro-kernel
On 11 April 2013 12:29, Olof Johansson <olof@lixom.net> wrote:
> That's not very nice this late in the staging cycle. Give the powerpc
> guys a little more time than a single day to come back with test results,
> please.
Yes we are waiting indefinitely for an Ack from powerpc guys.. If we can
get a Ack soon, we will get it in 3.10 otherwise next cycle.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq
2013-04-11 7:02 ` Viresh Kumar
@ 2013-04-11 20:33 ` Rafael J. Wysocki
0 siblings, 0 replies; 38+ messages in thread
From: Rafael J. Wysocki @ 2013-04-11 20:33 UTC (permalink / raw)
To: Viresh Kumar
Cc: robin.randhawa, linux-pm, Liviu.Dudau, linux-kernel, cpufreq,
Steve.Bannister, Paul Mackerras, Olof Johansson, Arnd Bergmann,
arvind.chauhan, linuxppc-dev, linaro-kernel, charles.garcia-tobin
On Thursday, April 11, 2013 12:32:50 PM Viresh Kumar wrote:
> On 11 April 2013 12:29, Olof Johansson <olof@lixom.net> wrote:
> > That's not very nice this late in the staging cycle. Give the powerpc
> > guys a little more time than a single day to come back with test results,
> > please.
>
> Yes we are waiting indefinitely for an Ack from powerpc guys.. If we can
> get a Ack soon, we will get it in 3.10 otherwise next cycle.
Well, I'll be traveling from Saturday morning onwards until the end of the
next week and my window for taking stuff into v3.10 closes in 16 hours.
Whatever is not ready (i.e. ACKed in this particular case) before that time,
won't be taken.
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 38+ messages in thread
end of thread, other threads:[~2013-04-11 20:33 UTC | newest]
Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
2013-03-25 16:54 ` [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq Viresh Kumar
2013-03-31 3:58 ` Viresh Kumar
2013-03-31 4:05 ` Viresh Kumar
[not found] ` <CAKohponGrtXWSaGeRxKpVMNZGDNCqK3-hc0tZGHXM78Jh5od9w@mail.gmail.com>
[not found] ` <20130403094245.GA4953@samfundet.no>
2013-04-03 10:36 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 2/9] blackfin: " Viresh Kumar
[not found] ` <df07f927c36e109e49363b9b87965a184ea941ca.1364229828.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-26 10:26 ` Steven Miao
2013-03-25 16:54 ` [PATCH 3/9] cris: " Viresh Kumar
2013-03-31 4:00 ` Viresh Kumar
2013-04-03 12:21 ` Jesper Nilsson
2013-03-25 16:54 ` [PATCH 4/9] ia64: " Viresh Kumar
2013-03-30 9:51 ` Viresh Kumar
2013-04-01 5:01 ` Viresh Kumar
2013-04-01 21:22 ` Tony Luck
2013-04-02 0:49 ` Viresh Kumar
2013-04-03 17:35 ` Tony Luck
2013-03-25 16:54 ` [PATCH 5/9] mips: " Viresh Kumar
2013-03-31 4:01 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 6/9] sh: " Viresh Kumar
2013-03-26 9:29 ` Paul Mundt
2013-03-25 16:54 ` [PATCH 7/9] unicore2: " Viresh Kumar
2013-03-31 4:01 ` Viresh Kumar
2013-03-31 14:18 ` Xuetao Guan
2013-03-25 16:54 ` [PATCH 8/9] spark: " Viresh Kumar
2013-03-25 17:07 ` David Miller
2013-03-26 2:00 ` Viresh Kumar
2013-03-26 4:25 ` Viresh Kumar
2013-03-31 7:30 ` Viresh Kumar
2013-03-31 16:40 ` David Miller
2013-04-01 4:41 ` Viresh Kumar
[not found] ` <CAKohpomNTb6G9XOyd+4AidQw+EcS63neVuL9FETdQDQY6emxPA@mail.gmail.com>
[not found] ` <20130403.123843.317510603826206997.davem@davemloft.net>
2013-04-03 17:09 ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 9/9] powerpc: " Viresh Kumar
2013-03-31 4:03 ` Viresh Kumar
[not found] ` <CAKohpomRMkKouiy+iJUiheTcPGCDVLbxppL5f4oc-WMu2E5T8g@mail.gmail.com>
[not found] ` <1364985034.16520.12.camel@pasglop>
2013-04-04 6:25 ` Viresh Kumar
2013-04-04 6:30 ` Amit Kucheria
2013-04-11 6:59 ` Olof Johansson
2013-04-11 7:02 ` Viresh Kumar
2013-04-11 20:33 ` 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).