freebsd-dev/sys/dev/iommu
Doug Moore 11fced21cc dev/iommu: Include offset in maxaddr check.
If iommu_gas_match_one has to adjust for a boundary crossing, its
check against maxaddr includes 'offset' in its calculation, to ensure
that the allocated memory does not exceed the max address. However, if
there's no boundary crossing adjustment, then the maxaddr check
disregards 'offset'. Fix that.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D34978
2022-04-20 17:24:11 -05:00
..
busdma_iommu.c
busdma_iommu.h
iommu_gas.c
iommu_gas.h
iommu_msi.h
iommu_types.h
iommu.h