[PATCH v1 08/24] pci: pci-uclass: Add support for Single-Root I/O Virtualization

Simon Glass sjg at chromium.org
Tue Jul 28 21:01:35 CEST 2020


Hi Stefan,

On Fri, 24 Jul 2020 at 04:09, Stefan Roese <sr at denx.de> wrote:
>
> From: Suneel Garapati <sgarapati at 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 <sgarapati at marvell.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
>
> Signed-off-by: Stefan Roese <sr at 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


More information about the U-Boot mailing list