From nobody Sat Nov 09 20:19:19 2024 X-Original-To: dev-commits-src-branches@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 4Xm6bW31D2z5ccqY; Sat, 09 Nov 2024 20:19:19 +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 4Xm6bW1xBQz4fHG; Sat, 9 Nov 2024 20:19:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731183559; 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=mQoD4tysn682eFbnR5kNQECEGKDZxmGKvV4BIsxcUiM=; b=WGD3LqTA89kDOABjqw4FJSHq7+O8ltC9qSOeLMERGh5ZTyycNMJhEYgv8qhXklDSfmMS0W PL2/BvZaKuuYpEBTwwvJgZZUKn8XUkIdTpVcz6DqQ6wwmizqDr+Iipg95E/4BkFVXplXLb yYkaWlRC16HanSEXGIiDLkovmJTT3GVKUasE91ZFY4mTocc1FTzmT0eobpVqyrE/HC5ekx yWZ3y9kVFZLr0qZYq1K7fMArWdcP76tLJsl+gZsY0USvR9qbeo9CYDyZj5IquhPXjAufjl JA3PdSr1L3vs1eh7qeVK+Mk2+FYLa5PHJhtDquxC4C1x7D4mCssN9ax2RQ9nng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731183559; 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=mQoD4tysn682eFbnR5kNQECEGKDZxmGKvV4BIsxcUiM=; b=qqZ7AU3zUGoKJ5Yux/DYys9028dM4RmR16VogVLpkriJybvmKBxmr3I9nWXeA0jSTF7GPC F5xZuvQFbEohus7dDE8wcduAm5EJEoKdHqKy7QO+LFX6C5cU5fWLjmbnEOKHXSk2L5aKCx R0JfJZ+ZTxZHrwlNBBzpklhK0KoDfegRUYhXKs6w92XXB93Qc8qWePuUB9PMKugmlMokYZ 4aeU8NY+ea70N+4+Cliup+Q78E03V1Ep0irWPUYsKYQ4ts9tS0DJpykoIl+OEPM0ueUkbR kKCYW8hPhCvi8/pKrE9CCYtcERWWRlN4CO8aKft7SrJvZl1MSZsGbNkUsd2rnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731183559; a=rsa-sha256; cv=none; b=SW8QBBgVae9n0uOtoW6WLKPT6OtrujtWcSpubOsTGqeU5lzhEw7v23Jm0Geh1J30Q34b2r heihWB8lursOoFRQrmg30+F/vsFmSG6Ytw6H70sHGLE4y23SyAi/OKnM3QnViLcln5Jiir EpovATJe68oeIyHL28x45Y+B9BMqOK4KzKl1TTGS8PI9K8k2qU29msl/1gkaT2Le471+BJ Ot9oOeAH/8F5804wnBWCIjieDPAUrfgnUlP9XOjqcg6mHwPQ4ArRuGdVFn2fQxnwixZRa4 xm15e/9rIVuA8zs1D6tFRjdUgVzKtAoZiRIObdHDqOCEvdi4OQ6+S2VbKhM/BA== 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 4Xm6bW1WQFz1RY8; Sat, 9 Nov 2024 20:19:19 +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 4A9KJJIZ033681; Sat, 9 Nov 2024 20:19:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A9KJJqv033678; Sat, 9 Nov 2024 20:19:19 GMT (envelope-from git) Date: Sat, 9 Nov 2024 20:19:19 GMT Message-Id: <202411092019.4A9KJJqv033678@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: aebd6c32dfae - stable/14 - amdiommu: print more domain information from ddb show List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: aebd6c32dfae9716210aa3195900fbacb63ff2db Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=aebd6c32dfae9716210aa3195900fbacb63ff2db commit aebd6c32dfae9716210aa3195900fbacb63ff2db Author: Konstantin Belousov AuthorDate: 2024-11-03 15:14:54 +0000 Commit: Konstantin Belousov 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);