s390/zcrypt: externalize AP config info query
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Tue, 8 Nov 2016 10:54:28 +0000 (11:54 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 6 Sep 2017 07:24:42 +0000 (09:24 +0200)
commit050349b5b71df52c24989037bd6515cb54c3ef35
tree2c3f60dc0709e97964bf3a466ab07895830dc040
parente7fc5146cfe4f1b10f2ed6c36b65248aa948abe8
s390/zcrypt: externalize AP config info query

KVM has a need to fetch the crypto configuration information
as it is returned by the PQAP(QCI) instruction. This patch
introduces a new API ap_query_configuration() which provides
this info in a handy way for the caller.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/ap.h
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h