[PATCH v2 1/3] cmd: pci: Add command to set MPS of all PCIe devices

Stephen Carlson stcarlso at linux.microsoft.com
Mon Apr 3 18:52:35 CEST 2023


Thank you Tom!

Stephen Carlson

-----Original Message-----
From: Tom Rini <trini at konsulko.com>
Sent: Friday, March 31, 2023 7:17 AM
To: stcarlso at linux.microsoft.com
Cc: u-boot at lists.denx.de
Subject: [EXTERNAL] Re: [PATCH v2 1/3] cmd: pci: Add command to set MPS of 
all PCIe devices

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


More information about the U-Boot mailing list