aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-05-17 08:41:34 -0400
committerGleb Natapov <gleb@redhat.com>2013-05-21 04:55:21 -0400
commit95d38fd0bcf1996082f5f8762e6f1c849755e0c6 (patch)
tree6693f983fc518ac46c6c5fd31ca15891fedfd97f /arch/s390/include/asm
parent0d0dafc1e48fd254c22f75738def870a7ffd2c3e (diff)
s390/kvm: Mark if a cpu is in SIE
Lets track in a private bit if the sie control block is active. We want to track this as closely as possible, so we also have to instrument the interrupt and program check handler. Lets use the existing HANDLE_SIE_INTERCEPT macro. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/kvm_host.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index 16bd5d169cdb..962b92e6cf00 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -68,7 +68,10 @@ struct sca_block {
68struct kvm_s390_sie_block { 68struct kvm_s390_sie_block {
69 atomic_t cpuflags; /* 0x0000 */ 69 atomic_t cpuflags; /* 0x0000 */
70 __u32 prefix; /* 0x0004 */ 70 __u32 prefix; /* 0x0004 */
71 __u8 reserved8[32]; /* 0x0008 */ 71 __u8 reserved08[4]; /* 0x0008 */
72#define PROG_IN_SIE (1<<0)
73 __u32 prog0c; /* 0x000c */
74 __u8 reserved10[24]; /* 0x0010 */
72 __u64 cputm; /* 0x0028 */ 75 __u64 cputm; /* 0x0028 */
73 __u64 ckc; /* 0x0030 */ 76 __u64 ckc; /* 0x0030 */
74 __u64 epoch; /* 0x0038 */ 77 __u64 epoch; /* 0x0038 */