s390x/cpumodel: introduce CPU features
commit782417446279717aa85320191a519b51f6d5dd31
authorMichael Mueller <mimu@linux.vnet.ibm.com>
Mon, 5 Sep 2016 08:52:18 +0000 (5 10:52 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 6 Sep 2016 15:06:49 +0000 (6 17:06 +0200)
treef572177d3cb949f28fc410f4d5c981edea262d56
parent6efadc905038ac21e7a5e67392c88368932ec5a9
s390x/cpumodel: introduce CPU features

The patch introduces s390x CPU features (most of them refered to as
facilities) along with their discription and some functions that will be
helpful when working with the features later on.

Please note that we don't introduce all known CPU features, only the
ones currently supported by KVM + QEMU. We don't want to enable later
on blindly any facilities, for which we don't know yet if we need QEMU
support to properly support them (e.g. migrate additional state when
active). We can update QEMU later on.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
[reworked to include non-stfle features, added definitions]
Message-Id: <20160905085244.99980-5-dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
target-s390x/Makefile.objs
target-s390x/cpu_features.c [new file with mode: 0644]
target-s390x/cpu_features.h [new file with mode: 0644]
target-s390x/cpu_features_def.h [new file with mode: 0644]