Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2019 08:25:48 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r346661 - stable/12/sys/x86/iommu
Message-ID:  <201904250825.x3P8Pm5e056043@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Apr 25 08:25:48 2019
New Revision: 346661
URL: https://svnweb.freebsd.org/changeset/base/346661

Log:
  MFC r346350:
  Reduce verbosity, do not announce details of irte programming by default.

Modified:
  stable/12/sys/x86/iommu/intel_intrmap.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/x86/iommu/intel_intrmap.c
==============================================================================
--- stable/12/sys/x86/iommu/intel_intrmap.c	Thu Apr 25 03:48:37 2019	(r346660)
+++ stable/12/sys/x86/iommu/intel_intrmap.c	Thu Apr 25 08:25:48 2019	(r346661)
@@ -270,9 +270,11 @@ dmar_ir_program_irte(struct dmar_unit *unit, u_int idx
 	irte = &(unit->irt[idx]);
 	high = DMAR_IRTE2_SVT_RID | DMAR_IRTE2_SQ_RID |
 	    DMAR_IRTE2_SID_RID(rid);
-	device_printf(unit->dev,
-	    "programming irte[%d] rid %#x high %#jx low %#jx\n",
-	    idx, rid, (uintmax_t)high, (uintmax_t)low);
+	if (bootverbose) {
+		device_printf(unit->dev,
+		    "programming irte[%d] rid %#x high %#jx low %#jx\n",
+		    idx, rid, (uintmax_t)high, (uintmax_t)low);
+	}
 	DMAR_LOCK(unit);
 	if ((irte->irte1 & DMAR_IRTE1_P) != 0) {
 		/*



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