Files
twx-linux/arch/arm64/kernel
Zhizhou Zhang d5a362036c arm64: make secondary_start_kernel() notrace
[ Upstream commit b154886f78 ]

We can't call function trace hook before setup percpu offset.
When entering secondary_start_kernel(), percpu offset has not
been initialized.  So this lead hotplug malfunction.
Here is the flow to reproduce this bug:

echo 0 > /sys/devices/system/cpu/cpu1/online
echo function > /sys/kernel/debug/tracing/current_tracer
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 1 > /sys/devices/system/cpu/cpu1/online

Acked-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Zhizhou Zhang <zhizhouzhang@asrmicro.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:26:55 +02:00
..
2015-11-12 15:18:07 +00:00
2015-10-12 17:46:36 +01:00
…
…
2015-11-26 18:15:54 +00:00
…
…
2017-10-05 09:41:46 +02:00
2015-10-05 18:30:29 +01:00
…
…
2015-10-12 17:46:36 +01:00
2016-07-27 09:47:33 -07:00
2016-07-27 09:47:33 -07:00
…
…