linux/drivers/pci/controller
Simon Xue 13230c090c pcie-dma-trx: update to version 0x2
1. support buffer_size set by user
2. support assigned chn
3. support udma read
4. support buffer address set by userspace

Need to update test_pcie and test-pcie-ep-new.

New test command:

1. run ./test-pcie-ep-new 500 1024 chn_num buffer_address both on RC and EP first
   Release buffer use dma channel number = chn_num.

   if buffer_address = 0
	   pcie_dma_buffer_address get from DT reserved memory
   else
	   pcie_dma_buffer_address = buffer_address

2. run ./test-pcie 1 1000 1024 1 chn_num on RC
   The last "1" means enable PCIe udma read, "0" means write.
   RC read from EP use dma channel number = chn_num.

3. run ./test-pcie 2 1000 1024 1 chn_num on EP
   EP read from RC with offset = buffer count * buffer size.

4. check version by:
   cat /sys/kernel/debug/pcie/pcie_trx | grep version

5. 1024 means set buffer size to 1MB.

Change-Id: I7613037924659c75014d19b6c4845e096a56d295
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2021-11-13 16:14:34 +08:00
..
cadence PCI: cadence: Retrain Link to work around Gen2 training defect 2021-03-11 14:17:29 +01:00
dwc pcie-dma-trx: update to version 0x2 2021-11-13 16:14:34 +08:00
mobiveil PCI: mobiveil: Simplify mobiveil_pcie_init_irq_domain() return expression 2020-10-02 12:48:08 +01:00
Kconfig PCI: rockchip: Add support for PCIe dma transfer function 2021-06-07 17:41:54 +08:00
Makefile PCI: rockchip: support building pcie-rockchip-host to module 2021-07-13 20:25:19 +08:00
pci-aardvark.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pci-ftpci100.c PCI: Set bridge map_irq and swizzle_irq to default functions 2020-08-04 16:36:30 +01:00
pci-host-common.c PCI: Set bridge map_irq and swizzle_irq to default functions 2020-08-04 16:36:30 +01:00
pci-host-generic.c
pci-hyperv-intf.c
pci-hyperv.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pci-loongson.c PCI: loongson: Simplify loongson_pci_probe() return expression 2020-10-02 12:56:31 +01:00
pci-mvebu.c PCI: mvebu: Fix duplicate resource requests 2020-11-04 13:55:30 -06:00
pci-rcar-gen2.c PCI: rcar-gen2: Use fallthrough pseudo-keyword 2020-09-07 15:17:20 +01:00
pci-tegra.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pci-thunder-ecam.c PCI: thunder: Fix compile testing 2021-05-22 11:40:52 +02:00
pci-thunder-pem.c PCI: thunder: Fix compile testing 2021-05-22 11:40:52 +02:00
pci-v3-semi.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pci-versatile.c PCI: Set bridge map_irq and swizzle_irq to default functions 2020-08-04 16:36:30 +01:00
pci-xgene-msi.c PCI: xgene-msi: Fix race in installing chained irq handler 2021-03-17 17:06:24 +01:00
pci-xgene.c PCI: xgene: Fix cfg resource mapping 2021-05-14 09:49:57 +02:00
pcie-altera-msi.c Merge branch 'pci/irq-error' 2020-08-05 18:24:22 -05:00
pcie-altera.c Merge branch 'pci/irq-error' 2020-08-05 18:24:22 -05:00
pcie-brcmstb.c PCI: brcmstb: Initialize "tmp" before use 2020-12-30 11:53:18 +01:00
pcie-hisi-error.c PCI: hip: Add handling of HiSilicon HIP PCIe controller errors 2020-09-16 10:30:42 +01:00
pcie-iproc-bcma.c PCI: iproc: Use module_bcma_driver to simplify the code 2020-10-02 12:45:26 +01:00
pcie-iproc-msi.c PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() 2021-05-19 10:13:01 +02:00
pcie-iproc-platform.c PCI: iproc: Fix using plain integer as NULL pointer in iproc_pcie_pltfm_probe 2020-10-09 13:37:57 +01:00
pcie-iproc.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pcie-iproc.h PCI: iproc: Use pci_host_probe() to register host 2020-07-10 11:50:23 +01:00
pcie-mediatek.c PCI: mediatek: Add missing of_node_put() to fix reference leak 2021-03-17 17:06:24 +01:00
pcie-rcar-ep.c PCI: rcar: Add endpoint mode support 2020-05-22 12:35:32 +01:00
pcie-rcar-host.c PCI: rcar: Always allocate MSI addresses in 32bit space 2021-03-04 11:38:11 +01:00
pcie-rcar.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pcie-rcar.h PCI: rcar: Add endpoint mode support 2020-05-22 12:35:32 +01:00
pcie-rockchip-ep.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pcie-rockchip-host.c PCI: rockchip: rk: fix subsys_irq_handler logic 2021-08-06 11:31:28 +08:00
pcie-rockchip.c PCI: rockchip: support building pcie-rockchip-host to module 2021-07-13 20:25:19 +08:00
pcie-rockchip.h PCI: rockchip: rk: Add PCIe udma transfer support 2021-06-07 11:59:26 +08:00
pcie-tango.c PCI: Remove dev_err() when handing an error from platform_get_irq() 2020-08-03 09:26:03 -05:00
pcie-xilinx-cpm.c PCI: xilinx-cpm: Fix reference count leak on error path 2021-03-04 11:38:11 +01:00
pcie-xilinx-nwl.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pcie-xilinx.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
rockchip-pcie-dma.c pcie-dma-trx: update to version 0x2 2021-11-13 16:14:34 +08:00
rockchip-pcie-dma.h pcie-dma-trx: update to version 0x2 2021-11-13 16:14:34 +08:00
vmd.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00