~/talk

PCI Endpoint Drivers in Linux Kernel and How to Write One

slides:none on file

Framework exists since v4.11 and shows concrete controller and function code paths: use pci_epc_create in the EPC driver to register callbacks, allocate MSI and host-mapped windows via EPC mem and iATU, and register function drivers with epf_register_driver plus bind/unbind ops. Runtime uses userspace configfs to link controllers and functions and start the controller. Notes real pain points: probe/blocking on host refclock, atomic notifier callbacks, and lack of kernel-only or device-tree provisioning.

AI-written summary · about

  1. 0:00Start
  2. 0:31Agenda
  3. 1:03PCI Subsystem
  4. 10:30Initialize Endpoint Controller Contd...
  5. 12:29Initialize DMA Engine (optional)
  6. 13:08Allocate memory for MSI
  7. 14:02Setup PCI host memory mapping
  8. 14:51Enable Endpoint IRQS
  9. 16:13Create PCI EPC device Contd...
  10. 17:02Writing a PCI Endpoint Function Driver
  11. 19:21Service EPF notifications
  12. 20:37Using the PCI Endpoint Framework
  13. 22:09Productizing the PCI Endpoint Framework
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.