u-boot/drivers/virtio
Will Deacon b0a2fe148a virtio: Use bounce buffers when VIRTIO_F_IOMMU_PLATFORM is set
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_SIZE in preparation for platform specific
handling at page granularity.

Signed-off-by: Will Deacon <willdeacon@google.com>
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Link: 1eff171e61
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-25 11:53:15 -04:00
..
Kconfig blk: Enable CONFIG_BLK for all media 2022-09-16 11:05:00 -04:00
Makefile virtio: pci: Allow exclusion of legacy driver 2022-05-03 15:50:45 -04:00
virtio-uclass.c virtio: Expose VIRTIO_F_IOMMU_PLATFORM in device features 2023-04-25 11:53:15 -04:00
virtio_blk.c virtio: Add some debugging 2023-02-06 13:04:53 -05:00
virtio_blk.h virtio: Add block driver support 2018-11-14 09:16:27 -08:00
virtio_mmio.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
virtio_mmio.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
virtio_net.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
virtio_net.h virtio: Add net driver support 2018-11-14 09:16:27 -08:00
virtio_pci.h virtio: Add virtio over pci transport driver 2018-11-14 09:16:28 -08:00
virtio_pci_legacy.c pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
virtio_pci_modern.c virtio: pci: Tear down VQs in virtio_pci_reset() 2023-04-25 11:53:15 -04:00
virtio_ring.c virtio: Use bounce buffers when VIRTIO_F_IOMMU_PLATFORM is set 2023-04-25 11:53:15 -04:00
virtio_rng.c virtio: rng: Check length before copying 2022-06-08 09:24:04 -04:00
virtio_sandbox.c virtio: Add a block device 2023-01-23 18:11:40 -05:00