diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-24 18:07:02 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-08-25 21:38:26 +0300 |
commit | ba74b6f7fcc07355d087af6939712eed4a454821 (patch) | |
tree | 2bf5ad11505220311429dc6f0403d5765b3ff624 /arch/sh | |
parent | 1046d304900cf9d4b2c730c6860b8e03cc704377 (diff) |
virtio_pci: fix cpu affinity support
Commit 0b0f9dc5 ("Revert "virtio_pci: use shared interrupts for
virtqueues"") removed the adjustment of the pre_vectors for the virtio
MSI-X vector allocation which was added in commit fb5e31d9 ("virtio:
allow drivers to request IRQ affinity when creating VQs"). This will
lead to an incorrect assignment of MSI-X vectors, and potential
deadlocks when offlining cpus.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Fixes: 0b0f9dc5 ("Revert "virtio_pci: use shared interrupts for virtqueues")
Reported-by: YASUAKI ISHIMATSU <yasu.isimatu@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions