Skip to content
Commit 37e53db3 authored by Will Deacon's avatar Will Deacon Committed by Tom Rini
Browse files

virtio: Allocate bounce buffers for devices with VIRTIO_F_IOMMU_PLATFORM



In preparation for bouncing virtio data for devices advertising the
VIRTIO_F_IOMMU_PLATFORM feature, allocate an array of bounce buffer
structures in the vring, one per descriptor.

Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: default avatarYing-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Link: https://android.googlesource.com/platform/external/u-boot/+/3e052749e7c50c4c1a6014e645ae3b9be3710c07


Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent a15d67e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment