]> git.karo-electronics.de Git - linux-beck.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)
commit45c9b47c5883d02abab6c7c7788e3d97a2f158e1
treeda38a436bce71e8c93126a1c1b00d7e1d85659a9
parentf3d0bd6c7f07d2be4b429230386d49f1b1b14f1c
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