linux/arch/arm/mach-exynos
Krzysztof Kozlowski cd4806911c ARM: exynos: Clear global variable on init error path
For most of Exynos SoCs, Power Management Unit (PMU) address space is
mapped into global variable 'pmu_base_addr' very early when initializing
PMU interrupt controller.  A lot of other machine code depends on it so
when doing iounmap() on this address, clear the global as well to avoid
usage of invalid value (pointing to unmapped memory region).

Properly mapped PMU address space is a requirement for all other machine
code so this fix is purely theoretical.  Boot will fail immediately in
many other places after following this error path.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2018-07-24 18:52:14 +02:00
..
include/mach ARM: exynos: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02:00
common.h ARM: exynos: Remove unused soc_is_exynos{4,5} 2018-05-13 14:07:03 +02:00
exynos-smc.S ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
exynos.c ARM: exynos: Remove outdated maintainer information 2018-07-24 18:50:46 +02: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
Kconfig ARM: exynos: no need to select ARCH_HAS_BANDGAP any longer 2018-05-03 18:19:59 +02:00
Makefile 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: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02:00
pm.c ARM: exynos: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02: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: Clear global variable on init error path 2018-07-24 18:52:14 +02:00