]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390/CPACF: Choose crypto control block format
authorTony Krowiak <akrowiak@linux.vnet.ibm.com>
Tue, 13 Jan 2015 16:33:26 +0000 (11:33 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 9 Feb 2015 11:44:12 +0000 (12:44 +0100)
commit0a6ea6914424ebb4f9d56ec2dc998106fff7e127
treeda38a436bce71e8c93126a1c1b00d7e1d85659a9
parent9034dd9168725e0d32a34446e45aba527aaacc5b
KVM: s390/CPACF: Choose crypto control block format

We need to specify a different format for the crypto control block
depending on whether the APXA facility is installed or not. Let's
test for it by executing the PQAP(QCI) function and use either a
format-1 or a format-2 crypto control block accordingly. This is a
host only change for z13 and does not affect the guest view.

Signed-off-by: Tony Krowiak <akrowiak@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c