linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Disable VF's memory space on updating IOV BARs
@ 2016-10-26  1:15 Gavin Shan
  2016-10-26  1:15 ` [PATCH v3 1/2] PCI: Call pcibios_sriov_enable() before IOV BARs are enabled Gavin Shan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gavin Shan @ 2016-10-26  1:15 UTC (permalink / raw)
  To: linux-pci; +Cc: linuxppc-dev, bhelgaas, benh, mpe, clsoto, Gavin Shan

This moves pcibios_sriov_enable() to the point before VF and VF BARs
are enabled on PowerNV platform. Also, pci_update_resource() is used
to update IOV BARs on PowerNV platform, the PF might have been functional
when the function is called. We shouldn't disable PF's memory decoding
at that point. Instead, the VF's memory space should be disabled.

Changelog
=========
v3:
  * Disable VF's memory space when IOV BARs are updated in
    pcibios_sriov_enable().
v2:
  * Added one patch calling pcibios_sriov_enable() before the VF
    and VF BARs are enabled.

Gavin Shan (2):
  PCI: Call pcibios_sriov_enable() before IOV BARs are enabled
  PCI: Disable VF's memory space on updating IOV BAR in
    pci_update_resource()

 drivers/pci/iov.c       | 14 +++++++-------
 drivers/pci/setup-res.c | 28 ++++++++++++++++++++--------
 2 files changed, 27 insertions(+), 15 deletions(-)

-- 
2.1.0

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

end of thread, other threads:[~2016-11-29  3:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-26  1:15 [PATCH v3 0/2] Disable VF's memory space on updating IOV BARs Gavin Shan
2016-10-26  1:15 ` [PATCH v3 1/2] PCI: Call pcibios_sriov_enable() before IOV BARs are enabled Gavin Shan
2016-10-26  1:15 ` [PATCH v3 2/2] PCI: Disable VF's memory space on updating IOV BAR in pci_update_resource() Gavin Shan
2016-11-23 23:49 ` [PATCH v3 0/2] Disable VF's memory space on updating IOV BARs Bjorn Helgaas
2016-11-29  3:48   ` Bjorn Helgaas

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