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 vm_extern: use standard address checkers everywhere 2021-12-30 22:09:08 -06:00
busdma_iommu.h busdma: Add KMSAN integration 2021-08-10 21:27:54 -04:00
iommu_gas.c dev/iommu: Include offset in maxaddr check. 2022-04-20 17:24:11 -05:00
iommu_gas.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
iommu_msi.h o Add iommu de-initialization method for MSI interface. 2020-10-24 20:09:27 +00:00
iommu_types.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
iommu.h vm_extern: use standard address checkers everywhere 2021-12-30 22:09:08 -06:00