]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/cpumsf: Check for CPU Measurement sampling
authorThomas Richter <tmricht@linux.ibm.com>
Fri, 20 Sep 2019 09:57:43 +0000 (11:57 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 1 Oct 2019 07:41:36 +0000 (09:41 +0200)
commit932bfc5aae08f3cb20c1c9f051542f5933710151
tree185eaf035fa7cc887d86004541b55a2a569e657d
parent851345828095f1e40d383ec1a1e91767a2051976
s390/cpumsf: Check for CPU Measurement sampling

s390 IBM z15 introduces a check if the CPU Mesurement Facility
sampling is temporarily unavailable. If this is the case return -EBUSY
and abort the setup of CPU Measuement facility sampling.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/cpu_mf.h
arch/s390/kernel/perf_cpum_sf.c