tmp_suning_uos_patched/drivers/clocksource
Julien Thierry 5d6168fc61 clocksource/drivers/arm_arch_timer: Don't trace count reader functions
With v5.2-rc1, The ftrace functions_graph tracer locks up whenever it is
enabled on arm64.

Since commit 0ea415390c ("clocksource/arm_arch_timer: Use
arch_timer_read_counter to access stable counters") a function pointer
is consistently used to read the counter instead of potentially
referencing an inlinable function.

The graph tracers relies on accessing the timer counters to compute the
time spent in functions which causes the lockup when attempting to trace
these code paths.

Annotate the arm arch timer counter accessors as notrace.

Fixes: 0ea415390c ("clocksource/arm_arch_timer: Use
       arch_timer_read_counter to access stable counters")
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2019-06-12 15:38:54 +02:00
..
acpi_pm.c
arc_timer.c clocksource/drivers/arc_timer: Utilize generic sched_clock 2018-12-18 22:22:23 +01:00
arm_arch_timer.c clocksource/drivers/arm_arch_timer: Don't trace count reader functions 2019-06-12 15:38:54 +02:00
arm_global_timer.c
armv7m_systick.c
asm9260_timer.c clocksource: Convert to using %pOFn instead of device_node.name 2018-10-03 14:36:52 +02:00
bcm_kona_timer.c
bcm2835_timer.c clocksource/drivers/bcm2835: Switch to SPDX identifier 2018-12-18 22:22:23 +01:00
clksrc_st_lpc.c
clksrc-dbx500-prcmu.c clocksource/drivers/ux500: Drop Ux500 custom SCHED_CLOCK 2018-12-18 22:22:23 +01:00
clps711x-timer.c clocksource/drivers/clps711x: Remove board support 2019-03-24 11:30:11 +01:00
dummy_timer.c
dw_apb_timer_of.c clocksource/drivers/dw_apb: Add reset control 2018-10-07 14:16:35 +02:00
dw_apb_timer.c
em_sti.c
exynos_mct.c clocksource/drivers/exynos_mct: Remove unused header includes 2019-02-23 12:13:45 +01:00
h8300_timer8.c
h8300_timer16.c
h8300_tpu.c
i8253.c clockevents/drivers/i8253: Add support for PIT shutdown quirk 2018-11-04 11:04:46 +01:00
jcore-pit.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 11:11:20 -07:00
mips-gic-timer.c clocksource/drivers/mips-gic-timer: Make gic_compare_irqaction static 2019-03-22 22:59:33 +01:00
mmio.c
mps2-timer.c
mxs_timer.c clocksource/drivers/mxs_timer: Switch to SPDX identifier 2018-05-23 07:39:09 +02:00
nomadik-mtu.c clocksource/drivers/ux500: Drop Ux500 custom SCHED_CLOCK 2018-12-18 22:22:23 +01:00
numachip.c
renesas-ostm.c clocksource/drivers/renesas-ostm: Convert to SPDX identifiers 2018-10-03 14:36:53 +02:00
samsung_pwm_timer.c
scx200_hrt.c
sh_cmt.c clocksource/drivers/sh_cmt: Add R-Car gen3 support 2018-10-03 14:37:01 +02:00
sh_mtu2.c clocksource/drivers/sh_mtu2: Convert to SPDX identifiers 2018-10-03 14:36:55 +02:00
sh_tmu.c clocksource/drivers/sh_tmu: Convert to SPDX identifiers 2018-10-03 14:36:56 +02:00
timer-armada-370-xp.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-atcpit100.c clocksource/drivers: Set clockevent device cpumask to cpu_possible_mask 2018-07-26 11:26:30 +02:00
timer-atlas7.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 2019-05-21 11:28:40 +02:00
timer-atmel-pit.c clocksource/drivers/timer-atmel-pit: Properly handle error cases 2018-09-27 12:01:45 +02:00
timer-atmel-st.c
timer-atmel-tcb.c clocksource/drivers/timer-atmel-tcb: Convert tc_clksrc_suspend|resume() to static 2019-05-02 21:55:58 +02:00
timer-cadence-ttc.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-cs5535.c clocksource/drivers/timer-cs5535: Rename the file for consistency 2019-02-23 12:13:45 +01:00
timer-digicolor.c
timer-efm32.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-fsl-ftm.c drivers/clocksource: timer-fsl-ftm: use common header for FlexTimer #defines 2019-04-25 21:33:41 +02:00
timer-fttmr010.c clocksource/drivers/fttmr010: Fix invalid interrupt register access 2018-12-18 22:22:23 +01:00
timer-gx6605s.c clocksource/drivers/c-sky: Add gx6605s SOC system timer 2018-11-02 19:41:12 +01:00
timer-imx-gpt.c clocksource/drivers/imx-gpt: Remove unnecessary irq protection 2018-12-18 22:22:23 +01:00
timer-imx-tpm.c clocksource/drivers/timer-imx-tpm: Specify clock name for timer-of 2018-12-18 22:22:23 +01:00
timer-integrator-ap.c clocksource/drivers/integrator-ap: Add missing of_node_put() 2018-12-18 22:22:23 +01:00
timer-ixp4xx.c ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
timer-keystone.c clocksource/drivers: Set clockevent device cpumask to cpu_possible_mask 2018-07-26 11:26:30 +02:00
timer-lpc32xx.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-mediatek.c clocksource/drivers/timer-mediatek: Add support for system timer 2018-07-26 11:26:34 +02:00
timer-meson6.c clocksource/drivers/meson6: Change name meson6_timer timer-meson6 2018-12-18 22:22:23 +01:00
timer-milbeaut.c clocksource/drivers/timer-milbeaut: Cleanup common register accesses 2019-05-02 21:55:58 +02:00
timer-mp-csky.c clocksource/drivers/c-sky: fixup ftrace call-graph panic 2018-12-31 23:17:23 +08:00
timer-npcm7xx.c clocksource/drivers/npcm: Add NPCM7xx timer driver 2018-03-30 22:44:09 +02:00
timer-nps.c
timer-of.c clocksource/drivers/timer-of: Don't request the resource by name 2018-01-08 17:57:24 +01:00
timer-of.h
timer-orion.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-owl.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-oxnas-rps.c clocksource/drivers/oxnas: Fix OX820 compatible 2019-04-11 22:13:43 +02:00
timer-pistachio.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-prima2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 2019-05-21 11:28:40 +02:00
timer-probe.c
timer-pxa.c clocksource/drivers/timer-pxa: Rename the file for consistency 2019-02-23 12:13:45 +01:00
timer-qcom.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-rda.c clocksource/drivers/rda: Add clock driver for RDA8810PL SoC 2018-12-18 22:22:23 +01:00
timer-riscv.c clocksource/drivers/riscv: Fix clocksource mask 2019-03-23 12:25:34 +01:00
timer-rockchip.c clocksource/drivers/rockchip: Change name rockchip_timer to timer-rockchip 2018-12-18 22:22:23 +01:00
timer-sp.h
timer-sp804.c clocksource: Convert to using %pOFn instead of device_node.name 2018-10-03 14:36:52 +02:00
timer-sprd.c clocksource/drivers/sprd: Register one always-on timer to compensate suspend time 2018-07-26 11:26:34 +02:00
timer-stm32.c clocksource/drivers/stm32: Fix error return code 2018-06-12 23:54:01 +02:00
timer-sun4i.c clocksource/drivers/sun4i: Add a compatible for suniv 2019-05-02 21:55:58 +02:00
timer-sun5i.c clocksource/drivers/sun5i: Fail gracefully when clock rate is unavailable 2019-02-23 12:13:45 +01:00
timer-tango-xtal.c clocksource/drivers/tango-xtal: Rename the file for consistency 2019-02-23 12:13:45 +01:00
timer-tegra20.c clocksource/drivers/tegra: Rework for compensation of suspend time 2019-05-02 21:55:58 +02:00
timer-ti-32k.c clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs 2018-09-13 15:23:35 +02:00
timer-ti-dm.c clocksource/drivers/timer-ti-dm: Change to new style declaration 2019-05-24 15:51:30 +02:00
timer-u300.c
timer-versatile.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-vf-pit.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00
timer-vt8500.c clocksource/drivers/timer-vt8500: Remove duplicate function name 2018-12-18 22:22:23 +01:00
timer-zevio.c clocksource/drivers: Unify the names to timer-* format 2018-10-03 14:37:02 +02:00