Page MenuHomeFreeBSD

Enable PCI bar reallocation by default.
ClosedPublic

Authored by jhb on Jan 25 2019, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 18, 9:58 AM
Unknown Object (File)
Sat, Mar 9, 8:41 PM
Unknown Object (File)
Jan 11 2024, 11:03 PM
Unknown Object (File)
Dec 30 2023, 10:42 AM
Unknown Object (File)
Nov 25 2023, 8:38 PM
Unknown Object (File)
Nov 22 2023, 7:57 PM
Unknown Object (File)
Nov 13 2023, 9:35 PM
Unknown Object (File)
Nov 13 2023, 9:17 PM
Subscribers
None

Details

Summary

When pci_realloc_bars was first added, the intention was to eventually
enable it by default, but it was left disabled to preserve existing
behavior. The setting is pretty conservative in that it does not
attempt to allocate resources for BARs that the BIOS/firmware leaves
disabled. It only attempts to reallocate resources for a BAR that the
firmware programmed during boot but that conflicts with another
resource during the kernel's device scan.

PR 221350 is an example of a machine that this knob fixes.

Test Plan
  • booted my test VM's, but they don't have conflicts

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I thought we did this years ago...
Now is a great time to do it. If there are issues, we'll find out in plenty of time to either (a) fix or (b) chicken out.

This revision is now accepted and ready to land.Feb 9 2019, 4:03 AM
This revision was automatically updated to reflect the committed changes.