iommu/s390: Fix incorrect aperture check
The domain->geometry.aperture_end specifies the last valid address treat it as such when checking if a DMA address is valid. Reviewed-by:Pierre Morel <pmorel@linux.ibm.com> Reviewed-by:
Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by:
Jason Gunthorpe <jgg@nvidia.com> Signed-off-by:
Niklas Schnelle <schnelle@linux.ibm.com> Link: https://lore.kernel.org/r/20221025115657.1666860-5-schnelle@linux.ibm.com Signed-off-by:
Joerg Roedel <jroedel@suse.de>
Loading
Please sign in to comment