~/talk

PCSC: Caching PCI Config Space Accesses for faster Live Updates

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13
links:none on file
slides:none on file

At scale PCI enumeration and VF creation trigger a flood of hardware config reads, so PCSC implements a per-device cache attached to struct pci_dev, intercepts pci ops, uses a write-invalidate policy for coherence, and dynamically infers cacheable registers by walking capability chains. Implementation preserves cache across kexec via Kernel HandOver (KHO) and reports ~70–80% hit rates on ARM testbeds, cutting VM bring-up blackouts by hundreds of milliseconds versus uncached probing. PCI Configuration Space Cache (PCSC) is upstream-RFCed and prototyped in-kernel.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:06PCI config space challenges
  3. 2:13Cache design and implementation
  4. 3:39Current status and RFC details
  5. 4:43Discussion on access sources
  6. 6:30Comparison with existing mechanisms
  7. 8:14Handling map bus and caching
  8. 9:20Alternatives and risks
  9. 10:21VFIO and snapshot preservation
  10. 11:04Q&A and conclusion
~/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.