summary refs log tree commit diff stats
path: root/hw/dma/omap_dma.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-01-27 15:20:25 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-01-27 15:29:08 +0000
commitd87576e38df760ef1cb635197d51f207e2a8eda9 (patch)
treed0cb56d4a824b42706ae2056cdf71be6539dd749 /hw/dma/omap_dma.c
parente62694a078f182c822a7b6d3976b1bcc72e78ec2 (diff)
downloadfocaccia-qemu-d87576e38df760ef1cb635197d51f207e2a8eda9.tar.gz
focaccia-qemu-d87576e38df760ef1cb635197d51f207e2a8eda9.zip
arm_gicv3: Fix broken logic in ELRSR calculation
Fix a broken expression in the calculation of ELRSR
register bits: instead of "(lr & ICH_LR_EL2_HW) == 1"
we want to check for != 0, because the HW bit is not
bit 0 so a test for == 1 is always false.

Fixes: https://bugs.launchpad.net/bugs/1658506

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1485255993-6322-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/dma/omap_dma.c')
0 files changed, 0 insertions, 0 deletions