git: 7e8284c6ad95 - main - iommu_gas: Fix assertion.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Feb 2026 14:01:20 UTC
The branch main has been updated by br:
URL: https://cgit.FreeBSD.org/src/commit/?id=7e8284c6ad95bb7a0fc84d4d945ee98737efdd36
commit 7e8284c6ad95bb7a0fc84d4d945ee98737efdd36
Author: Ruslan Bukin <br@FreeBSD.org>
AuthorDate: 2026-02-19 13:56:36 +0000
Commit: Ruslan Bukin <br@FreeBSD.org>
CommitDate: 2026-02-19 14:00:12 +0000
iommu_gas: Fix assertion.
placeholder entry end changed to 0 in f591287756368
("iommu_gas: make placeholder entry at the start of the GAS zero size")
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D55326
---
sys/dev/iommu/iommu_gas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c
index 80e37341b3dc..306649db445f 100644
--- a/sys/dev/iommu/iommu_gas.c
+++ b/sys/dev/iommu/iommu_gas.c
@@ -282,7 +282,7 @@ iommu_gas_fini_domain(struct iommu_domain *domain)
entry = RB_MIN(iommu_gas_entries_tree, &domain->rb_root);
KASSERT(entry->start == 0, ("start entry start %p", domain));
- KASSERT(entry->end == IOMMU_PAGE_SIZE, ("start entry end %p", domain));
+ KASSERT(entry->end == 0, ("start entry end %p", domain));
KASSERT(entry->flags ==
(IOMMU_MAP_ENTRY_PLACE | IOMMU_MAP_ENTRY_UNMAPPED),
("start entry flags %p", domain));