target-arm: Provide hook to tell GICv3 about changes of security state
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:46 +0000 (15:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:51 +0000 (15:23 +0100)
commitbd7d00fc50c9960876dd194ebf0c88889b53e765
tree53412e1caa2bbf13ccf8c9376cabd7673ae70a41
parent712058764da29b2908f6fbf56760ca4f15980709
target-arm: Provide hook to tell GICv3 about changes of security state

The GICv3 CPU interface needs to know when the CPU it is attached
to makes an exception level or mode transition that changes the
security state, because whether it is asserting IRQ or FIQ can change
depending on these things. Provide a mechanism for letting the GICv3
device register a hook to be called on such changes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
Tested-by: Shannon Zhao <shannon.zhao@linaro.org>
Message-id: 1465915112-29272-5-git-send-email-peter.maydell@linaro.org
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c
target-arm/internals.h
target-arm/op_helper.c