qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] pcie: Fix ARI next function numbers
@ 2023-07-10  8:08 Akihiko Odaki
  2023-07-10  8:08 ` [PATCH v6 1/2] pcie: Use common ARI next function number Akihiko Odaki
  2023-07-10  8:08 ` [PATCH v6 2/2] pcie: Specify 0 for ARI next function numbers Akihiko Odaki
  0 siblings, 2 replies; 5+ messages in thread
From: Akihiko Odaki @ 2023-07-10  8:08 UTC (permalink / raw)
  Cc: qemu-devel, qemu-block, Igor Mammedov, Ani Sinha,
	Michael S . Tsirkin, Marcel Apfelbaum, Sriram Yagnaraman,
	Jason Wang, Keith Busch, Klaus Jensen, Akihiko Odaki

The ARI next function number field is undefined for VF. The PF should
end the linked list formed with the field by specifying 0.

Supersedes: <20230701070133.24877-1-akihiko.odaki@daynix.com>
("[PATCH 0/4] pci: Compare function number and ARI next function number")

V5 -> V6:
  Clarify that the requirement to end the linked list of Function numbers is
  not specific to SR-IOV. (Ani Sinha)

V4 -> V5:
  Added references to the specification. (Igor Mammedov)

V3 -> V4:
  Corrected the default value of x-pcie-ari-nextfn-1. (Igor Mammedov)
  Added an explanation for migration compatibility. (Igor Mammedov)

V2 -> V3:
  Moved the logic to PCI common infrastucture (Michael S. Tsirkin)

V1 -> V2:
  Fixed migration. (Michael S. Tsirkin)
  Added a caveat comment. (Michael S. Tsirkin)

Akihiko Odaki (2):
  pcie: Use common ARI next function number
  pcie: Specify 0 for ARI next function numbers

 docs/pcie_sriov.txt   | 4 ++--
 include/hw/pci/pci.h  | 2 ++
 include/hw/pci/pcie.h | 2 +-
 hw/core/machine.c     | 1 +
 hw/net/igb.c          | 2 +-
 hw/net/igbvf.c        | 2 +-
 hw/nvme/ctrl.c        | 2 +-
 hw/pci/pci.c          | 2 ++
 hw/pci/pcie.c         | 4 +++-
 9 files changed, 14 insertions(+), 7 deletions(-)

-- 
2.41.0



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

end of thread, other threads:[~2023-07-10 11:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10  8:08 [PATCH v6 0/2] pcie: Fix ARI next function numbers Akihiko Odaki
2023-07-10  8:08 ` [PATCH v6 1/2] pcie: Use common ARI next function number Akihiko Odaki
2023-07-10 10:55   ` Ani Sinha
2023-07-10  8:08 ` [PATCH v6 2/2] pcie: Specify 0 for ARI next function numbers Akihiko Odaki
2023-07-10 11:44   ` Ani Sinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).