]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c
ArmPkg/ArmGicV3Dxe: Use ArmGicSetInterruptPriority() to set priority
authorQuan Nguyen <quan@os.amperecomputing.com>
Wed, 16 Dec 2020 13:25:21 +0000 (20:25 +0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 18 Dec 2020 18:09:18 +0000 (18:09 +0000)
commit1159fc3230aee02acc60aa245ce047217fd8b87e
treea9136b0704428931057854719f1ec182ac885fb0
parent0d49b82e4fa5d7eaeb5f73dfb93a932893832437
ArmPkg/ArmGicV3Dxe: Use ArmGicSetInterruptPriority() to set priority

When Affinity Routing enabled, the GICR_IPRIORITYR<n> is used to set
priority for SGIs and PPIs instead of GICD_IPRIORITYR<n>.
This patch calls ArmGicSetInterruptPriority() helper function when
setting priority to handle the difference.

Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Reviewed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c