audk/ArmPkg/Drivers/ArmGic
Ard Biesheuvel eadbec0109 ArmPkg: reduce sysreg access count in GIC revision probe
Accesses to system registers are disproportionately heavy-weight
when executed under virtualization, since each one involves two
world switches (from guest to host and back again).

So change the sequence that enables the GIC SRE interface so that
it performs only a single sysreg read to test whether the SRE
interface is enabled already, and only performs a write and an
additional read if that turns out not to be the case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17596 6f19259b-4bc3-4df7-8a09-765794883524
2015-06-09 09:28:06 +00:00
..
AArch64 ArmPkg: reduce sysreg access count in GIC revision probe 2015-06-09 09:28:06 +00:00
Arm ArmPkg: reduce sysreg access count in GIC revision probe 2015-06-09 09:28:06 +00:00
GicV2 ArmPkg/ArmGic: Use the GIC Redistributor instead of GIC Distributor for GICv3 2015-02-16 10:23:42 +00:00
GicV3 ArmPkg/ArmGic: Fix GICv3 in GICv2 legacy mode 2015-02-25 18:42:36 +00:00
ArmGicCommonDxe.c ArmPkg/ArmGic: Move RegisterInterruptSource() to the common GicDxe file 2014-07-04 11:26:33 +00:00
ArmGicDxe.c ArmPkg/ArmGic: Added GicV3 support to ArmGicDxe 2014-10-27 10:30:53 +00:00
ArmGicDxe.h ArmPkg/ArmGic: Added GicV3 support to ArmGicDxe 2014-10-27 10:30:53 +00:00
ArmGicDxe.inf ArmPkg/ArmGic: enable ARE bit before driving GICv3 in native mode 2015-02-16 10:27:02 +00:00
ArmGicLib.c ArmPkg/ArmGic: enable ARE bit before driving GICv3 in native mode 2015-02-16 10:27:02 +00:00
ArmGicLib.inf ArmPkg/ArmGic: enable ARE bit before driving GICv3 in native mode 2015-02-16 10:27:02 +00:00
ArmGicNonSecLib.c ArmPkg/ArmGic: Fix GICv3 in GICv2 legacy mode 2015-02-25 18:42:36 +00:00
ArmGicSecLib.c ArmPkg/ArmGic: Introduced support for GicV2 to ArmGicLib 2014-07-04 14:36:42 +00:00
ArmGicSecLib.inf ArmPkg/ArmGic: enable ARE bit before driving GICv3 in native mode 2015-02-16 10:27:02 +00:00