aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnson Huang <[email protected]>2015-12-07 10:09:19 +0100
committerRussell King <[email protected]>2015-12-15 11:51:41 +0000
commitfa0708b320f6da4c1104fe56e01b7abf66fd16ad (patch)
tree123a5f2e6e4f52a4292261c7ce63041531976a5c /tools/perf/scripts/python
parentc014953d84ec21a4df9a43be2378861ea6e9246e (diff)
ARM: 8471/1: need to save/restore arm register(r11) when it is corrupted
In cpu_v7_do_suspend routine, r11 is used while it is NOT saved/restored, different compiler may have different usage of ARM general registers, so it may cause issues during calling cpu_v7_do_suspend. We meet kernel fault occurs when using GCC 4.8.3, r11 contains valid value before calling into cpu_v7_do_suspend, but when returned from this routine, r11 is corrupted and lead to kernel fault. Doing save/restore for those corrupted registers is a must in assemble code. Signed-off-by: Anson Huang <[email protected]> Reviewed-by: Nicolas Pitre <[email protected]> Cc: <[email protected]> # v3.3+ Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions