s390/cpacf: Split and rework cpacf query functions
commit 830999bd upstream. Rework the cpacf query functions to use the correct RRE or RRF instruction formats and set register fields within instructions correctly. Fixes: 1afd43e0 ("s390/crypto: allow to query all known cpacf functions") Reported-by:Nina Schoetterl-Glausch <nsg@linux.ibm.com> Suggested-by:
Heiko Carstens <hca@linux.ibm.com> Suggested-by:
Juergen Christ <jchrist@linux.ibm.com> Suggested-by:
Holger Dengler <dengler@linux.ibm.com> Signed-off-by:
Harald Freudenberger <freude@linux.ibm.com> Reviewed-by:
Holger Dengler <dengler@linux.ibm.com> Reviewed-by:
Juergen Christ <jchrist@linux.ibm.com> Cc: <stable@vger.kernel.org> Signed-off-by:
Heiko Carstens <hca@linux.ibm.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment