arm64: Increase NIRQ to 16k

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 here we increase that
value. 16k is enough for

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

Reviewed by:	jhb
Approved by:	scottl (implicit)
MFC after:	1 week
Sponsored by:	Ampere Computing
Differential Revision:	https://reviews.freebsd.org/D26766
This commit is contained in:
D Scott Phillips 2020-10-15 03:12:00 +00:00
parent e406235000
commit 6527b9baef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366715

View File

@ -36,7 +36,7 @@
#include <sys/intr.h>
#ifndef NIRQ
#define NIRQ 2048 /* XXX - It should be an option. */
#define NIRQ 16384 /* XXX - It should be an option. */
#endif
static inline void