aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
authorRichard Zhu <[email protected]>2024-07-29 20:18:09 +0000
committerKrzysztof Wilczyński <[email protected]>2024-09-09 14:08:15 +0000
commit5cb3aa92c7cf182940ae575c3f450d3708af087c (patch)
tree0b7d346a3872340888fe963c094b6478ff63aec7 /drivers/pci/controller/dwc/pci-layerscape.c
parentPCI: imx6: Fix establish link failure in EP mode for i.MX8MM and i.MX8MP (diff)
downloadkernel-5cb3aa92c7cf182940ae575c3f450d3708af087c.tar.gz
kernel-5cb3aa92c7cf182940ae575c3f450d3708af087c.zip
PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI
Correct occasional MSI triggering failures in i.MX8MP PCIe EP by applying the correct hardware outbound alignment requirement. The i.MX platform has a restriction about outbound address translation. The pci-epc-mem uses page_size to manage it. Set the correct page_size for i.MX platform to meet the hardware requirement, which is the same as inbound address alignment. Thus, align it with epc_features::align. Fixes: 1bd0d43dcf3b ("PCI: imx6: Clean up addr_space retrieval code") Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Richard Zhu <[email protected]> Signed-off-by: Frank Li <[email protected]> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Acked-by: Jason Liu <[email protected]> Cc: <[email protected]> # 6.9+
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions