diff options
| author | Eric Auger <eric.auger@redhat.com> | 2021-03-09 11:27:38 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-03-12 12:40:10 +0000 |
| commit | dde3f08b5cab24e570fc0ccbbbab86b6b50aad23 (patch) | |
| tree | 72fca0e7a8992d390e867594cbfcf953d15b7e92 /hw/avr/arduino.c | |
| parent | f14fb6c2db961c3665a61b342ab329b7bd20d1e7 (diff) | |
| download | focaccia-qemu-dde3f08b5cab24e570fc0ccbbbab86b6b50aad23.tar.gz focaccia-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/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions