diff options
author | Vincenzo Frascino <vincenzo.frascino@arm.com> | 2019-12-05 11:04:51 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-06 12:51:03 +0100 |
commit | 04bb96427d4ee33fbdf15648ddf578c6ba1aef54 (patch) | |
tree | f68ba6c7c2e8fdc5825412c5787cb9c1cb432413 /scripts/stackusage | |
parent | ARM: 8943/1: Fix topology setup in case of CPU hotplug for CONFIG_SCHED_MC (diff) | |
download | linux-04bb96427d4ee33fbdf15648ddf578c6ba1aef54.tar.xz linux-04bb96427d4ee33fbdf15648ddf578c6ba1aef54.zip |
ARM: 8947/1: Fix __arch_get_hw_counter() access to CNTVCT
__arch_get_hw_counter() should check clock_mode to see if it can access
CNTVCT. With the conversion to unified vDSO this check has been left out.
This causes on imx v6 and v7 (imx_v6_v7_defconfig) and other platforms to
hang at boot during the execution of the init process as per below:
[ 19.976852] Run /sbin/init as init process
[ 20.044931] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000004
Fix the problem verifying that clock_mode is set coherently before
accessing CNTVCT.
Investigated-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions