[PATCH v2 1/3] cmd: pci: Add command to set MPS of all PCIe devices
Tom Rini
trini at konsulko.com
Fri Mar 31 16:16:41 CEST 2023
On Fri, Mar 10, 2023 at 11:07:13AM -0800, stcarlso at linux.microsoft.com wrote:
> From: Stephen Carlson <stcarlso at linux.microsoft.com>
>
> Enable tuning of the PCI Express MPS (Maximum Payload Size) of
> each device. The Maximum Read Request Size is not altered.
>
> The SAFE method uses the largest MPS value supported by all devices in the
> system for each device. This method is the same algorithm as used by Linux
> pci=pcie_bus_safe.
>
> The PEER2PEER method sets all devices to the minimal (128 byte) MPS, which
> allows hot plug of devices later that might only support the minimum size,
> and ensures compatibility of DMA between two devices on the bus.
>
> Signed-off-by: Stephen Carlson <stcarlso at linux.microsoft.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230331/4b12fa54/attachment.sig>
More information about the U-Boot
mailing list