KVM: s390: Fixup interrupt vcpu event messages and levels
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 9 Jul 2015 12:08:18 +0000 (14:08 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 29 Jul 2015 09:02:34 +0000 (11:02 +0200)
commit3f24ba150cb6be11222ced427f2997c33fbd665e
treeac2e800fe60662acc9f95af7df73d7e636ae3e5c
parentab7090a611c6f4ea327c811c08458147e54130d2
KVM: s390: Fixup interrupt vcpu event messages and levels

This reworks the debug logging for interrupt related logs.
Several changes:
- unify program int/irq
- improve decoding (e.g. use mcic instead of parm64 for machine
  check injection)
- remove useless interrupt type number (the name is enough)
- rename "interrupt:" to "deliver:" as the other side is called "inject"
- use log level 3 for state changing and/or seldom events (like machine
  checks, restart..)
- use log level 4 for frequent events
- use 0x prefix for hex numbers
- add pfault done logging
- move some tracing outside spinlock

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
arch/s390/kvm/interrupt.c