linux/arch/arm/mach-exynos
Marek Szyprowski ae35c48356 ARM: EXYNOS: Simplify code in coupled CPU idle hot path
exynos_enter_aftr() is called by coupled CPU idle code every time CPU
enters idle state, what can be considered as a hot path. Replace
of_machine_is_compatible() call with a simple SoC revision check.

of_machine_is_compatible() function performs a dozen of string comparisons
during the full device tree walk, while soc_is_exynos4412() is a simple
integer check on SoC revision variable.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2018-03-21 18:51:39 +01:00
..
include/mach ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
Kconfig ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
Makefile ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
common.h ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
exynos-smc.S ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
exynos.c ARM: EXYNOS: Extend cpuidle support to Midas boards 2018-02-19 17:55:49 +01:00
firmware.c ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
headsmp.S ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
mcpm-exynos.c ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
platsmp.c ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
pm.c ARM: EXYNOS: Simplify code in coupled CPU idle hot path 2018-03-21 18:51:39 +01:00
sleep.S ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
smc.h ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
suspend.c ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00