hw/intc/arm_gic: Restrict priority view
authorFabian Aggeler <aggelerf@ethz.ch>
Tue, 12 May 2015 10:57:17 +0000 (11:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:17 +0000 (11:57 +0100)
commit8150847061f8d2606101bfff77cc6ec86b081ab0
tree8447b726a34d0a104d2282145e3eb3f004f6b3d2
parent08efa9f2d1bb27d64fbedcc2879ca45ae6832c20
hw/intc/arm_gic: Restrict priority view

GICs with Security Extensions restrict the non-secure view of the
interrupt priority and priority mask registers.

Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch>
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1430502643-25909-11-git-send-email-peter.maydell@linaro.org
Message-id: 1429113742-8371-15-git-send-email-greg.bellows@linaro.org
[PMM: minor code tweaks; fixed missing masking in gic_set_priority_mask
and gic_set_priority]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c
hw/intc/arm_gic_kvm.c
hw/intc/gic_internal.h