diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2024-04-30 17:30:01 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-05-14 14:37:08 +0300 |
commit | 7278a8fb8d032dfdc03d9b5d17e0bc451cdc1492 (patch) | |
tree | e233b16bd037d8e22c54cf80d61697eca8fe7bb1 /tools/perf/scripts/python | |
parent | 095c89e99bae9ee23a3cae737974937dfe2bbf25 (diff) | |
download | linux-7278a8fb8d032dfdc03d9b5d17e0bc451cdc1492.tar.xz |
s390: Mark psw in __load_psw_mask() as __unitialized
Without __unitialized, the following code is generated when
INIT_STACK_ALL_ZERO is enabled:
86: d7 0f f0 a0 f0 a0 xc 160(16,%r15), 160(%r15)
8c: e3 40 f0 a0 00 24 stg %r4, 160(%r15)
92: c0 10 00 00 00 08 larl %r1, 0xa2
98: e3 10 f0 a8 00 24 stg %r1, 168(%r15)
9e: b2 b2 f0 a0 lpswe 160(%r15)
The xc is not adding any security because psw is fully initialized
with the following instructions. Add __unitialized to the psw
definitiation to avoid the superfluous clearing of psw.
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions