]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c
ArmPkg/ArmGicV3Dxe: configure all interrupts as non-secure Group-1
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Jun 2016 14:23:57 +0000 (16:23 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Jun 2016 14:16:00 +0000 (16:16 +0200)
commitc7fefb690661f2e38afcb8200bd318ecf38ab961
treefb291c0a93b9bde840e8d1dbd7c72576e770202f
parentbf57a42a0e2cf1c68e9db2f61c82ce93c806ab07
ArmPkg/ArmGicV3Dxe: configure all interrupts as non-secure Group-1

Reassign all interrupts to non-secure Group-1 if the GIC has its DS
(Disable Security) bit set. In this case, it is safe to assume that we
own the GIC, and that no other firmware has performed any configuration
yet, which means it is up to us to reconfigure the interrupts so they
can be taken by the non-secure firmware.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c
ArmPkg/Include/Library/ArmGicLib.h