Re: [RFC V1 02/12] iommufd: no DMA to BARs

2024-08-13 Thread Steven Sistare
On 8/12/2024 9:39 PM, Yi Liu wrote: On 2024/7/21 03:15, Steve Sistare wrote: Do not map VFIO PCI BARs for DMA.  This stops a raft of warnings of the following form at QEMU start time when using -object iommufd: qemu-kvm: warning: IOMMU_IOAS_MAP failed: Bad address, PCI BAR? qemu-kvm: vfio_conta

Re: [RFC V1 02/12] iommufd: no DMA to BARs

2024-08-12 Thread Yi Liu
On 2024/7/21 03:15, Steve Sistare wrote: Do not map VFIO PCI BARs for DMA. This stops a raft of warnings of the following form at QEMU start time when using -object iommufd: qemu-kvm: warning: IOMMU_IOAS_MAP failed: Bad address, PCI BAR? qemu-kvm: vfio_container_dma_map(0x58282db0, 0x880001

Re: [RFC V1 02/12] iommufd: no DMA to BARs

2024-08-12 Thread Alex Williamson
On Sat, 20 Jul 2024 12:15:27 -0700 Steve Sistare wrote: > Do not map VFIO PCI BARs for DMA. This stops a raft of warnings of the > following form at QEMU start time when using -object iommufd: > > qemu-kvm: warning: IOMMU_IOAS_MAP failed: Bad address, PCI BAR? > qemu-kvm: vfio_container_dma_map

[RFC V1 02/12] iommufd: no DMA to BARs

2024-07-20 Thread Steve Sistare
Do not map VFIO PCI BARs for DMA. This stops a raft of warnings of the following form at QEMU start time when using -object iommufd: qemu-kvm: warning: IOMMU_IOAS_MAP failed: Bad address, PCI BAR? qemu-kvm: vfio_container_dma_map(0x58282db0, 0x880001, 0x4000, 0x77ff) = -14 (Bad a