Skip to content

Commit d1a8baf

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 2210308 commit d1a8baf

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,19 @@ 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+
If the root complex is connected to an endpoint with virtual functions,
202+
and the kernel panics during enumeration, add 'pci=realloc' to bootargs
203+
at the U-Boot prompt using the following command:
204+
205+
::
206+
207+
#setenv optargs 'pci=realloc'
208+
209+
The 'pci=realloc' parameter instructs the Linux kernel to reallocate PCI
210+
bridge resources. This helps resolve resource conflicts during enumeration
211+
of PCIe devices by allowing the kernel to reassign memory and I/O addresses.
212+
200213
.. rubric:: **Testing Details**
201214
:name: testing-details
202215

0 commit comments

Comments
 (0)