summaryrefslogtreecommitdiffstats
path: root/linux-headers
diff options
context:
space:
mode:
authorAmol Surati2018-06-22 14:28:34 +0200
committerPeter Maydell2018-06-22 14:28:34 +0200
commitd419890c0448281d0cf11d9384d9a30c8808f648 (patch)
tree7a97a197adbe61c052f4368369c051f61b22b9c8 /linux-headers
parentMerge remote-tracking branch 'remotes/stsquad/tags/pull-tcg-testing-revivial-... (diff)
downloadqemu-d419890c0448281d0cf11d9384d9a30c8808f648.tar.gz
qemu-d419890c0448281d0cf11d9384d9a30c8808f648.tar.xz
qemu-d419890c0448281d0cf11d9384d9a30c8808f648.zip
hw/intc/arm_gicv3: fix an extra left-shift when reading IPRIORITYR
When either GICD_IPRIORITYR or GICR_IPRIORITYR is read as a 32-bit register, the post left-shift operator in the for loop causes an extra shift after the least significant byte has been placed. The 32-bit value actually returned is therefore the expected value shifted left by 8 bits. Signed-off-by: Amol Surati <suratiamol@gmail.com> Message-id: 20180614054857.26248-1-suratiamol@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions