[PATCH v2 2/3] drivers: pci: sandbox: Add stub sandbox PCI MPS support

2023-03-10 Thread stcarlso
From: Stephen Carlson Reports the sandbox swapcase PCI Express device to support a 256 byte Maximum Payload Size for MPS tuning tests. Signed-off-by: Stephen Carlson --- drivers/misc/swap_case.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/misc/swap_case.c b/drivers/misc/swap

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

2023-03-10 Thread stcarlso
From: Stephen Carlson 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 pc

[PATCH v2 3/3] test: Add test for new command pci_mps

2023-03-10 Thread stcarlso
From: Stephen Carlson Adds a test for the new pci_mps command to ensure that it can set the Maximum Payload Size (MPS) of all devices to 256 bytes in the sandbox environment. Enables the pci_mps command in the sandbox environment so that this test can be run. Signed-off-by: Stephen Carlson ---

[PATCH 3/3] test: Add test for new command pci_mps

2023-03-07 Thread stcarlso
From: Stephen Carlson Adds a test for the new pci_mps command to ensure that it can set the Maximum Payload Size (MPS) of all devices to 256 bytes in the sandbox environment. Enables the pci_mps command in the sandbox environment so that this test can be run. Signed-off-by: Stephen Carlson ---

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

2023-03-07 Thread stcarlso
From: Stephen Carlson 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 pc

[PATCH 0/3] Add command to set MPS of all PCI Express devices

2023-03-07 Thread stcarlso
From: Stephen Carlson This patch set adds support for configuring the Maximum Payload Size (MPS) for attached PCI Express devices. Modifying the MPS can increase PCI Express performance or ensure compatibility with hot-plugged devices. New config CONFIG_CMD_PCI_MPS. If enabled, a new "pci_mps" c

[PATCH 2/3] drivers: pci: sandbox: Add stub sandbox PCI MPS support

2023-03-07 Thread stcarlso
From: Stephen Carlson Reports the sandbox swapcase PCI Express device to support a 256 byte Maximum Payload Size for MPS tuning tests. Signed-off-by: Stephen Carlson --- drivers/misc/swap_case.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/misc/swap_case.c b/drivers/misc/swap

[PATCH] armv8/fsl-lsch3: Suppress spurious warning on Layerscape CPUs

2022-03-29 Thread stcarlso
From: Stephen Carlson NXP/Freescale Layerscape CPUs support high-speed serial interfaces (SERDES) that can be configured for the application. Interfaces not used by the application can be set to protocol 0 to turn them off and save power, but U-Boot would emit a warning that 0 was invalid for a S

[PATCH 1/2] drivers: mmc: Add wait_dat0 support for Freescale eSDHC driver

2021-08-17 Thread stcarlso
From: Stephen Carlson Adds an implementation of the wait_dat0 MMC operation for the Freescale eSHDC driver, allowing the driver to continue when the card is ready rather than waiting for the worst case time on each MMC switch operation. Signed-off-by: Stephen Carlson --- drivers/mmc/fsl_esdhc.

[PATCH 0/2] drivers: mmc: Add wait_dat0 support for more devices

2021-08-17 Thread stcarlso
From: Stephen Carlson This patch adds eMMC driver support for polling the DAT0 data connection on the Freescale LX devices and SDHCI compatible devices. Polling until the card reports it is no longer busy increases eMMC driver performance over the default behavior, which is to wait for the worst

[PATCH 2/2] drivers: mmc: Add wait_dat0 support for sdhci driver

2021-08-17 Thread stcarlso
From: Stephen Carlson Adds an implementation of the wait_dat0 MMC operation for the DM SDHCI driver, allowing the driver to continue when the card is ready rather than waiting for the worst case time on each MMC switch operation. Signed-off-by: Stephen Carlson --- drivers/mmc/sdhci.c | 20