Peter Maydell d87576e38d 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
2017-01-27 15:29:08 +00:00
..
2016-10-04 13:28:07 +01:00
2016-10-24 15:46:10 +02:00
2017-01-24 23:26:52 +03:00
2016-06-17 16:33:48 +10:00
2017-01-25 10:42:26 +00:00
2017-01-20 11:15:06 +00:00
2017-01-10 14:52:34 +00:00
2016-05-18 15:04:27 +03:00
2017-01-18 22:59:53 +02:00
2017-01-24 17:54:47 +00:00
2017-01-25 10:42:26 +00:00
2017-01-24 23:26:52 +03:00
2017-01-24 23:26:52 +03:00
2017-01-25 10:42:26 +00:00
2016-09-22 18:13:08 +01:00
2017-01-25 13:30:23 +00:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2017-01-25 10:42:26 +00:00
2017-01-25 10:42:26 +00:00