aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorTony Krowiak <akrowiak@linux.ibm.com>2020-12-14 21:14:54 -0500
committerAlexander Gordeev <agordeev@linux.ibm.com>2022-07-19 16:18:09 +0200
commite2126a73746ec6d5f519edf5bf33d76347a51ee9 (patch)
tree311cfd66f24cbefa7222af0a7610a89cbe2dd7ad /usr
parents390/vfio-ap: refresh guest's APCB by filtering AP resources assigned to mdev (diff)
downloadlinux-dev-e2126a73746ec6d5f519edf5bf33d76347a51ee9.tar.xz
linux-dev-e2126a73746ec6d5f519edf5bf33d76347a51ee9.zip
s390/vfio-ap: allow assignment of unavailable AP queues to mdev device
The current implementation does not allow assignment of an AP adapter or domain to an mdev device if each APQN resulting from the assignment does not reference an AP queue device that is bound to the vfio_ap device driver. This patch allows assignment of AP resources to the matrix mdev as long as the APQNs resulting from the assignment: 1. Are not reserved by the AP BUS for use by the zcrypt device drivers. 2. Are not assigned to another matrix mdev. The rationale behind this is that the AP architecture does not preclude assignment of APQNs to an AP configuration profile that are not available to the system. Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions