qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] pcie: Fix ARI next function numbers
@ 2023-07-04 12:22 Akihiko Odaki
  2023-07-04 12:22 ` [PATCH v4 1/2] pcie: Use common ARI next function number Akihiko Odaki
  2023-07-04 12:22 ` [PATCH v4 2/2] pcie: Specify 0 for ARI next function numbers Akihiko Odaki
  0 siblings, 2 replies; 4+ messages in thread
From: Akihiko Odaki @ 2023-07-04 12:22 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")

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] 4+ messages in thread

end of thread, other threads:[~2023-07-04 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 12:22 [PATCH v4 0/2] pcie: Fix ARI next function numbers Akihiko Odaki
2023-07-04 12:22 ` [PATCH v4 1/2] pcie: Use common ARI next function number Akihiko Odaki
2023-07-04 12:22 ` [PATCH v4 2/2] pcie: Specify 0 for ARI next function numbers Akihiko Odaki
2023-07-04 14:20   ` Igor Mammedov

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).