Skip to contentSkip to conversation

cmd: pci: Add command to set MPS of all PCIe devices

PATCH Stephen Carlson 1 participant 1 message Apr 3, 2023

lore
Share & tools
lore
#0 lore raw

Thank you Tom!

Stephen Carlson

-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Friday, March 31, 2023 7:17 AM
To: [email protected]
Cc: [email protected]
Subject: [EXTERNAL] Re: [PATCH v2 1/3] cmd: pci: Add command to set MPS of all PCIe devices

Quoted 5 lines · On Fri, Mar 10, 2023 at 11:07:13AM -0800, [email protected] wrote:

From: Stephen Carlson <[email protected]>

Enable tuning of the PCI Express MPS (Maximum Payload Size) of each device. The Maximum Read Request Size is not altered.

Quoted 7 lines

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.

Quoted 2 lines

Applied to u-boot/next, thanks!

--
Tom