diff options
| author | Alan Cox <alc@FreeBSD.org> | 2022-06-26 16:48:12 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2022-06-26 21:31:54 +0000 |
| commit | 7b39a9bc1df37502e8186593f3427b7ff0e4cc71 (patch) | |
| tree | b9b8ef294a376f0cc44f9eef721332acd2c5d646 /sys/dev/iommu | |
| parent | 841719c08fd3635a396f62a58aa017ae0bf563e0 (diff) | |
Diffstat (limited to 'sys/dev/iommu')
| -rw-r--r-- | sys/dev/iommu/iommu_gas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c index 2647c2ce6612..bb6cde2721a6 100644 --- a/sys/dev/iommu/iommu_gas.c +++ b/sys/dev/iommu/iommu_gas.c @@ -350,7 +350,7 @@ iommu_gas_match_one(struct iommu_gas_match_args *a, iommu_gaddr_t beg, * the next entry, then we do not have gap. Ignore for now. */ if ((a->gas_flags & IOMMU_MF_CANSPLIT) != 0) { - a->size = bs - a->entry->start; + a->size = bs - a->entry->start - a->offset; return (true); } |
