On Thu, 30 Mar 2023 at 03:26, Ying-Chun Liu (PaulLiu) <paul....@linaro.org> wrote: > > From: Will Deacon <willdea...@google.com> > > Move the attach and detach logic for manipulating vring descriptors > out into their own functions so that we can later extend these to > bounce the data for devices with VIRTIO_F_IOMMU_PLATFORM set. > > 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/+/f73258a4bfe968c5f935db45f2ec5cc0104ee796 > --- > drivers/virtio/virtio_ring.c | 6 ++++++ > 1 file changed, 6 insertions(+) >
Reviewed-by: Simon Glass <s...@chromium.org>