Re: [PATCH v2] arm64: arch_timer: avoid infinite recursion when ftrace is enabled

2017-08-09 Thread Ding Tianhong
add Danial and Thomas. On 2017/8/10 10:52, Ding Tianhong wrote: > On platforms with an arch timer erratum workaround, it's possible for > arch_timer_reg_read_stable() to recurse into itself when certain > tracing options are enabled, leading to stack overflows and related > problems. > > For exam

[PATCH v2] arm64: arch_timer: avoid infinite recursion when ftrace is enabled

2017-08-09 Thread Ding Tianhong
On platforms with an arch timer erratum workaround, it's possible for arch_timer_reg_read_stable() to recurse into itself when certain tracing options are enabled, leading to stack overflows and related problems. For example, when PREEMPT_TRACER and FUNCTION_GRAPH_TRACER are selected, it's possibl