Skip to content
Commit fc05a6f2 authored by Luc MICHEL's avatar Luc MICHEL Committed by Peter Maydell
Browse files

hw/intc/arm_gic: Fix group priority computation for group 1 IRQs



When determining the group priority of a group 1 IRQ, if C_CTRL.CBPR is
0, the non-secure BPR value is used. However, this value must be
incremented by one so that it matches the secure world number of
implemented priority bits (NS world has one less priority bit compared
to the Secure world).

Signed-off-by: default avatarLuc MICHEL <luc.michel@git.antfield.fr>
Message-id: 20180119145756.7629-5-luc.michel@greensocs.com
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
[PMM: add assert, as the gicv3 code has]
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 71aa735b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment