git: 48d6303d9c96 - stable/14 - amdiommu: hide HPET report under verbose
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Nov 2024 00:38:19 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=48d6303d9c96d14741fe606e610db08c14a2f2ca
commit 48d6303d9c96d14741fe606e610db08c14a2f2ca
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-09 21:06:06 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-12 00:27:24 +0000
amdiommu: hide HPET report under verbose
(cherry picked from commit 1bca58a1d40d10c7cdd14b2988924cadd6efdc43)
---
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 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);
}