summaryrefslogtreecommitdiff
path: root/drivers/firmware/stratix10-rsu.c
diff options
context:
space:
mode:
authorTony Krowiak <akrowiak@linux.ibm.com>2023-08-15 14:43:28 -0400
committerHeiko Carstens <hca@linux.ibm.com>2023-08-18 15:09:29 +0200
commit9261f0438835a97254590046e1be83733cca440f (patch)
tree2a004e88c6097a11ad22343fa90eedda9bc2555a /drivers/firmware/stratix10-rsu.c
parent62aab082e9993163731656ce270cd3c1d29079af (diff)
s390/vfio-ap: use work struct to verify queue reset
Instead of waiting to verify that a queue is reset in the vfio_ap_mdev_reset_queue function, let's use a wait queue to check the the state of the reset. This way, when resetting all of the queues assigned to a matrix mdev, we don't have to wait for each queue to be reset before initiating a reset on the next queue to be reset. Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com> Suggested-by: Halil Pasic <pasic@linux.ibm.com> Acked-by: Janosch Frank <frankja@linux.ibm.com> Tested-by: Viktor Mihajlovski <mihajlov@linux.ibm.com> Link: https://lore.kernel.org/r/20230815184333.6554-8-akrowiak@linux.ibm.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/firmware/stratix10-rsu.c')
0 files changed, 0 insertions, 0 deletions