]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: enable MSA9 keywrapping functions depending on cpu model
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 3 Apr 2019 07:00:35 +0000 (03:00 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 25 Apr 2019 06:26:21 +0000 (02:26 -0400)
commit3d22e4906e5e2f6edfc574e7449539f2b772669e
treefed0a614df04aa2be254111ae9c228e4d264aa15
parent7a6a421638f844648e6efb775db574702f2df3f2
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>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/vsie.c