summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTony Krowiak <akrowiak@linux.ibm.com>2020-12-23 04:15:53 +0300
committerVasily Gorbik <gor@linux.ibm.com>2021-01-27 15:00:04 +0300
commit6c12a6384e0c0b96debd88b24028e58f2ebd417b (patch)
tree504731c5481ac406b4b3f2bc7f4702eac1e34a71 /net
parentf21916ec4826766463fe9fb55a5f43d2a365811d (diff)
downloadlinux-6c12a6384e0c0b96debd88b24028e58f2ebd417b.tar.xz
s390/vfio-ap: No need to disable IRQ after queue reset
The queues assigned to a matrix mediated device are currently reset when: * The VFIO_DEVICE_RESET ioctl is invoked * The mdev fd is closed by userspace (QEMU) * The mdev is removed from sysfs. Immediately after the reset of a queue, a call is made to disable interrupts for the queue. This is entirely unnecessary because the reset of a queue disables interrupts, so this will be removed. Furthermore, vfio_ap_irq_disable() does an unconditional PQAP/AQIC which can result in a specification exception (when the corresponding facility is not available), so this is actually a bugfix. Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com> [pasic@linux.ibm.com: minor rework before merging] Signed-off-by: Halil Pasic <pasic@linux.ibm.com> Fixes: ec89b55e3bce ("s390: ap: implement PAPQ AQIC interception in kernel") Cc: <stable@vger.kernel.org> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions