Re: [PATCH 6/6] virtio: Use bounce buffers when VIRTIO_F_IOMMU_PLATFORM is set

2023-03-31 Thread Simon Glass
On Thu, 30 Mar 2023 at 03:27, Ying-Chun Liu (PaulLiu) wrote: > > From: Will Deacon > > Devices advertising the VIRTIO_F_IOMMU_PLATFORM feature require > platform-specific handling to configure their DMA transactions. > > When handling virtio descriptors for such a device, use bounce > buffers to

[PATCH 6/6] virtio: Use bounce buffers when VIRTIO_F_IOMMU_PLATFORM is set

2023-03-29 Thread Ying-Chun Liu (PaulLiu)
From: Will Deacon Devices advertising the VIRTIO_F_IOMMU_PLATFORM feature require platform-specific handling to configure their DMA transactions. When handling virtio descriptors for such a device, use bounce buffers to ensure that the underlying buffers are always aligned to and padded to PAGE_