svn commit: r366715 - head/sys/arm64/include
D Scott Phillips
scottph at FreeBSD.org
Thu Oct 15 03:12:01 UTC 2020
Author: scottph
Date: Thu Oct 15 03:12:00 2020
New Revision: 366715
URL: https://svnweb.freebsd.org/changeset/base/366715
Log:
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
Modified:
head/sys/arm64/include/intr.h
Modified: head/sys/arm64/include/intr.h
==============================================================================
--- head/sys/arm64/include/intr.h Thu Oct 15 00:50:26 2020 (r366714)
+++ head/sys/arm64/include/intr.h Thu Oct 15 03:12:00 2020 (r366715)
@@ -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
More information about the svn-src-all
mailing list