summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_setup.c
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.ibm.com>2018-05-03 15:56:15 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-05-08 15:56:36 +0200
commit4bbaf2584b86b0772413edeac22ff448f36351b1 (patch)
tree1d1189bb322ed2104b9c3d7560a1a151942aef88 /drivers/s390/cio/qdio_setup.c
parents390: use expoline thunks in the BPF JIT (diff)
downloadlinux-4bbaf2584b86b0772413edeac22ff448f36351b1.tar.xz
linux-4bbaf2584b86b0772413edeac22ff448f36351b1.zip
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: 8c069ff4bd606 ("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>
Diffstat (limited to 'drivers/s390/cio/qdio_setup.c')
0 files changed, 0 insertions, 0 deletions