diff options
| author | Will Deacon <[email protected]> | 2023-03-29 22:25:00 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-04-25 11:53:15 -0400 |
| commit | b0a2fe148a70dc805f1e11702a08a7065418a8dd (patch) | |
| tree | dd96eae340d934015017a673ef06127c49c7a645 /include/linux | |
| parent | 37e53db38bdbeb58732e36d1efcdf58f6ce3a138 (diff) | |
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 <[email protected]>
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu) <[email protected]>
Cc: Bin Meng <[email protected]>
Link: https://android.googlesource.com/platform/external/u-boot/+/1eff171e613ee67dca71dbe97be7282e2db17011
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
