]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: Fix writes to GICv3 GICD_IROUTER<n> reg
authorSami Mujawar <sami.mujawar@arm.com>
Fri, 22 Feb 2019 19:43:28 +0000 (19:43 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 26 Feb 2019 07:38:42 +0000 (08:38 +0100)
commit1bb76029eff4993b31dbbb19acd86d1c8ad4933f
tree8322f2fcb86ebefb5d7aaebb1b88a25c71ee8a96
parent1342d7679e10b45f0702679b521513804205cdaf
ArmPkg: Fix writes to GICv3 GICD_IROUTER<n> reg

According to ARM Generic Interrupt Controller Architecture
Specification, GIC architecture version 3.0 and version 4.0,
GICD_IROUTER<n> is a 64-bit register.

Fixed code to use 64 bit MMIO write operations so that the
Aff3 value (bits [39:32]) is written to GICD_IROUTER<n>.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reported-by: Carl van Schaik <carl@cog.systems>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c