Re: [PATCH v7 4/6] iommu/s390: Fix incorrect aperture check
From: Jason Gunthorpe
Date: Mon Oct 24 2022 - 14:30:56 EST
On Mon, Oct 17, 2022 at 02:45:56PM +0200, Niklas Schnelle wrote:
> 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@xxxxxxxxxxxxx>
> Reviewed-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>
> Signed-off-by: Niklas Schnelle <schnelle@xxxxxxxxxxxxx>
> ---
> v3->v4:
> - Make check robust against overflow (Jason)
I wish this value was called "last" but..
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason