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
F154206147: D42186.diff
Mon, Apr 27, 2:46 AM
F154179290: D42186.id128725.diff
Sun, Apr 26, 8:58 PM
Unknown Object (File)
Sat, Apr 25, 9:19 PM
Unknown Object (File)
Sat, Apr 25, 5:04 PM
Unknown Object (File)
Sat, Apr 25, 2:45 AM
Unknown Object (File)
Fri, Apr 24, 8:52 PM
Unknown Object (File)
Thu, Apr 23, 1:15 AM
Unknown Object (File)
Wed, Apr 22, 7:24 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 53968
Build 50858: arc lint + arc unit

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