Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2024 21:07:58 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1bca58a1d40d - main - amdiommu: hide HPET report under verbose
Message-ID:  <202411092107.4A9L7wU2026246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=1bca58a1d40d10c7cdd14b2988924cadd6efdc43

commit 1bca58a1d40d10c7cdd14b2988924cadd6efdc43
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-09 21:06:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-09 21:07:41 +0000

    amdiommu: hide HPET report under verbose
    
    Reported by:    markj
    Sponsored by:   Advanced Micro Devices (AMD)
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 sys/x86/iommu/amd_drv.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys/x86/iommu/amd_drv.c b/sys/x86/iommu/amd_drv.c
index 257de73baab5..d8f3c25fcae0 100644
--- a/sys/x86/iommu/amd_drv.c
+++ b/sys/x86/iommu/amd_drv.c
@@ -1001,8 +1001,9 @@ amdiommu_find_unit_for_hpet(device_t hpet, struct amdiommu_unit **unitp,
 	res = amdiommu_ivrs_iterate_tbl(amdiommu_find_unit_scan_0x11,
 	    amdiommu_find_unit_scan_0x11, amdiommu_find_unit_scan_0x10, &ifu);
 	if (!res) {
-		printf("amdiommu cannot match hpet no %d in IVHD\n",
-		    hpet_no);
+		if (verbose)
+			printf("amdiommu cannot match hpet no %d in IVHD\n",
+			    hpet_no);
 		return (ENXIO);
 	}
 



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