Skip to content

virtio-mmio enhancement

Jing Liu kvm lkml qemu-devel virtio-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 3 repliesIn review

Changes in v2 from the cover letter

* Change version update to feature bit
* Add mask/unmask support
* Add two MSI sharing/non-sharing modes
* Change MSI registers layout and bits

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5virtio-mmio: Add feature bit for MMIO notificationcontent.tex+9 -00 replies
2/5virtio-mmio: Enhance queue notification supportcontent.tex+40 -130 replies
3/5virtio-mmio: Add feature bit for MMIO MSIcontent.tex+7 -00 replies
4/5virtio-mmio: Introduce MSI detailscontent.tex msi-state.c+159 -161 reply
5/5virtio-mmio: MSI vector and event mappingcontent.tex msi-state.c+49 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [virtio-dev] [PATCH v2 0/5] virtio-mmio enhancement

The current virtio over MMIO has some limitations that impact the performance. It only supports single legacy, dedicated interrupt and one virtqueue notification register for all virtqueues which cause performance penalties.

To address such limitations, we proposed to update virtio-mmio spec with two new feature bits to support MSI interrupt and enhancing notification mechanism.

For keeping virtio-mmio simple as it was, and considering practical usages, this provides two kinds of mapping mode for device: MSI non-sharing mode and MSI sharing mode. MSI non-sharng mode indicates a fixed static vector and event relationship specified in spec, which can simplify the setup process and reduce vmexit, fitting for a high interrupt rate request.
MSI sharing mode indicates a dynamic mapping, which is more like PCI does, fitting for a non-high interrupt rate request.

Change Log:
v1->v2:
* Change version update to feature bit
* Add mask/unmask support
* Add two MSI sharing/non-sharing modes
* Change MSI registers layout and bits

Jing Liu (5):
virtio-mmio: Add feature bit for MMIO notification
virtio-mmio: Enhance queue notification support
virtio-mmio: Add feature bit for MMIO MSI
virtio-mmio: Introduce MSI details
virtio-mmio: MSI vector and event mapping

 content.tex | 286 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 msi-state.c |   5 ++
 2 files changed, 262 insertions(+), 29 deletions(-)
 create mode 100644 msi-state.c
Signature · 1 line
2.7.4