Home
last modified time | relevance | path

Searched hist:"5 c34d002dcc7a6dd665a19d098b4f4cd5501ba1a" (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/virtio/
H A Dvirtio_pci_legacy.cdiff 0a9b3f47da5b8a2c4bf4f2f2199761f49ac0a54e Tue Apr 04 20:44:44 CEST 2017 Michael S. Tsirkin <mst@redhat.com> Revert "virtio_pci: remove struct virtio_pci_vq_info"

This reverts commit 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a.

Conflicts:
drivers/virtio/virtio_pci_common.c

The cleanup seems to be one of the changes that broke
hybernation for some users. We are still not sure why
but revert helps.

This reverts the cleanup changes but keeps the affinity support.

Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
diff 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a Sun Feb 05 18:15:18 CET 2017 Christoph Hellwig <hch@lst.de> virtio_pci: remove struct virtio_pci_vq_info

We don't really need struct virtio_pci_vq_info, as most field in there
are redundant:

- the vq backpointer is not strictly neede to start with
- the entry in the vqs list is not needed - the generic virtqueue already
has list, we only need to check if it has a callback to get the same
semantics
- we can use a simple array to look up the MSI-X vec if needed.
- That simple array now also duoble serves to replace the per_vq_vectors
flag

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
H A Dvirtio_pci_common.hdiff 0a9b3f47da5b8a2c4bf4f2f2199761f49ac0a54e Tue Apr 04 20:44:44 CEST 2017 Michael S. Tsirkin <mst@redhat.com> Revert "virtio_pci: remove struct virtio_pci_vq_info"

This reverts commit 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a.

Conflicts:
drivers/virtio/virtio_pci_common.c

The cleanup seems to be one of the changes that broke
hybernation for some users. We are still not sure why
but revert helps.

This reverts the cleanup changes but keeps the affinity support.

Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
diff 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a Sun Feb 05 18:15:18 CET 2017 Christoph Hellwig <hch@lst.de> virtio_pci: remove struct virtio_pci_vq_info

We don't really need struct virtio_pci_vq_info, as most field in there
are redundant:

- the vq backpointer is not strictly neede to start with
- the entry in the vqs list is not needed - the generic virtqueue already
has list, we only need to check if it has a callback to get the same
semantics
- we can use a simple array to look up the MSI-X vec if needed.
- That simple array now also duoble serves to replace the per_vq_vectors
flag

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
H A Dvirtio_pci_modern.cdiff 0a9b3f47da5b8a2c4bf4f2f2199761f49ac0a54e Tue Apr 04 20:44:44 CEST 2017 Michael S. Tsirkin <mst@redhat.com> Revert "virtio_pci: remove struct virtio_pci_vq_info"

This reverts commit 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a.

Conflicts:
drivers/virtio/virtio_pci_common.c

The cleanup seems to be one of the changes that broke
hybernation for some users. We are still not sure why
but revert helps.

This reverts the cleanup changes but keeps the affinity support.

Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
diff 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a Sun Feb 05 18:15:18 CET 2017 Christoph Hellwig <hch@lst.de> virtio_pci: remove struct virtio_pci_vq_info

We don't really need struct virtio_pci_vq_info, as most field in there
are redundant:

- the vq backpointer is not strictly neede to start with
- the entry in the vqs list is not needed - the generic virtqueue already
has list, we only need to check if it has a callback to get the same
semantics
- we can use a simple array to look up the MSI-X vec if needed.
- That simple array now also duoble serves to replace the per_vq_vectors
flag

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
H A Dvirtio_pci_common.cdiff 0a9b3f47da5b8a2c4bf4f2f2199761f49ac0a54e Tue Apr 04 20:44:44 CEST 2017 Michael S. Tsirkin <mst@redhat.com> Revert "virtio_pci: remove struct virtio_pci_vq_info"

This reverts commit 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a.

Conflicts:
drivers/virtio/virtio_pci_common.c

The cleanup seems to be one of the changes that broke
hybernation for some users. We are still not sure why
but revert helps.

This reverts the cleanup changes but keeps the affinity support.

Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
diff 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a Sun Feb 05 18:15:18 CET 2017 Christoph Hellwig <hch@lst.de> virtio_pci: remove struct virtio_pci_vq_info

We don't really need struct virtio_pci_vq_info, as most field in there
are redundant:

- the vq backpointer is not strictly neede to start with
- the entry in the vqs list is not needed - the generic virtqueue already
has list, we only need to check if it has a callback to get the same
semantics
- we can use a simple array to look up the MSI-X vec if needed.
- That simple array now also duoble serves to replace the per_vq_vectors
flag

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>