Introduce device assignment flag operation helper function
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
- v4 Latest4 patches 1 replyApplied
- v3 posting 4/40 of 4 patches 0 repliesSuperseded
- v3 posting 3/44 patches 6 repliesApplied
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 2/4 | 0 of 4 patches | 0 replies | Superseded | |
| v3 posting 1/4 | 4 patches | 9 replies | Superseded | |
| v2 | 2 of 4 patches | 0 replies | Superseded | |
| v1 | 4 patches | 16 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PCI: introduce helper functions for device flag operationinclude/ | +13 | 0 replies | |
| 2/4 | KVM: use pci device flag operation helper functionsvirt/ virt/ | +3 | 0 replies | |
| 3/4 | xen-pciback: use pci device flag operation helper functiondrivers/ | +2 | 0 replies | |
| 4/4 | PCI: use device flag operation helper function in iov.cdrivers/ | +1 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | David Vrabel | Konrad Rzeszutek Wilk |
|---|---|---|---|
| 1/4 | |||
| 2/4 | A-b | ||
| 3/4 | A-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.
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(-)