s390x: flagify mcic values
commitb080364aedfc294c53c4c4af255efcf007b35d9d
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 8 Oct 2015 13:05:46 +0000 (8 15:05 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 20 Oct 2015 14:21:00 +0000 (20 16:21 +0200)
tree00312ba0d2ad1a97a4964edf8b2fcb959ae7ec19
parent2ab75df38e34fe9bc271b5115ab52114e6e63a89
s390x: flagify mcic values

Instead of using magic values when building the machine check
interruption code, add some defines as by chapter 11-14 in the PoP.

This should make it easier to catch problems like the missing vector
register validity bit ("s390x/kvm: Fix vector validity bit in device
machine checks"), and less hassle should we want to generate machine
checks beyond the channel reports we currently support.

Acked-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
target-s390x/cpu.h
target-s390x/kvm.c