summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-01-10 13:52:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 13:36:57 +0300
commit938669f1f44704d281a3358e5fcdfabea9724788 (patch)
tree280b55c0adca4bdfddbe42a1987f6dd2f5f220a1 /tools/perf/scripts/python/stackcollapse.py
parent6f449d8fa1808a7f9ee644866bbc079285dbefdd (diff)
downloadlinux-938669f1f44704d281a3358e5fcdfabea9724788.tar.xz
s390/fpu: Add fpc exception handler / remove fixup section again
commit ae02615b7fcea9ce9a4ec40b3c5b5dafd322b179 upstream. The fixup section was added again by mistake when test_fp_ctl() was removed. The reason for the removal of the fixup section is described in commit 484a8ed8b7d1 ("s390/extable: add dedicated uaccess handler"). Remove it again for the same reason. Add an exception handler which handles exceptions when the floating point control register is attempted to be set to invalid values. The exception handler sets the floating point control register to zero and continues execution at the specified address. The new sfpc inline assembly is open-coded to make back porting a bit easier. Fixes: 702644249d3e ("s390/fpu: get rid of test_fp_ctl()") Cc: stable@vger.kernel.org Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions