mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +00:00

Prepare the measurement facility which is currently only used by oprofile for multiple users. To achieve that the measurement alert interrupt control bit needs to be protected. The measurement alert definitions are moved to a header file and an interrupt mask is added so that users can discard interrupts if they are for a different measurement subsystem. Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
12 lines
432 B
C
12 lines
432 B
C
#ifndef _ASM_S390_CPU_MF_H
|
|
#define _ASM_S390_CPU_MF_H
|
|
|
|
#define CPU_MF_INT_SF_MASK 0xffc00000
|
|
|
|
#define CPU_MF_INT_SF_IAE (1 << 31) /* invalid entry address */
|
|
#define CPU_MF_INT_SF_ISE (1 << 30) /* incorrect SDBT entry */
|
|
#define CPU_MF_INT_SF_PRA (1 << 29) /* program request alert */
|
|
#define CPU_MF_INT_SF_SACA (1 << 23) /* sampler auth. change alert */
|
|
#define CPU_MF_INT_SF_LSDA (1 << 22) /* loss of sample data alert */
|
|
|
|
#endif
|