[PATCH v1 09/24] pci: pci-uclass: Add VF BAR map support for Enhanced Allocation

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


On Fri, 24 Jul 2020 at 04:09, Stefan Roese <sr at denx.de> wrote:
>
> From: Suneel Garapati <sgarapati at marvell.com>
>
> Makes dm_pci_map_bar API available to map BAR for Virtual function
> PCI devices which support Enhanced Allocation.
>
> 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
> - Fixed multi-line comment style
> - Moved "feature" into new function which is only called, when
>   CONFIG_PCI_SRIOV is enabled, so that the code is not increased in
>   all cases
> - Changed variable declaration to use reverse xmas tree order
>
>  drivers/pci/pci-uclass.c | 67 +++++++++++++++++++++++++++++++++++++---
>  include/pci.h            |  3 ++
>  2 files changed, 65 insertions(+), 5 deletions(-)

Again this needs a test...


- Simon


More information about the U-Boot mailing list