]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/cpum_cf: introduce kernel_cpumcf_alert() to obtain measurement alerts
authorHendrik Brueckner <brueckner@linux.ibm.com>
Wed, 8 Aug 2018 08:30:37 +0000 (10:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 22 Feb 2019 08:19:50 +0000 (09:19 +0100)
commit26b8317f51a20c1e4f61fbd2cc68975faad10b02
treee59b0ea3f327d7ea6f6a460fe0837000273c7561
parentf944bcdf5b8431c68be8bdd13259d27412e45c14
s390/cpum_cf: introduce kernel_cpumcf_alert() to obtain measurement alerts

During a __kernel_cpumcf_begin()/end() session, save measurement alerts
for the counter facility in the per-CPU cpu_cf_events variable.
Users can obtain and, optionally, clear the alerts by calling
kernel_cpumcf_alert() to specifically handle alerts.

Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mcf.h
arch/s390/kernel/perf_cpum_cf.c