On Thu, 30 Mar 2023 at 03:27, Ying-Chun Liu (PaulLiu) <paul....@linaro.org> wrote: > > From: Will Deacon <willdea...@google.com> > > 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: Will Deacon <willdea...@google.com> > [ Paul: pick from the Android tree. Rebase to the upstream ] > Signed-off-by: Ying-Chun Liu (PaulLiu) <paul....@linaro.org> > Cc: Bin Meng <bmeng...@gmail.com> > Link: > https://android.googlesource.com/platform/external/u-boot/+/3e052749e7c50c4c1a6014e645ae3b9be3710c07 > --- > drivers/virtio/virtio_ring.c | 25 ++++++++++++++++++++----- > include/virtio_ring.h | 5 ++++- > 2 files changed, 24 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>