From dffeb9c7c27b5c7fbc61552f39797d11f9aede35 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 17 Sep 2016 11:38:40 +0100 Subject: [PATCH] Enable CPU IDLE on ARMv7, Tweak big.LITTLE on ARMv7 --- config-arm-generic | 4 +++- config-armv7 | 2 +- config-armv7-generic | 16 ++++++++++++++-- config-armv7-lpae | 11 ----------- config-generic | 2 +- config-powerpc64-generic | 1 - config-s390x | 1 + config-x86-generic | 4 ---- kernel.spec | 4 ++++ 9 files changed, 24 insertions(+), 21 deletions(-) diff --git a/config-arm-generic b/config-arm-generic index 7de045828..98d0f510c 100644 --- a/config-arm-generic +++ b/config-arm-generic @@ -19,8 +19,11 @@ CONFIG_CC_STACKPROTECTOR=y # CONFIG_CPU_BIG_ENDIAN is not set # CONFIG_BIG_LITTLE is not set +# CONFIG_ARM_BIG_LITTLE_CPUIDLE is not set # CONFIG_IWMMXT is not set +CONFIG_ARM_CPUIDLE=y + CONFIG_RESET_CONTROLLER=y CONFIG_RESET_GPIO=y @@ -255,7 +258,6 @@ CONFIG_CLOCK_THERMAL=y CONFIG_CPUFREQ_DT=m CONFIG_CPUFREQ_DT_PLATDEV=y CONFIG_DEVFREQ_THERMAL=y -# CONFIG_ARM_CPUIDLE is not set # CONFIG_ARM_DT_BL_CPUFREQ is not set # CONFIG_ARM_BIG_LITTLE_CPUFREQ is not set CONFIG_SPMI=m diff --git a/config-armv7 b/config-armv7 index edd0c958f..0207f9ab9 100644 --- a/config-armv7 +++ b/config-armv7 @@ -577,7 +577,7 @@ CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y CONFIG_COMMON_CLK_AXI_CLKGEN=m CONFIG_COMMON_CLK_SI570=m CONFIG_COMMON_CLK_XLNX_CLKWZRD=m -# CONFIG_ARM_ZYNQ_CPUIDLE is not set +CONFIG_ARM_ZYNQ_CPUIDLE=y CONFIG_LATTICE_ECP3_CONFIG=m CONFIG_NET_VENDOR_XILINX=y CONFIG_XILINX_EMACLITE=m diff --git a/config-armv7-generic b/config-armv7-generic index f9ca87a4e..a0e532749 100644 --- a/config-armv7-generic +++ b/config-armv7-generic @@ -165,6 +165,17 @@ CONFIG_LSM_MMAP_MIN_ADDR=32768 CONFIG_LBDAF=y +# Little.BIG +CONFIG_BIG_LITTLE=y +CONFIG_BL_SWITCHER=y +CONFIG_ARM_BIG_LITTLE_CPUFREQ=m +CONFIG_ARM_SCPI_CPUFREQ=m +CONFIG_ARCH_VEXPRESS_DCSCB=y +CONFIG_ARCH_VEXPRESS_TC2_PM=y +CONFIG_ARM_VEXPRESS_SPC_CPUFREQ=m +CONFIG_ARM_BIG_LITTLE_CPUIDLE=y +# CONFIG_BL_SWITCHER_DUMMY_IF is not set + # GRR, needed for MFD_AS3722 CONFIG_I2C=y @@ -286,7 +297,8 @@ CONFIG_SOC_EXYNOS5800=y CONFIG_SERIAL_SAMSUNG=y CONFIG_SERIAL_SAMSUNG_CONSOLE=y CONFIG_ARM_EXYNOS5440_CPUFREQ=m -# CONFIG_ARM_EXYNOS_CPUIDLE is not set +CONFIG_ARM_EXYNOS_CPUIDLE=y +CONFIG_EXYNOS5420_MCPM=y CONFIG_ARM_EXYNOS5_BUS_DEVFREQ=m # CONFIG_ARM_EXYNOS_BUS_DEVFREQ is not set # CONFIG_EXYNOS5420_MCPM not set @@ -422,7 +434,7 @@ CONFIG_MACH_DOVE=y CONFIG_CACHE_TAUROS2=y CONFIG_PINCTRL_ARMADA_370=y CONFIG_PINCTRL_ARMADA_XP=y -# CONFIG_ARM_MVEBU_V7_CPUIDLE is not set +CONFIG_ARM_MVEBU_V7_CPUIDLE=y CONFIG_PINCTRL_DOVE=y CONFIG_MMC_SDHCI_DOVE=m CONFIG_DOVE_THERMAL=m diff --git a/config-armv7-lpae b/config-armv7-lpae index c31f4dbe6..fb7177b85 100644 --- a/config-armv7-lpae +++ b/config-armv7-lpae @@ -18,17 +18,6 @@ CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_ARM_VIRT_EXT=y CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 -# Little.BIG -CONFIG_BIG_LITTLE=y -CONFIG_BL_SWITCHER=y -CONFIG_EXYNOS5420_MCPM=y -CONFIG_ARCH_VEXPRESS_DCSCB=y -CONFIG_ARCH_VEXPRESS_TC2_PM=y -CONFIG_ARM_BIG_LITTLE_CPUFREQ=m -CONFIG_ARM_SCPI_CPUFREQ=m -CONFIG_ARM_VEXPRESS_SPC_CPUFREQ=m -# CONFIG_BL_SWITCHER_DUMMY_IF is not set - CONFIG_KVM=y CONFIG_KVM_ARM_HOST=y CONFIG_KVM_NEW_VGIC=y diff --git a/config-generic b/config-generic index 403958dd9..c9d6e6ed0 100644 --- a/config-generic +++ b/config-generic @@ -6022,7 +6022,7 @@ CONFIG_POWERCAP=y # CONFIG_HSI is not set -# CONFIG_CPU_IDLE is not set +CONFIG_CPU_IDLE=y # CONFIG_CPU_IDLE_GOV_LADDER is not set # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set diff --git a/config-powerpc64-generic b/config-powerpc64-generic index 0c8339c7e..fcd3a49a4 100644 --- a/config-powerpc64-generic +++ b/config-powerpc64-generic @@ -69,7 +69,6 @@ CONFIG_RCU_FANOUT_LEAF=16 CONFIG_FA_DUMP=y CONFIG_RELOCATABLE=y -CONFIG_CPU_IDLE=y CONFIG_POWERNV_CPUIDLE=y CONFIG_PSERIES_CPUIDLE=y diff --git a/config-s390x b/config-s390x index cb769ac09..e235e9e01 100644 --- a/config-s390x +++ b/config-s390x @@ -159,6 +159,7 @@ CONFIG_MONREADER=m CONFIG_STACK_GUARD=256 CONFIG_CMM_IUCV=y +# CONFIG_CPU_IDLE is not set CONFIG_S390_HYPFS_FS=y diff --git a/config-x86-generic b/config-x86-generic index 7df9a0751..f011f027d 100644 --- a/config-x86-generic +++ b/config-x86-generic @@ -345,10 +345,6 @@ CONFIG_SPI_PXA2XX=m CONFIG_MTD_ESB2ROM=m CONFIG_MTD_CK804XROM=m -CONFIG_CPU_IDLE=y -# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set -CONFIG_CPU_IDLE_GOV_MENU=y - CONFIG_THINKPAD_ACPI=m # CONFIG_THINKPAD_ACPI_DEBUG is not set # CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set diff --git a/kernel.spec b/kernel.spec index 8fb5485c1..7e64b8d94 100644 --- a/kernel.spec +++ b/kernel.spec @@ -2153,6 +2153,10 @@ fi # # %changelog +* Sat Sep 17 2016 Peter Robinson +- Enable CPU IDLE on ARMv7 +- Tweak big.LITTLE on ARMv7 + * Fri Sep 16 2016 Justin M. Forbes - 4.8.0-0.rc6.git4.1 - Linux v4.8-rc6-231-g024c7e3