android_kernel_xiaomi_sm8350/drivers/cpuidle
Juri Lelli eba1c71819 ARM: 8130/1: cpuidle/cpuidle-big_little: fix reading cpu id part number
Commit af040ffc9b ("ARM: make it easier to check the CPU part number
correctly") changed ARM_CPU_PART_X masks, and the way they are returned and
checked against. Usage of read_cpuid_part_number() is now deprecated, and
calling places updated accordingly. This actually broke cpuidle-big_little
initialization, as bl_idle_driver_init() performs a check using an hardcoded
mask on cpu_id.

Create an interface to perform the check (that is now even easier to read).
Define also a proper mask (ARM_CPU_PART_MASK) that makes this kind of checks
cleaner and helps preventing bugs in the future. Update usage accordingly.

Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-08-27 15:40:45 +01:00
..
governors More ACPI and power management updates for 3.17-rc1 2014-08-14 18:13:46 -06:00
coupled.c
cpuidle-at91.c
cpuidle-big_little.c ARM: 8130/1: cpuidle/cpuidle-big_little: fix reading cpu id part number 2014-08-27 15:40:45 +01:00
cpuidle-calxeda.c
cpuidle-clps711x.c
cpuidle-cps.c cpuidle: cpuidle-cps: add MIPS CPS cpuidle driver 2014-05-28 16:20:36 +01:00
cpuidle-exynos.c ARM: EXYNOS: Fix suspend/resume sequences 2014-08-09 08:24:36 -07:00
cpuidle-kirkwood.c
cpuidle-mvebu-v7.c cpuidle: mvebu: add Armada 38x support 2014-07-24 11:47:29 +00:00
cpuidle-powernv.c powerpc/cpuidle: Fix parsing of idle state flags from device-tree 2014-08-05 15:40:45 +10:00
cpuidle-pseries.c
cpuidle-ux500.c
cpuidle-zynq.c
cpuidle.c cpuidle: move idle traces to cpuidle_enter_state() 2014-07-09 15:45:23 +02:00
cpuidle.h
driver.c cpuidle: Remove time measurement in poll state 2014-07-29 01:37:57 +02:00
governor.c
Kconfig cpuidle: Remove manual selection of the multiple driver support 2014-07-29 01:35:29 +02:00
Kconfig.arm ARM: SoC platform changes for 3.17 2014-08-08 11:14:29 -07:00
Kconfig.mips cpuidle: cpuidle-cps: add MIPS CPS cpuidle driver 2014-05-28 16:20:36 +01:00
Kconfig.powerpc
Makefile cpuidle: mvebu: rename the driver from armada-370-xp to mvebu-v7 2014-07-24 11:47:11 +00:00
sysfs.c cpuidle: fix permission for driver name sysfs node 2014-07-19 21:43:28 +02:00