linux/drivers/pci/endpoint
Kishon Vijay Abraham I 2499ee84e0 PCI: endpoint: Assign function number for each PF in EPC core
The PCIe endpoint core relies on the drivers that invoke the
pci_epc_add_epf() API to allocate and assign a function number
to each physical function (PF). Since endpoint function device can
be created by multiple mechanisms (configfs, devicetree, etc..),
allowing each of these mechanisms to assign a function number
would result in mutliple endpoint function devices having the
same function number. In order to avoid this, let EPC core assign
a function number to the endpoint device.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
2020-02-24 10:15:45 +00:00
..
functions PCI: endpoint: Use notification chain mechanism to notify EPC events to EPF 2020-02-24 10:07:06 +00:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c PCI: endpoint: Assign function number for each PF in EPC core 2020-02-24 10:15:45 +00:00
pci-epc-core.c PCI: endpoint: Assign function number for each PF in EPC core 2020-02-24 10:15:45 +00:00
pci-epc-mem.c PCI: endpoint: Fix for concurrent memory allocation in OB address region 2020-02-24 10:13:48 +00:00
pci-epf-core.c PCI: endpoint: Protect concurrent access to pci_epf_ops with mutex 2020-02-24 10:15:33 +00:00