WSL2-Linux-Kernel/arch/s390
Hendrik Brueckner 4bbaf2584b s390/cpum_sf: ensure sample frequency of perf event attributes is non-zero
Correct a trinity finding for the perf_event_open() system call with
a perf event attribute structure that uses a frequency but has the
sampling frequency set to zero.  This causes a FP divide exception during
the sample rate initialization for the hardware sampling facility.

Fixes: 8c069ff4bd ("s390/perf: add support for the CPU-Measurement Sampling Facility")
Cc: stable@vger.kernel.org # 3.14+
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-05-08 15:56:36 +02:00
..
appldata s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
boot s390/boot: remove unused COMPILE_VERSION and ccflags-y 2018-04-16 09:10:24 +02:00
configs s390: update defconfigs 2018-04-27 06:51:31 +02:00
crypto s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
hypfs hypfs_kill_super(): deal with failed allocations 2018-04-15 23:48:04 -04:00
include s390: extend expoline to BC instructions 2018-05-07 21:12:42 +02:00
kernel s390/cpum_sf: ensure sample frequency of perf event attributes is non-zero 2018-05-08 15:56:36 +02:00
kvm KVM: s390: provide counters for all interrupt injects/delivery 2018-03-14 19:21:18 +00:00
lib s390/lib: use expoline for indirect branches 2018-05-07 09:07:36 +02:00
mm mm/gup.c: document return value 2018-04-13 17:10:27 -07:00
net s390: use expoline thunks in the BPF JIT 2018-05-07 21:12:43 +02:00
numa s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci s390/pci: handle insufficient resources during dma tlb flush 2017-12-13 10:51:33 +01:00
purgatory s390/kexec_file: add generated files to .gitignore 2018-04-16 09:10:23 +02:00
tools KVM: s390: implement CPU model only facilities 2018-03-09 09:44:17 +00:00
Kbuild s390/kexec_file: Add purgatory 2018-04-16 09:10:22 +02:00
Kconfig s390: add support for IBM z14 Model ZR1 2018-04-16 09:10:24 +02:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile s390: add automatic detection of the spectre defense 2018-03-28 08:38:24 +02:00
defconfig s390: update defconfig 2018-04-16 10:29:34 +02:00