[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180618171230.tmqkyv4w62mt5diq@armageddon.cambridge.arm.com>
Date: Mon, 18 Jun 2018 18:12:30 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Zhizhou Zhang <zhizhouzhang@...micro.com>
Cc: will.deacon@....com, james.morse@....com, mark.rutland@....com,
julien.thierry@....com, suzuki.poulose@....com,
hoeun.ryu@...il.com, ard.biesheuvel@...aro.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm64: make secondary_start_kernel() notrace
On Tue, Jun 12, 2018 at 05:07:37PM +0800, Zhizhou Zhang wrote:
> 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
>
> Signed-off-by: Zhizhou Zhang <zhizhouzhang@...micro.com>
Queued for 4.18. Thanks.
--
Catalin
Powered by blists - more mailing lists