linux-next/drivers/s390/crypto
Jason Gunthorpe 8e432bb015 vfio/mdev: Pass in a struct vfio_device * to vfio_pin/unpin_pages()
Every caller has a readily available vfio_device pointer, use that instead
of passing in a generic struct device. The struct vfio_device already
contains the group we need so this avoids complexity, extra refcountings,
and a confusing lifecycle model.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/3-v4-8045e76bf00b+13d-vfio_mdev_no_group_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2022-05-11 13:12:59 -06:00
..
ap_bus.c s390/zcrypt: handle checkstopped cards with new state 2022-03-08 00:33:00 +01:00
ap_bus.h s390/zcrypt: Add admask to zcdn 2022-03-27 22:18:38 +02:00
ap_card.c s390/zcrypt: handle checkstopped cards with new state 2022-03-08 00:33:00 +01:00
ap_debug.h s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
ap_queue.c s390/zcrypt: handle checkstopped cards with new state 2022-03-08 00:33:00 +01:00
Makefile s390/zcrypt: add new low level ep11 functions support file 2020-01-30 13:07:55 +01:00
pkey_api.c s390/pkey: fix typos in comments 2022-03-27 22:18:38 +02:00
vfio_ap_debug.h s390-vfio-ap: introduces s390 kernel debug feature for vfio_ap device driver 2022-02-06 23:31:29 +01:00
vfio_ap_drv.c s390/zcrypt: CEX8S exploitation support 2022-03-08 00:33:00 +01:00
vfio_ap_ops.c vfio/mdev: Pass in a struct vfio_device * to vfio_pin/unpin_pages() 2022-05-11 13:12:59 -06:00
vfio_ap_private.h s390/vfio-ap: s390/crypto: fix all kernel-doc warnings 2021-10-26 15:21:29 +02:00
zcrypt_api.c s390/zcrypt: Filter admin CPRBs on custom devices 2022-03-27 22:18:38 +02:00
zcrypt_api.h s390/ap/zcrypt: notify userspace with online, config and mode info 2021-06-16 23:46:18 +02:00
zcrypt_card.c s390/zcrypt: fix using the correct variable for sizeof() 2022-03-27 22:18:39 +02:00
zcrypt_cca_key.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_ccamisc.c s390/zcrypt: fix wrong offset index for APKA master key valid state 2021-08-18 10:01:28 +02:00
zcrypt_ccamisc.h s390/crypto: fix function/prototype mismatches 2021-06-07 17:06:58 +02:00
zcrypt_cex2a.c s390/zcrypt: remove incorrect kernel doc indicators 2021-09-08 14:23:31 +02:00
zcrypt_cex2a.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cex2c.c s390/zcrypt: remove incorrect kernel doc indicators 2021-09-08 14:23:31 +02:00
zcrypt_cex2c.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cex4.c s390/zcrypt: CEX8S exploitation support 2022-03-08 00:33:00 +01:00
zcrypt_cex4.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_debug.h s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_ep11misc.c s390: crypto: Use min_t() instead of doing it manually 2022-03-27 22:18:38 +02:00
zcrypt_ep11misc.h s390/pkey: support CCA and EP11 secure ECC private keys 2020-09-24 10:03:28 +02:00
zcrypt_error.h s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00
zcrypt_msgtype6.c s390/zcrypt: Provide target domain for EP11 cprbs to scheduling function 2022-03-08 00:33:00 +01:00
zcrypt_msgtype6.h s390/zcrypt: Provide target domain for EP11 cprbs to scheduling function 2022-03-08 00:33:00 +01:00
zcrypt_msgtype50.c s390/zcrypt: Support CPRB minor version T7 2022-03-08 00:33:00 +01:00
zcrypt_msgtype50.h s390/zcrypt: Support CPRB minor version T7 2022-03-08 00:33:00 +01:00
zcrypt_queue.c s390/zcrypt: rework of debug feature messages 2021-10-26 15:21:27 +02:00