Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 03:12:01 +0000 (UTC)
From:      D Scott Phillips <scottph@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366715 - head/sys/arm64/include
Message-ID:  <202010150312.09F3C1vx071655@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010150312.09F3C1vx071655>