diff options
author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2020-09-10 12:42:19 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-10-23 16:52:09 +0530 |
commit | 2a5bbb13cc39102a68fcc31056925427ab44b591 (patch) | |
tree | 92058ae49ee90cf24dd555bc0d059a452eca1cce /cmd | |
parent | 284d062ef1edda752eadd5aa8cb1df37c76dd272 (diff) | |
download | u-boot-2a5bbb13cc39102a68fcc31056925427ab44b591.tar.gz |
pci: layerscape: add a way of specifying additional iommu mappings
In the current implementation, u-boot creates iommu mappings only
for PCI devices enumarated at boot time thus does not take into
account more dynamic scenarios such as SR-IOV or PCI hot-plug.
Add an u-boot env var and a device tree property (to be used for
example in more static scenarios such as hardwired PCI endpoints
that get initialized later in the system setup) that would allow
two things:
- for a SRIOV capable PCI EP identified by its B.D.F specify
the maximum number of VFs that will ever be created for it
- for hot-plug case, specify the B.D.F with which the device
will show up on the PCI bus
More details can be found in the included documentation:
arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions