diff options
author | Eric Auger | 2021-03-09 11:27:41 +0100 |
---|---|---|
committer | Peter Maydell | 2021-03-12 13:40:10 +0100 |
commit | 1194140b7fab588b4b9de9aeacbe9672f06c1d8f (patch) | |
tree | b8ab57842d22616864670958097cf6f003300510 /hw/misc/mps2-fpgaio.c | |
parent | hw/arm/smmuv3: Enforce invalidation on a power of two range (diff) | |
download | qemu-1194140b7fab588b4b9de9aeacbe9672f06c1d8f.tar.gz qemu-1194140b7fab588b4b9de9aeacbe9672f06c1d8f.tar.xz qemu-1194140b7fab588b4b9de9aeacbe9672f06c1d8f.zip |
hw/arm/smmuv3: Fix SMMU_CMD_CFGI_STE_RANGE handling
If the whole SID range (32b) is invalidated (SMMU_CMD_CFGI_ALL),
@end overflows and we fail to handle the command properly.
Once this gets fixed, the current code really is awkward in the
sense it loops over the whole range instead of removing the
currently cached configs through a hash table lookup.
Fix both the overflow and the lookup.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210309102742.30442-7-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/mps2-fpgaio.c')
0 files changed, 0 insertions, 0 deletions