aboutsummaryrefslogtreecommitdiff
path: root/qapi/qobject-output-visitor.c
diff options
context:
space:
mode:
authorSimon Veith <sveith@amazon.de>2019-12-20 14:03:00 +0000
committerMichael Roth <mdroth@linux.vnet.ibm.com>2020-06-22 12:38:17 -0500
commit65fad28d85f137edd895ac90a83b42bb36aad481 (patch)
tree727d87106b8286efc21e41ea34815bcb9f150f41 /qapi/qobject-output-visitor.c
parent256ecc06eb534e7d851fcdf667132a8721b5ad61 (diff)
downloadqemu-65fad28d85f137edd895ac90a83b42bb36aad481.zip
qemu-65fad28d85f137edd895ac90a83b42bb36aad481.tar.gz
qemu-65fad28d85f137edd895ac90a83b42bb36aad481.tar.bz2
hw/arm/smmuv3: Align stream table base address to table size
Per the specification, and as observed in hardware, the SMMUv3 aligns the SMMU_STRTAB_BASE address to the size of the table by masking out the respective least significant bits in the ADDR field. Apply this masking logic to our smmu_find_ste() lookup function per the specification. ref. ARM IHI 0070C, section 6.3.23. Signed-off-by: Simon Veith <sveith@amazon.de> Acked-by: Eric Auger <eric.auger@redhat.com> Tested-by: Eric Auger <eric.auger@redhat.com> Message-id: 1576509312-13083-5-git-send-email-sveith@amazon.de Cc: Eric Auger <eric.auger@redhat.com> Cc: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> (cherry picked from commit 41678c33aac61261522b74f08595ccf2221a430a) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions