s390/ap: make tapq gr2 response a struct
authorHarald Freudenberger <freude@linux.ibm.com>
Mon, 12 Sep 2022 16:02:44 +0000 (18:02 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 10:12:48 +0000 (11:12 +0100)
commit211c06d845a7a5d856e2a99276ceb02aaa11c618
tree38f6c0035e0f93ead755f1d2549a67c4bb20a947
parentd7b1813af6a589597290cd5f720e138c0a2bf913
s390/ap: make tapq gr2 response a struct

This patch introduces a new struct ap_tapq_gr2 which covers
the response in GR2 on TAPQ invocation. This makes it much
easier and less error-prone for the calling functions to
access the right field without shifting and masking.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ap.h
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/vfio_ap_ops.c