dev-arm: Check EnableLPIs before checking for pending LPIs
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 26 Apr 2019 12:21:59 +0000 (13:21 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 2 May 2019 12:44:13 +0000 (12:44 +0000)
commitafce68658cee32c499af9eacf4ffa489a15c1e7c
tree2728214f16219309678e4bb69e678690753399c9
parentbc300d3112877fba8aadc58fc71b64f849842f63
dev-arm: Check EnableLPIs before checking for pending LPIs

Before reading the tables, GICR_PENDBASER and GICR_PROPBASER need to be
properly set, and those will have a consistent value only once sw
enables LPIs.

Change-Id: Ifb87944a491045e7a13ce7a280c555cb0c1e47f4
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18592
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/gic_v3_redistributor.cc