MSI-X mask support for assigned device
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest7 patches 14 repliesIn review
- v35 patches 22 repliesSuperseded
- v28 patches 55 repliesSuperseded
Changes in v4 from the cover letter
1. Re-design the userspace API.
2. Add big-endian support for msix_mmio_read/write()(untested!)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | PCI: MSI: Move MSI-X entry definition to pci_regs.hdrivers/ include/ | +7 | 0 replies | |
| 2/7 | PCI: Add mask bit definition for MSI-X tabledrivers/ include/ | +4 | 2 replies | |
| 3/7 | KVM: Move struct kvm_io_device to kvm_host.hinclude/ virt/ | +24 | 0 replies | |
| 4/7 | KVM: Add kvm_get_irq_routing_entry() funcinclude/ virt/ | +22 | 0 replies | |
| 5/7 | KVM: assigned dev: Clean up assigned_device's flaginclude/ virt/ | +5 | 0 replies | |
| 6/7 | KVM: assigned dev: MSI-X mask supportarch/ include/ include/ +1 more | +353 | 10 replies | |
| 7/7 | KVM: assigned dev: Big endian support for MSI-X MMIOvirt/ | +4 | 2 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Hidetoshi Seto | Matthew Wilcox |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | |
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7 v4] MSI-X mask support for assigned device
Change from v3:
1. Re-design the userspace API.
2. Add big-endian support for msix_mmio_read/write()(untested!)
Change from v2:
1. Move all mask handling to kernel, and userspace has to access it using API.
2. Discard userspace mask bit operation API.
Sheng Yang (7):
PCI: MSI: Move MSI-X entry definition to pci_regs.h
PCI: Add mask bit definition for MSI-X table
KVM: Move struct kvm_io_device to kvm_host.h
KVM: Add kvm_get_irq_routing_entry() func
KVM: assigned dev: Clean up assigned_device's flag
KVM: assigned dev: MSI-X mask support
KVM: assigned dev: Big endian support for MSI-X MMIO
arch/x86/kvm/x86.c | 1 + drivers/pci/msi.c | 5 +- drivers/pci/msi.h | 6 - include/linux/kvm.h | 32 +++++ include/linux/kvm_host.h | 31 +++++ include/linux/pci_regs.h | 8 + virt/kvm/assigned-dev.c | 324 +++++++++++++++++++++++++++++++++++++++++++++- virt/kvm/iodev.h | 25 +---- virt/kvm/irq_comm.c | 20 +++ 9 files changed, 416 insertions(+), 36 deletions(-)