pci-ntb.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. SPDX-License-Identifier: GPL-2.0
  2. ==========================
  3. PCI NTB Endpoint Function
  4. ==========================
  5. 1) Create a subdirectory to pci_epf_ntb directory in configfs.
  6. Standard EPF Configurable Fields:
  7. ================ ===========================================================
  8. vendorid should be 0x104c
  9. deviceid should be 0xb00d for TI's J721E SoC
  10. revid don't care
  11. progif_code don't care
  12. subclass_code should be 0x00
  13. baseclass_code should be 0x5
  14. cache_line_size don't care
  15. subsys_vendor_id don't care
  16. subsys_id don't care
  17. interrupt_pin don't care
  18. msi_interrupts don't care
  19. msix_interrupts don't care
  20. ================ ===========================================================
  21. 2) Create a subdirectory to directory created in 1
  22. NTB EPF specific configurable fields:
  23. ================ ===========================================================
  24. db_count Number of doorbells; default = 4
  25. mw1 size of memory window1
  26. mw2 size of memory window2
  27. mw3 size of memory window3
  28. mw4 size of memory window4
  29. num_mws Number of memory windows; max = 4
  30. spad_count Number of scratchpad registers; default = 64
  31. ================ ===========================================================