summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorChristian Borntraeger2019-04-03 09:00:35 +0200
committerChristian Borntraeger2019-04-25 08:26:21 +0200
commit8ec2fa52eac53bff7ef1cedbc4ad8af650ec937c (patch)
treefed0a614df04aa2be254111ae9c228e4d264aa15 /arch/s390/include/asm
parentKVM: s390: add deflate conversion facilty to cpu model (diff)
downloadkernel-qcow2-linux-8ec2fa52eac53bff7ef1cedbc4ad8af650ec937c.tar.gz
kernel-qcow2-linux-8ec2fa52eac53bff7ef1cedbc4ad8af650ec937c.tar.xz
kernel-qcow2-linux-8ec2fa52eac53bff7ef1cedbc4ad8af650ec937c.zip
KVM: s390: enable MSA9 keywrapping functions depending on cpu model
Instead of adding a new machine option to disable/enable the keywrapping options of pckmo (like for AES and DEA) we can now use the CPU model to decide. As ECC is also wrapped with the AES key we need that to be enabled. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index c47e22bba87f..e224246ff93c 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -278,6 +278,7 @@ struct kvm_s390_sie_block {
#define ECD_HOSTREGMGMT 0x20000000
#define ECD_MEF 0x08000000
#define ECD_ETOKENF 0x02000000
+#define ECD_ECC 0x00200000
__u32 ecd; /* 0x01c8 */
__u8 reserved1cc[18]; /* 0x01cc */
__u64 pp; /* 0x01de */