Page MenuHomeFreeBSD

arm64: Increase NIRQ to 16k
ClosedPublic

Authored by scottph on Oct 13 2020, 7:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 3:05 PM
Unknown Object (File)
Sat, Nov 30, 3:04 PM
Unknown Object (File)
Thu, Nov 7, 4:15 AM
Unknown Object (File)
Oct 29 2024, 7:47 PM
Unknown Object (File)
Oct 20 2024, 7:22 AM
Unknown Object (File)
Oct 3 2024, 9:26 AM
Unknown Object (File)
Oct 2 2024, 11:52 PM
Unknown Object (File)
Sep 27 2024, 12:56 PM
Subscribers

Details

Summary

Ampere Altra in a dual socket configuration has 12 ITSes for the
12 PCIe root complexes. The NIRQ interrupts are statically split
between each child of the gic bus, so we need to increase that
value. 16k is enough for

(#cpus * #its * max_pcie_bifurcation) LPIs + (#SPIs and #PPIs)

Sponsored by: Ampere Computing

Diff Detail

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

Event Timeline

This increases bss by ~1.5 MiB

If possible, I would encourage you to explore making these things tunable and more dynamic ala rS338360, rS340460, and rS340488.

This revision is now accepted and ready to land.Oct 13 2020, 10:09 PM
This revision was automatically updated to reflect the committed changes.