Skip to content

Commit 0b4e63c

Browse files
committed
fix(linux): Add PCIe resource reallocation note for VF enumeration
Add a note to the PCIe Root Complex documentation about using 'pci=realloc' bootargs parameter when the root complex is connected to an endpoint with Virtual Functions and kernel panics during enumeration. This parameter instructs the Linux kernel to reallocate PCI bridge resources, helping to resolve conflicts during PCIe device enumeration. Signed-off-by: Aksh Garg <a-garg7@ti.com>
1 parent e830154 commit 0b4e63c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

source/linux/Foundational_Components/Kernel/Kernel_Drivers/PCIe/PCIe_Root_Complex.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,20 @@ Following is a brief explanation of layers shown in the diagram:
197197
2. 1 MB IO region
198198
3. Remaining region (4 GB - 1 MB - 4 KB) as 32-bit Non-Prefetchable MEM
199199

200+
.. note::
201+
202+
If the root complex is connected to an endpoint with virtual functions,
203+
and the kernel panics during enumeration, add ``pci=realloc`` to ``optargs``
204+
at the U-Boot prompt using the following command:
205+
206+
.. code-block:: console
207+
208+
setenv optargs 'pci=realloc'
209+
210+
The ``pci=realloc`` parameter instructs the Linux kernel to reallocate PCI
211+
bridge resources. This helps resolve resource conflicts during enumeration
212+
of PCIe devices by allowing the kernel to reassign memory and I/O addresses.
213+
200214
.. rubric:: **Testing Details**
201215
:name: testing-details
202216

0 commit comments

Comments
 (0)