lkml.org 
[lkml]   [2016]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectAbout configuring the PCIe device MPS
Date
Hi Bjorn,

Alex Barba (CCed in the email thread) from Broadcom discovered that PCIe
endpoint devices attached to our ARM64 based iProc platforms are not
configured to their optimal MPS size. Through some digging in the PCIe
stack of the kernel, I found that:

1. For ARM32 based PCIe core code, 'pcie_bus_configure_settings' is
called from 'pci_common_init_dev' before the devices are added to be bus

2. For ARM64 based PCIe core code, 'pcie_bus_configure_settings' is
called similarly in 'pci_acpi_scan_root' for ACPI based ARM64 platform

3. But for ARM64 platforms that have not yet supported ACPI, there does
not appear to be a common place for this configuration. Obviously, we
have the option of calling it in our iProc PCIe host driver (right
before devices are added to the bus). I'd like to check with you if
that's the expected way of handling it. We do see a couple PCIe host
drivers already handle it this way.

Thanks,

Ray

\
 
 \ /
  Last update: 2016-10-21 00:54    [W:1.635 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site