summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scmi/scmi_pm_domain.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-04-23 17:09:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-26 13:19:16 +0200
commit4625741e20b8d039c4d91e705d7e0a271c41bf50 (patch)
tree78bc8da0e9696814e9a0854d9317b2e3ad24905a /drivers/firmware/arm_scmi/scmi_pm_domain.c
parentf47d6db0a31fb59aebd8bd8bd9171d42085a0610 (diff)
downloadlinux-stable-4625741e20b8d039c4d91e705d7e0a271c41bf50.tar.gz
linux-stable-4625741e20b8d039c4d91e705d7e0a271c41bf50.tar.bz2
linux-stable-4625741e20b8d039c4d91e705d7e0a271c41bf50.zip
ARM: fix function graph tracer and unwinder dependencies
commit 503621628b32782a07b2318e4112bd4372aa3401 upstream. Naresh Kamboju recently reported that the function-graph tracer crashes on ARM. The function-graph tracer assumes that the kernel is built with frame pointers. We explicitly disabled the function-graph tracer when building Thumb2, since the Thumb2 ABI doesn't have frame pointers. We recently changed the way the unwinder method was selected, which seems to have made it more likely that we can end up with the function- graph tracer enabled but without the kernel built with frame pointers. Fix up the function graph tracer dependencies so the option is not available when we have no possibility of having frame pointers, and adjust the dependencies on the unwinder option to hide the non-frame pointer unwinder options if the function-graph tracer is enabled. Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org> Tested-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reported-by: Danilo Cezar Zanella <danilo.zanella@iag.usp.br> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/arm_scmi/scmi_pm_domain.c')
0 files changed, 0 insertions, 0 deletions