git: 43bfb4e71483 - main - amdiommu: print more domain information from ddb show

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 03 Nov 2024 19:47:47 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=43bfb4e71483ecb5666e5142b5108999ca888b22

commit 43bfb4e71483ecb5666e5142b5108999ca888b22
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-03 15:14:54 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-03 19:38:19 +0000

    amdiommu: print more domain information from ddb show
    
    Sponsored by:   Advanced Micro Devices (AMD)
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/x86/iommu/amd_drv.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/x86/iommu/amd_drv.c b/sys/x86/iommu/amd_drv.c
index 62315902fcd9..257de73baab5 100644
--- a/sys/x86/iommu/amd_drv.c
+++ b/sys/x86/iommu/amd_drv.c
@@ -1099,14 +1099,12 @@ amdiommu_print_domain(struct amdiommu_domain *domain, bool show_mappings)
 
 	iodom = DOM2IODOM(domain);
 
-#if 0
 	db_printf(
-	    "  @%p dom %d mgaw %d agaw %d pglvl %d end %jx refs %d\n"
+	    "  @%p dom %d pglvl %d end %jx refs %d\n"
 	    "   ctx_cnt %d flags %x pgobj %p map_ents %u\n",
-	    domain, domain->domain, domain->mgaw, domain->agaw, domain->pglvl,
+	    domain, domain->domain, domain->pglvl,
 	    (uintmax_t)domain->iodom.end, domain->refs, domain->ctx_cnt,
 	    domain->iodom.flags, domain->pgtbl_obj, domain->iodom.entries_cnt);
-#endif
 
 	iommu_db_domain_print_contexts(iodom);