Files
qemu/hw/arm
Eric Auger 6d9cd115b9 hw/arm/smmuv3: Enforce invalidation on a power of two range
As of today, the driver can invalidate a number of pages that is
not a power of 2. However IOTLB unmap notifications and internal
IOTLB invalidations work with masks leading to erroneous
invalidations.

In case the range is not a power of 2, split invalidations into
power of 2 invalidations.

When looking for a single page entry in the vSMMU internal IOTLB,
let's make sure that if the entry is not found using a
g_hash_table_remove() we iterate over all the entries to find a
potential range that overlaps it.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20210309102742.30442-6-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-03-12 12:40:10 +00:00
..
2021-03-08 17:20:03 +00:00
2020-12-10 12:15:07 -05:00
2020-12-15 12:51:55 -05:00
2020-12-10 12:15:04 -05:00
2021-02-11 11:50:14 +00:00
2021-03-05 15:17:34 +00:00
2020-03-05 12:18:16 -05:00
2020-10-27 11:10:44 +00:00