linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Various of SR-IOV fixes and cleanup
@ 2015-10-27 20:52 Alexander Duyck
  2015-10-27 20:52 ` [PATCH 1/5] iov: Update virtfn_max_buses to validate offset and stride Alexander Duyck
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Alexander Duyck @ 2015-10-27 20:52 UTC (permalink / raw)
  To: bhelgaas; +Cc: linux-pci, linux-kernel

This patch set is meant to address several issues found in recent patches
currently in the pci/virtualization branch.

The first two patches address possible issues in initialization.
Specifically the fact that offset and stride cannot be read while numvfs is
0, and that the BARs need to be reset if totalVFs has increased because the
BIOS likely allocated the given resources under the assumption of a smaller
number of VFs being available.

The last 3 address a number of issues in sriov_enable.  They started as
just a patch to address the offset and stride issues, however there were
some other issues found related to pcibios_enable_sriov that I decided to
address as well, and then there was some minor cleanup in addition to all
of that.

---

Alexander Duyck (5):
      iov: Update virtfn_max_buses to validate offset and stride
      iov: Reset resources to 0 if totalVFs increases after enabling ARI
      iov: Fix sriov_enable exception handling path
      iov: Variable and loop cleanup for sriov_disable and sriov_enable
      iov: Update sriov_enable to correctly handle offset and stride


 drivers/pci/iov.c |  123 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 65 insertions(+), 58 deletions(-)

--

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

end of thread, other threads:[~2015-10-29 23:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-27 20:52 [PATCH 0/5] Various of SR-IOV fixes and cleanup Alexander Duyck
2015-10-27 20:52 ` [PATCH 1/5] iov: Update virtfn_max_buses to validate offset and stride Alexander Duyck
2015-10-28 16:32   ` Bjorn Helgaas
2015-10-28 17:57     ` Alexander Duyck
2015-10-28 18:43     ` Bjorn Helgaas
2015-10-28 21:46       ` Alexander Duyck
2015-10-29 19:50         ` Bjorn Helgaas
2015-10-27 20:52 ` [PATCH 2/5] iov: Reset resources to 0 if totalVFs increases after enabling ARI Alexander Duyck
2015-10-28 16:37   ` Bjorn Helgaas
2015-10-28 18:32     ` Alexander Duyck
2015-10-28 19:52       ` Bjorn Helgaas
2015-10-28 21:37         ` Alexander Duyck
2015-10-27 20:52 ` [PATCH 3/5] iov: Fix sriov_enable exception handling path Alexander Duyck
2015-10-29 16:32   ` Bjorn Helgaas
2015-10-29 16:54     ` Alex Duyck
2015-10-29 20:41       ` Bjorn Helgaas
2015-10-27 20:52 ` [PATCH 4/5] iov: Variable and loop cleanup for sriov_disable and sriov_enable Alexander Duyck
2015-10-29 21:43   ` Bjorn Helgaas
2015-10-29 23:19     ` Alexander Duyck
2015-10-27 20:52 ` [PATCH 5/5] iov: Update sriov_enable to correctly handle offset and stride Alexander Duyck

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