Skip to content

Introduce device assignment flag operation helper function

Ethan Zhao kvm linux-pci lkml 7 versions – Applied

Status from this message: Applied to pci/virtualization for v3.18, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied
  2. v3 posting 4/40 of 4 patches 0 repliesSuperseded
  3. v3 posting 3/44 patches 6 repliesApplied
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 2/40 of 4 patches0 repliesSuperseded
v3 posting 1/44 patches9 repliesSuperseded
v22 of 4 patches0 repliesSuperseded
v14 patches16 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4PCI: introduce helper functions for device flag operationinclude/linux/pci.h+13 -00 replies
2/4KVM: use pci device flag operation helper functionsvirt/kvm/assigned-dev.c virt/kvm/iommu.c+3 -30 replies
3/4xen-pciback: use pci device flag operation helper functiondrivers/xen/xen-pciback/pci_stub.c+2 -20 replies
4/4PCI: use device flag operation helper function in iov.cdrivers/pci/iov.c+1 -10 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniDavid VrabelKonrad Rzeszutek Wilk
1/4
2/4A-b
3/4A-b R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/4 resend] Introduce device assignment flag operation helper function

This patch set introduces three PCI device flag operation helper functions when set pci device PF/VF to assigned or deassigned status also check it. and patch 2,3,4 apply these helper functions to KVM,XEN and PCI.

v2: simplify unnecessory ternary operation in function pci_is_dev_assigned().
v3: amend helper function naming.
v4: fix incorrect type in return expression warning found by Fengguang Wu.

Appreciate suggestion from
[email protected],
[email protected],
[email protected]

Resend for v3.18 building.

Thanks,
Ethan
---
Ethan Zhao (4):
PCI: introduce helper functions for device flag operation
KVM: use pci device flag operation helper functions
xen-pciback: use pci device flag operation helper function
PCI: use device flag operation helper function in iov.c

 drivers/pci/iov.c                  |    2 +-
 drivers/xen/xen-pciback/pci_stub.c |    4 ++--
 include/linux/pci.h                |   13 +++++++++++++
 virt/kvm/assigned-dev.c            |    2 +-
 virt/kvm/iommu.c                   |    4 ++--
 5 files changed, 19 insertions(+), 6 deletions(-)