From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 28 Jul 2020 13:01:38 -0600 Subject: [PATCH v1 09/24] pci: pci-uclass: Add VF BAR map support for Enhanced Allocation In-Reply-To: <20200724100856.1482324-10-sr@denx.de> References: <20200724100856.1482324-1-sr@denx.de> <20200724100856.1482324-10-sr@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: > > From: Suneel Garapati > > Makes dm_pci_map_bar API available to map BAR for Virtual function > PCI devices which support Enhanced Allocation. > > Signed-off-by: Suneel Garapati > Cc: Simon Glass > Cc: Bin Meng > > Signed-off-by: Stefan Roese > --- > > 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