linux/drivers/s390
Harald Freudenberger ebf95e8846 s390/ap,zcrypt,vfio: introduce and use ap_queue_status_reg union
Introduce a new ap queue status register wrapper union to access register
wide values. So the inline assembler only sees register wide values but the
surrounding code may use a more structured view of the same value and a
reader of the code (and the compiler) gets a clear understanding about the
mapping between fields and register values.

All the changes to access the ap queue status are local to the inline
functions within ap.h. However, the struct ap_qirq_ctrl has been replaces
by a union for same reason and this needed slight adaptions in the calling
code.

Suggested-by: Halil Pasic <pasic@linux.ibm.com>
Suggested-by: Andreas Arnez <arnez@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2023-02-27 15:29:36 +01:00
..
block s390/dasd: Fix potential memleak in dasd_eckd_init() 2023-02-09 17:05:43 -07:00
char s390/hmcdrv: use strscpy() instead of strlcpy() 2023-02-06 11:13:53 +01:00
cio vfio/ccw: remove WARN_ON during shutdown 2023-02-14 11:45:40 +01:00
crypto s390/ap,zcrypt,vfio: introduce and use ap_queue_status_reg union 2023-02-27 15:29:36 +01:00
net s390/qeth: Convert sprintf/snprintf to scnprintf 2023-02-10 19:49:53 -08:00
scsi Random number generator updates for Linux 6.2-rc1. 2022-12-12 16:22:22 -08:00
virtio virtio: Revert "virtio: find_vqs() add arg sizes" 2022-08-16 01:40:24 -04:00
Makefile