aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2024-11-09 21:06:06 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-11-12 00:27:24 +0000
commit48d6303d9c96d14741fe606e610db08c14a2f2ca (patch)
tree312ed3ec5e23318f67b398b5cebd1e7dd001fef7
parente6f9f493a827bb900e324d6790ea0ff465018ee3 (diff)
amdiommu: hide HPET report under verbose
(cherry picked from commit 1bca58a1d40d10c7cdd14b2988924cadd6efdc43)
-rw-r--r--sys/x86/iommu/amd_drv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/x86/iommu/amd_drv.c b/sys/x86/iommu/amd_drv.c
index 2c544dfb60a6..f1ee34467f46 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);
}