On Mon, Nov 10, 2025 at 1:11 PM Alex Mastro <[email protected]> wrote:
> +       if (region->iova != (~(iova_t)0 & ~(region->size - 1)))
> +               SKIP(return, "IOMMU address space insufficient for overflow 
> test");
> +

If, instead, this was:

  region->iova = ~(iova_t)0 & ~(region->size - 1);

then I think this test could be run on all platforms. The kernel
checks for overflow before it checks for valid iova ranges.

Reply via email to