Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese <s...@denx.de> wrote: > > From: Suneel Garapati <sgarap...@marvell.com> > > SR-IOV - Single Root I/O Virtualization > PF - Physical Function VF - Virtual Function > > If SR-IOV capability is present, use it to initialize Virtual Function > PCI device instances. pci_sriov_init function will read SR-IOV > registers to create VF devices under the PF PCI device and also bind > driver if available. This function needs to be invoked from Physical > function device driver which expects VF device support, creating > minimal impact on existing framework. > > Signed-off-by: Suneel Garapati <sgarap...@marvell.com> > Cc: Simon Glass <s...@chromium.org> > Cc: Bin Meng <bmeng...@gmail.com> > > Signed-off-by: Stefan Roese <s...@denx.de> > --- > > Changes in v1: > - Change patch subject > - Enhance commit text: expanded the abbreviations > - Changed some printf() to debug() > - Changed 0 to '\0' in memset() > - Comments for variables in struct pci_child_platdata added > - Comments for newly introduced functions added in prototype / header > > drivers/pci/Kconfig | 10 ++++ > drivers/pci/pci-uclass.c | 114 +++++++++++++++++++++++++++++++++++++++ > include/pci.h | 38 +++++++++++++ > 3 files changed, 162 insertions(+)
This looks OK but all of these patches need updates to the sandbox tests to cover the new functionality. Regards, SImon