On Mon, Jul 24, 2023 at 06:38:55PM +0530, Manivannan Sadhasivam wrote:Yes, tested this patch with PCIe devices having default 128 and RC is falling back to 128 when pci device is added.
On Mon, Jul 24, 2023 at 02:53:37PM +0200, Konrad Dybcio wrote:Wait, have you tested this patch with PCIe devices having MPS < 256 i.e.,
On 24.07.2023 14:47, Praveenkumar I wrote:Right, also this setting should not be PCI-PCI bridge specific but rather
Set 256 bytes as payload size for IPQ9574 via early fixup. This allows[...]
PCIe RC to use the max payload size when a capable link partner is
connected.
Signed-off-by: Praveenkumar I <quic_ipkumar@xxxxxxxxxxx>
---
+static void qcom_fixup_mps_256(struct pci_dev *dev)Looks like setting "dev->pcie_mpss = 1" here would make the PCIe generic
+{
+ pcie_set_mps(dev, 256);
code take care of this.
controller specific.
default 128?
Take a look at this discussion: https://lore.kernel.org/all/20230608093652.1409485-1-vidyas@xxxxxxxxxx/
- Mani
--- Mani
Konrad--
மணிவண்ணன் சதாசிவம்