From nobody Tue Jan 02 00:42:40 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 4T3vFs39lkz560MJ; Tue, 2 Jan 2024 00:42:41 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T3vFs0W93z3Rdn; Tue, 2 Jan 2024 00:42:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704156161; 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=BbdSfghbRREee04uiOrGAxph966I4mzrxoEPcg+TJqQ=; b=SkUwacGJpFUqZzobOqegjb0yJ3vnX2uLv9L4cepBCUSU3RAyqCK8PjO/uJWxzyjNn2m4fZ SDp+9gmhK05J/2o79BPo1h0eFrrg8RuMJdul+XKOgjJufZla+iOh1F+vUXebDTvncBLjy+ gG34yQwN9lCUqjm56bsD3eM+l99cHfMybXwn78sBu/zMk1eT2O3P5de5V8PXRrtchJv0DM on59pZOYZNy+yY2wnAjb71tdypshVjxHJotzNii1tO45rcUfre8wVFM4mO2a7W+yCb6mU2 eLrnEEucN9g8KOnoTgxjz6+4GNunUzsb41sPMtKSebGurxzL9pB72zt1g8VqDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704156161; a=rsa-sha256; cv=none; b=BXEFHTAUIlkiKrIAQi+WK4Dygt8QjEpalnF3GYFW+1qZA3w+vXyPO4oS+RlkQKTLjy+eOZ Ki318JUIB5dFQ1rARO/9mhvAvppxbYraG2mBQxOXI6fO2Ja7yEH7EA2U0ybjVSMrZikoah 33CNTleBTvh7HCaRyZUnPrdtty3MX5RMFVG7CAjNaRjYpqK4l4jVUtr6qjKFNjELstno4i leP0A9d/Dj9ZeROZFX15xZyXKdGK1xp2owBpRSFOncPblIcDxYkzVptS3R1rQBgeadLmOI s1vlzfThI7zNad7kg4q+lSvNGFCpG4YAmlo/28Yn2iQwnO2ZrRmSr5cnnWbZ6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704156161; 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=BbdSfghbRREee04uiOrGAxph966I4mzrxoEPcg+TJqQ=; b=IboRDnGQ03j9sgKkvvSchCWpUBnkGlbVwee4dZDEgmgKvcgZEtrSVkplN5rMkNpiklLYkP QGgAKT60nxQHLlcik65k+DpwCZpBCFmhfZN+c9bUxVoMouJPIsykVAN9XkjOD4wSRJSgbv bRH8WknCMRhhrDp67UGTHPJUMwTHrTzr0Ov2983O0W5ZYTsxAzI/L+oId/oSvxjkz9jo3X OH0mXfhOlZjAFRNh1fjScXxVjcrxZHNjAJxKFDlYJMN0UvWWeSEDRZRKuINQJ9OR/lQaDJ okU2Mf2cP5yPruxUIkXj38NL29A+92LGml4TpnAsW9eNUIaaPoD8Q/9eWFUp6Q== 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 4T3vFr6kjYzfc9; Tue, 2 Jan 2024 00:42:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4020geaU004013; Tue, 2 Jan 2024 00:42:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4020geg7004010; Tue, 2 Jan 2024 00:42:40 GMT (envelope-from git) Date: Tue, 2 Jan 2024 00:42:40 GMT Message-Id: <202401020042.4020geg7004010@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: a4b9c406369f - stable/13 - iommu_gas: print entries flags and domains if an overlap detected 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/stable/13 X-Git-Reftype: branch X-Git-Commit: a4b9c406369fabd2a6036904917234189f361fbc Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a4b9c406369fabd2a6036904917234189f361fbc commit a4b9c406369fabd2a6036904917234189f361fbc Author: Konstantin Belousov AuthorDate: 2023-12-23 23:34:16 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-02 00:42:13 +0000 iommu_gas: print entries flags and domains if an overlap detected (cherry picked from commit 733da1eb947688210bc152656357ecafbd172bb7) --- sys/dev/iommu/iommu_gas.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c index 72db5ca871ec..25e13aad2291 100644 --- a/sys/dev/iommu/iommu_gas.c +++ b/sys/dev/iommu/iommu_gas.c @@ -125,9 +125,11 @@ iommu_gas_cmp_entries(struct iommu_map_entry *a, struct iommu_map_entry *b) b, (uintmax_t)b->start, (uintmax_t)b->end)); KASSERT(a->end <= b->start || b->end <= a->start || a->end == a->start || b->end == b->start, - ("overlapping entries %p (%jx, %jx) %p (%jx, %jx)", - a, (uintmax_t)a->start, (uintmax_t)a->end, - b, (uintmax_t)b->start, (uintmax_t)b->end)); + ("overlapping entries %p (%jx, %jx) f %#x %p (%jx, %jx) f %#x" + " domain %p %p", + a, (uintmax_t)a->start, (uintmax_t)a->end, a->flags, + b, (uintmax_t)b->start, (uintmax_t)b->end, b->flags, + a->domain, b->domain)); if (a->end < b->end) return (-1);