linux-rockchip/arch/s390
Heiko Carstens 318ca89bc5 s390: Initialize psw mask in perf_arch_fetch_caller_regs()
[ Upstream commit 223e7fb979fa06934f1595b6ad0ae1d4ead1147f ]

Also initialize regs->psw.mask in perf_arch_fetch_caller_regs().
This way user_mode(regs) will return false, like it should.

It looks like all current users initialize regs to zero, so that this
doesn't fix a bug currently. However it is better to not rely on callers
to do this.

Fixes: 914d52e464 ("s390: implement perf_arch_fetch_caller_regs")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-01 01:56:00 +01:00
..
appldata
boot s390/boot: Remove alt_stfle_fac_list from decompressor 2024-06-12 11:03:44 +02:00
configs
crypto crypto: s390/aes - Fix buffer overread in CTR mode 2024-01-31 16:16:58 -08:00
hypfs
include s390: Initialize psw mask in perf_arch_fetch_caller_regs() 2024-11-01 01:56:00 +01:00
kernel s390/cpum_sf: Remove WARN_ON_ONCE statements 2024-10-17 15:22:13 +02:00
kvm KVM: s390: Change virtual to physical address access in diag 0x258 handler 2024-10-22 15:56:44 +02:00
lib
mm s390/mm: Add cond_resched() to cmm_alloc/free_pages() 2024-10-17 15:22:13 +02:00
net s390/bpf: Emit a barrier for BPF_FETCH instructions 2024-06-12 11:03:19 +02:00
pci s390/pci: Handle PCI error codes other than 0x3a 2024-11-01 01:55:57 +01:00
purgatory
tools
Kbuild
Kconfig
Kconfig.debug
Makefile