From nobody Sun Nov 03 19:47:47 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XhQ9w0R3tz5cj1R; Sun, 03 Nov 2024 19:47:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhQ9v4qgPz505p; Sun, 3 Nov 2024 19:47:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730663267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HMoqhmV6hGzBqX7O832tm3NBBv8Vee/MOp6d6VMJQsk=; b=gx7fJdDGzYxrpdA5H/inf7uQRcXdr9anppb9odNQ6u4Hwbn0egLYlX5v20gk0zjZwm/LiM BqMCnOkY0y83LCIFqVEGDWlsH3EsS+H//Qlom5N4PHUh29FVStZVmj7BDTcwBN9J6rxaQg GXTAo1ogWl3h5KuJoJb5TFATXcwE21fvPLGvwfXzhapWLHrNChmHQeKKSLUt5w7w8xXto+ 3c1dQgEfhQPHsWrd6wR6mTyYaVcNeIHZJPH+w11oA1MAxJWvdTgFPyzsatMwEgFRCQRfBJ HzzAsmYpc/9prVMXE0h31TuhwVzDsj+8rRJz/H3IsBKrTnCDhWwWIEbWaPzHZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730663267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HMoqhmV6hGzBqX7O832tm3NBBv8Vee/MOp6d6VMJQsk=; b=wTIJMYZVFOyEfPvi6XvBbH3NeM1je8iYTdvMjIOSYxVvEhErCX4mJRjTV8XIuGdiVaLAap Jnt3Izp72rnONdMNUUOvuarhCdbOT2N5rCoKq37OUN5XRnq9C72G4p98JWoSFtqE5Gbn2z ENmFjy299RayAHEQjACsSEdI3ky2cqsTmB/6N6+cDkl/X/501hwud1OZrsjuZ905ZJEN5q 8yl/+Y9UVAVdWww6883cvETl/ZljruLJ8cT6w70QOv764Xm9G2Y76nx1/J0ehuLbwYx3sn b4bEBilP5dkXkjZ2dsXlV8Z5VgNvUtlS4roDlnD8bLBm+fQy0X4UW/6fDEpAiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730663267; a=rsa-sha256; cv=none; b=ehuFhhXErZpnE1rhlekhHzawzbMsYXfmwPH9ACxssT5qWepB0I5D1hVZFyYGTnLfYolYa6 pvkvCpE3TgNlWxZjo9ZBP7z3BQiUlDkfLfBjJXAU3J/cEK7xDTaHDpcFPQW3wBJAoa4fFM DAqxhaOPdNdVo+otVMm/AfPm3G/3eTlopy4vVCZImxIs0Fsrmx7jjZ3lfBUBAVj/+jssdC soxHtqNaJnFu3ygJQBj+msmFQjEvmE5iDHY/0IG71mWSAO4CrqdjNh+4k4FgaC54ZTe7RW eXmOe/gt1F7lzoI98cbT2eZPKSRzoMUeSwX7lrY03BhX7qOfCGxBP3AXu0wd1A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XhQ9v4L87z12Vw; Sun, 3 Nov 2024 19:47:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A3Jll7E027891; Sun, 3 Nov 2024 19:47:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A3JllVq027888; Sun, 3 Nov 2024 19:47:47 GMT (envelope-from git) Date: Sun, 3 Nov 2024 19:47:47 GMT Message-Id: <202411031947.4A3JllVq027888@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 43bfb4e71483 - main - amdiommu: print more domain information from ddb show List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43bfb4e71483ecb5666e5142b5108999ca888b22 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=43bfb4e71483ecb5666e5142b5108999ca888b22 commit 43bfb4e71483ecb5666e5142b5108999ca888b22 Author: Konstantin Belousov AuthorDate: 2024-11-03 15:14:54 +0000 Commit: Konstantin Belousov 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);