]> 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)
commite0df97d3125e450516465bd1ea7eed005428050b
treefed0a614df04aa2be254111ae9c228e4d264aa15
parenta15aa4eb3d8daa17567b1ca80484a99fbeb67d6a
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