audk/ArmPkg/Drivers
Andreas Sandberg e1999b264f ArmPkg/ArmGic: Fix maximum number of interrupts in GICv3
Bugzilla: 3415 (https://bugzilla.tianocore.org/show_bug.cgi?id=3415)

The GICv3 architecture supports up to 1020 ordinary interrupt
lines. The actual number of interrupts supported is described by the
ITLinesNumber field in the GICD_TYPER register. The total number of
implemented registers is normally calculated as
32*(ITLinesNumber+1). However, maximum value (0x1f) is a special case
since that would indicate that 1024 interrupts are implemented.

Add handling for this special case in ArmGicGetMaxNumInterrupts.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-05-27 10:08:32 +00:00
..
ArmCrashDumpDxe ArmPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmGic ArmPkg/ArmGic: Fix maximum number of interrupts in GICv3 2021-05-27 10:08:32 +00:00
ArmPciCpuIo2Dxe ArmPkg: Fix various typos 2019-07-04 12:20:28 +01:00
ArmScmiDxe ArmPkg: Update SCMI Base Protocol version to 0x20000 2021-05-10 15:46:42 +00:00
CpuDxe ArmPkg: Correct small typos 2021-04-28 12:03:51 +00:00
CpuPei ArmPkg: Fix various typos 2019-07-04 12:20:28 +01:00
GenericWatchdogDxe ArmPkg: Fix Ecc error 8003 2021-04-28 12:03:51 +00:00
MmCommunicationDxe ArmPkg: Fix Ecc error 6001 in MmCommunicationDxe 2021-04-15 19:53:39 +00:00
TimerDxe ArmPkg: Fix Ecc error 5007 in TimerDxe 2021-01-06 16:22:54 +00:00