[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/27] vfio: return mr from vfio_get_xlat_addr
From: |
John Levon |
Subject: |
Re: [PATCH 01/27] vfio: return mr from vfio_get_xlat_addr |
Date: |
Thu, 15 May 2025 16:46:14 +0100 |
On Thu, May 15, 2025 at 04:43:46PM +0100, John Levon wrote:
> From: Steve Sistare <steven.sistare@oracle.com>
>
> Modify memory_get_xlat_addr and vfio_get_xlat_addr to return the memory
> region that the translated address is found in. This will be needed by
> CPR in a subsequent patch to map blocks using IOMMU_IOAS_MAP_FILE.
>
> Also return the xlat offset, so we can simplify the interface by removing
> the out parameters that can be trivially derived from mr and xlat.
>
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
FWIW I'm aware there's recent discussion on this patch separately, but I've
needed to include it in this series for the subsequent changes.
thanks
john
- [PATCH 00/27] vfio-user client, John Levon, 2025/05/15
- [PATCH 01/27] vfio: return mr from vfio_get_xlat_addr, John Levon, 2025/05/15
- Re: [PATCH 01/27] vfio: return mr from vfio_get_xlat_addr,
John Levon <=
- [PATCH 04/27] vfio: move config space read into vfio_pci_config_setup(), John Levon, 2025/05/15
- [PATCH 07/27] vfio: add per-region fd support, John Levon, 2025/05/15
- [PATCH 08/27] vfio: mark posted writes in region write callbacks, John Levon, 2025/05/15
- [PATCH 02/27] vfio/container: pass MemoryRegion to DMA operations, John Levon, 2025/05/15
- [PATCH 03/27] vfio: move more cleanup into vfio_pci_put_device(), John Levon, 2025/05/15
- [PATCH 06/27] vfio: enable per-IRQ MSI-X masking, John Levon, 2025/05/15
- [PATCH 22/27] vfio-user: implement VFIO_USER_DMA_MAP/UNMAP, John Levon, 2025/05/15