summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.ibm.com>2024-02-15 18:31:44 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-03-07 16:41:14 +0300
commita681226c675cf4ff4f1ece8f44a7f698c4a6ca6a (patch)
treee4d03e2c3015400dffdcf41bbab95a6c2f163d9f /scripts
parente22033fddd453a81185557fb77568651819bc8f1 (diff)
downloadlinux-a681226c675cf4ff4f1ece8f44a7f698c4a6ca6a.tar.xz
s390/vfio-ap: handle hardware checkstop state on queue reset operation
Update vfio_ap_mdev_reset_queue() to handle an unexpected checkstop (hardware error) the same as the deconfigured case. This prevents unexpected and unhelpful warnings in the event of a hardware error. We also stop lying about a queue's reset response code. This was originally done so we could force vfio_ap_mdev_filter_matrix to pass a deconfigured device through to the guest for the hotplug scenario. vfio_ap_mdev_filter_matrix is instead modified to allow passthrough for all queues with reset state normal, deconfigured, or checkstopped. In the checkstopped case we choose to pass the device through and let the error state be reflected at the guest level. Signed-off-by: "Jason J. Herne" <jjherne@linux.ibm.com> Reviewed-by: Anthony Krowiak <akrowiak@linux.ibm.com> Link: https://lore.kernel.org/r/20240215153144.14747-1-jjherne@linux.ibm.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions