diff options
| author | Richard Zhu <r65037@freescale.com> | 2013-11-14 04:16:53 -0500 |
|---|---|---|
| committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:47:20 -0400 |
| commit | 5b4fca5d802a9b1eb85a9785c792f8b82fbb8784 (patch) | |
| tree | 887d5e8ffec28f2a0b61d30a70044c29f54bf9f9 /drivers/pci/host/Kconfig | |
| parent | b8f90b1f3f8e7a21ccbf2523f84c939ab523f3bd (diff) | |
ENGR00288407 pcie: add pcie ep rc validation system
HW setup:
* Two i.MX6Q SD boards, one is used as PCIe RC, the other
is used as PCIe EP. Connected by 2*mini_PCIe to standard_PCIe
adaptors, 2*PEX cable adaptors, One PCIe cable.
SW setup:
* When build RC image, make sure that
CONFIG_IMX_PCIE=y
# CONFIG_EP_MODE_IN_EP_RC_SYS is not set
# CONFIG_EP_SELF_IO_TEST is not set
CONFIG_RC_MODE_IN_EP_RC_SYS=y
* When build EP image,(enable if you want ep do self IO test):
CONFIG_EP_MODE_IN_EP_RC_SYS=y
CONFIG_EP_SELF_IO_TEST=y
# CONFIG_RC_MODE_IN_EP_RC_SYS is not set
Features:
* Set-up link between RC and EP by their stand-alone
125MHz running internally.
* In EP's system, EP can access the reserved ddr memory
(default address:0x40000000) of PCIe RC's system, by the
interconnection between PCIe EP and PCIe RC.
* add the configuration methods in the EP side, used to
configure the start address and the size of the reserved
RC's memory window.
- cat /sys/devices/soc0/soc.1/1ffc000.pcie/rc_memw_info
- echo 0x41000000 > /sys/devices/soc0/soc.1/1ffc000.pcie/rc_memw_start_set
- echo 0x800000 > /sys/devices/soc0/soc.1/1ffc000.pcie/rc_memw_size_set
* provide one example, howto configure the bar# and so on, when
* pcie ep emaluates one memory ram ep device
Throughput:
* To Be fine-tuned.
NOTE:
* boot up EP platform firstly, then boot up RC platform.
Signed-off-by: Richard Zhu <r65037@freescale.com>
Diffstat (limited to 'drivers/pci/host/Kconfig')
| -rw-r--r-- | drivers/pci/host/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index 94024195e66b..4e81a8d7eef5 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig | |||
| @@ -20,6 +20,18 @@ config PCI_IMX6 | |||
| 20 | select PCIEPORTBUS | 20 | select PCIEPORTBUS |
| 21 | select PCIE_DW | 21 | select PCIE_DW |
| 22 | 22 | ||
| 23 | config EP_MODE_IN_EP_RC_SYS | ||
| 24 | bool "PCI Express EP mode in the IMX6 RC/EP interconnection system" | ||
| 25 | depends on PCI_IMX6 | ||
| 26 | |||
| 27 | config EP_SELF_IO_TEST | ||
| 28 | bool "PCI Express EP_SELF_IO_TEST in EP mode" | ||
| 29 | depends on EP_MODE_IN_EP_RC_SYS | ||
| 30 | |||
| 31 | config RC_MODE_IN_EP_RC_SYS | ||
| 32 | bool "PCI Express RC mode in the IMX6 RC/EP interconnection system" | ||
| 33 | depends on PCI_IMX6 | ||
| 34 | |||
| 23 | config PCI_TEGRA | 35 | config PCI_TEGRA |
| 24 | bool "NVIDIA Tegra PCIe controller" | 36 | bool "NVIDIA Tegra PCIe controller" |
| 25 | depends on ARCH_TEGRA | 37 | depends on ARCH_TEGRA |
