Page MenuHomeFreeBSD

pci: Set the domain in the pci_generic driver
ClosedPublic

Authored by andrew on Oct 13 2023, 10:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 8, 12:47 AM
Unknown Object (File)
Thu, Jan 8, 12:02 AM
Unknown Object (File)
Wed, Jan 7, 10:52 PM
Unknown Object (File)
Tue, Jan 6, 1:13 AM
Unknown Object (File)
Sat, Dec 27, 6:56 PM
Unknown Object (File)
Dec 10 2025, 9:09 PM
Unknown Object (File)
Dec 5 2025, 4:26 AM
Unknown Object (File)
Nov 30 2025, 11:20 PM
Subscribers

Details

Summary

Tell bus_dma(9) which NUMA domain the PCI driver is closest to so it
can allocate memory from there when possible.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew created this revision.
markj added inline comments.
sys/dev/pci/pci_host_generic.c
108

If you're intentionally squashing errors, please add a comment and/or don't bother setting error.

markj added inline comments.
sys/dev/pci/pci_host_generic.c
111
This revision is now accepted and ready to land.Oct 13 2023, 3:20 PM
This revision now requires review to proceed.Oct 13 2023, 4:24 PM
jhb added inline comments.
sys/dev/pci/pci_host_generic.c
106

Nit: blank line before comment.

This revision is now accepted and ready to land.Oct 13 2023, 10:10 PM