git: aebd6c32dfae - stable/14 - amdiommu: print more domain information from ddb show
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Nov 2024 20:19:19 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=aebd6c32dfae9716210aa3195900fbacb63ff2db
commit aebd6c32dfae9716210aa3195900fbacb63ff2db
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-03 15:14:54 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-09 19:31:28 +0000
amdiommu: print more domain information from ddb show
(cherry picked from commit 43bfb4e71483ecb5666e5142b5108999ca888b22)
---
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 5db7a5225538..513463f21292 100644
--- a/sys/x86/iommu/amd_drv.c
+++ b/sys/x86/iommu/amd_drv.c
@@ -1100,14 +1100,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);