On Fri, 24 Jul 2020 at 04:09, Stefan Roese <[email protected]> wrote: > > From: Suneel Garapati <[email protected]> > > Makes dm_pci_map_bar API available to map BAR for Virtual function > PCI devices which support Enhanced Allocation. > > Signed-off-by: Suneel Garapati <[email protected]> > Cc: Simon Glass <[email protected]> > Cc: Bin Meng <[email protected]> > > Signed-off-by: Stefan Roese <[email protected]> > --- > > 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

