ANDROID: virtio_balloon: Do not translate reported pages through DMA API
The free-page reporting and hinting queues do not pass arrays of page addresses (like the basic inflate queue) but instead pass the free page ranges as buffers. This does not work well with DMA API: The host wants to know the GPA, not an IOVA. For these two virtqueues, disable DMA API and pass through buffers untranslated. Bug: 240239989 Change-Id: I2d13a8b7e8f6775819de7fe96f4579afa08b1300 Signed-off-by:Keir Fraser <keirf@google.com> [ qperret@: Fixed minor context conflict in virtio.h ] Signed-off-by:
Quentin Perret <qperret@google.com>
Loading
Please sign in to comment