summaryrefslogtreecommitdiffstats
path: root/hw/display/g364fb.c
diff options
context:
space:
mode:
authorEric Auger2021-03-09 11:27:38 +0100
committerPeter Maydell2021-03-12 13:40:10 +0100
commitdde3f08b5cab24e570fc0ccbbbab86b6b50aad23 (patch)
tree72fca0e7a8992d390e867594cbfcf953d15b7e92 /hw/display/g364fb.c
parentdma: Introduce dma_aligned_pow2_mask() (diff)
downloadqemu-dde3f08b5cab24e570fc0ccbbbab86b6b50aad23.tar.gz
qemu-dde3f08b5cab24e570fc0ccbbbab86b6b50aad23.tar.xz
qemu-dde3f08b5cab24e570fc0ccbbbab86b6b50aad23.zip
virtio-iommu: Handle non power of 2 range invalidations
Unmap notifiers work with an address mask assuming an invalidation range of a power of 2. Nothing mandates this in the VIRTIO-IOMMU spec. So in case the range is not a power of 2, split it into several invalidations. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Message-id: 20210309102742.30442-4-eric.auger@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/display/g364fb.c')
0 files changed, 0 insertions, 0 deletions