Re: [PATCH v6 0/5] vfio: handle DMA map/unmap up to the addressable limit
From: Alex Mastro
Date: Fri Nov 07 2025 - 19:36:50 EST
On Fri, Nov 07, 2025 at 10:24:27PM +0000, David Matlack wrote:
> On 2025-11-07 12:44 AM, David Matlack wrote:
> > On 2025-10-28 09:14 AM, Alex Mastro wrote:
> For type1, I tracked down -EINVAL as coming from
> vfio_iommu_iova_dma_valid() returning false.
>
> The system I tested on only supports IOVAs up through
> 0x00ffffffffffffff.
>
> Do you know what systems supports up to 0xffffffffffffffff? I would like
> to try to make sure I am getting test coverage there when running these
> tests.
I observed this on an AMD EPYC 9654 server.
> In the meantime, I sent out a fix to skip this test instead of failing:
>
> https://lore.kernel.org/kvm/20251107222058.2009244-1-dmatlack@xxxxxxxxxx/
Thanks for the fix -- acked. My tests were making too strong an assumption
about availability of those ranges.
Alex