[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] pci: Compare function number and ARI next function number
From: |
Akihiko Odaki |
Subject: |
[PATCH 0/4] pci: Compare function number and ARI next function number |
Date: |
Sat, 1 Jul 2023 16:01:18 +0900 |
The function number must be lower than the next function number
advertised with ARI. Add a check to enforce this.
I suggested this change at:
https://lore.kernel.org/qemu-devel/bf351f8b-1c8a-8a7a-7f44-17c9ba18f179@daynix.com/
Implementing this change, I found the devices implementing ARI do not set the
correct next function numbers, which is also fixed in this series.
Akihiko Odaki (4):
docs: Fix next function numbers in SR/IOV documentation
hw/nvme: Fix ARI next function numbers
igb: Fix ARI next function numbers
pci: Compare function number and ARI next function number
docs/pcie_sriov.txt | 5 +++--
hw/net/igb_core.h | 3 +++
hw/net/igb.c | 4 +---
hw/net/igbvf.c | 5 ++++-
hw/nvme/ctrl.c | 7 ++++++-
hw/pci/pci.c | 15 +++++++++++++++
6 files changed, 32 insertions(+), 7 deletions(-)
--
2.41.0