All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Introduce device assignment flag operation helper function
@ 2014-07-22 16:19 Ethan Zhao
  2014-07-22 16:19 ` [PATCH 1/4] PCI: introduce helper functions for device flag operation Ethan Zhao
                   ` (7 more replies)
  0 siblings, 8 replies; 27+ messages in thread
From: Ethan Zhao @ 2014-07-22 16:19 UTC (permalink / raw)
  To: bhelgaas, linux-pci, linux-kernel, gleb, pbonzini, kvm,
	konrad.wilk, boris.ostrovsky, david.vrabel, xen-devel
  Cc: alex.williamson, alexander.h.duyck, ethan.kernel

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.

Much thanks to suggestion from
alex.williamson@redhat.com,
david.vrabel@citrix.com,
alexander.h.duyck@intel.com


BR,
Ethan


^ permalink raw reply	[flat|nested] 27+ messages in thread
* [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function
@ 2014-08-08  5:36 Ethan Zhao
  2014-08-08  5:36 ` [PATCH 1/4] PCI: introduce helper functions for device flag operation Ethan Zhao
  2014-08-08  5:36 ` Ethan Zhao
  0 siblings, 2 replies; 27+ messages in thread
From: Ethan Zhao @ 2014-08-08  5:36 UTC (permalink / raw)
  To: bhelgaas, linux-pci, linux-kernel, gleb, pbonzini, kvm,
	konrad.wilk, boris.ostrovsky, david.vrabel, xen-devel
  Cc: alex.williamson, alexander.h.duyck, ethan.kernel

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.

Appreciate suggestion from
alex.williamson@redhat.com,
david.vrabel@citrix.com,
alexander.h.duyck@intel.com

Resend for v3.16 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(-)


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2014-08-08  5:37 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 16:19 [PATCH 0/4] Introduce device assignment flag operation helper function Ethan Zhao
2014-07-22 16:19 ` [PATCH 1/4] PCI: introduce helper functions for device flag operation Ethan Zhao
2014-07-22 16:19 ` Ethan Zhao
2014-07-28 21:00   ` Alex Williamson
2014-07-28 21:00   ` Alex Williamson
2014-07-29  1:53     ` ethan zhao
2014-07-29  1:53     ` ethan zhao
2014-07-29  2:31       ` Alex Williamson
2014-07-29  2:43         ` ethan zhao
2014-07-29  2:43         ` ethan zhao
2014-07-29  3:37           ` Alexander Duyck
2014-07-29  3:37           ` Alexander Duyck
2014-07-29  3:47             ` Ethan Zhao
2014-07-29  3:47             ` Ethan Zhao
2014-07-29  2:31       ` Alex Williamson
2014-07-22 16:19 ` [PATCH 2/4] KVM: use pci device flag operation helper functions Ethan Zhao
2014-07-22 16:19 ` Ethan Zhao
2014-07-24 11:09   ` Paolo Bonzini
2014-07-24 11:09   ` Paolo Bonzini
2014-07-22 16:19 ` [PATCH 3/4] xen-pciback: use pci device flag operation helper function Ethan Zhao
2014-07-22 17:34   ` Konrad Rzeszutek Wilk
2014-07-22 17:34   ` Konrad Rzeszutek Wilk
2014-07-22 16:19 ` Ethan Zhao
2014-07-22 16:19 ` [PATCH 4/4] PCI: use device flag operation helper function in iov.c Ethan Zhao
2014-07-22 16:19 ` Ethan Zhao
2014-08-08  5:36 [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function Ethan Zhao
2014-08-08  5:36 ` [PATCH 1/4] PCI: introduce helper functions for device flag operation Ethan Zhao
2014-08-08  5:36 ` Ethan Zhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.