The branch stable/15 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e0dbeabeee7a5f8fb7617b22b272c70c5618907c

commit e0dbeabeee7a5f8fb7617b22b272c70c5618907c
Author:     Ruslan Bukin <[email protected]>
AuthorDate: 2026-02-19 13:56:36 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-02-28 01:32:24 +0000

    iommu_gas: Fix assertion.
    
    (cherry picked from commit 7e8284c6ad95bb7a0fc84d4d945ee98737efdd36)
---
 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));

Reply via email to