]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c
ArmPkg/ArmGicLib: select GICv2 mode if SRE is present but unavailable
[mirror_edk2.git] / ArmPkg / Drivers / ArmGic / GicV3 / ArmGicV3Dxe.c
index 8042f718f5b092e86bccec006f7e6a7eae63c2f3..f756d308038617cbf659137f942b8abcafef806d 100644 (file)
@@ -281,14 +281,6 @@ GicV3DxeInitialize (
     }\r
   }\r
 \r
-  // Make sure System Register access is enabled (SRE). This depends on the\r
-  // lower levels giving us permission, otherwise we will cause an exception\r
-  // here.\r
-  // Note: We do not need to set ICC_SRE_EL2.Enable because the OS is started at the\r
-  // same exception level.\r
-  // It is the OS responsibility to set this bit.\r
-  ArmGicV3SetControlSystemRegisterEnable (ArmGicV3GetControlSystemRegisterEnable () | ICC_SRE_EL2_SRE);\r
-\r
   // Set binary point reg to 0x7 (no preemption)\r
   ArmGicV3SetBinaryPointer (0x7);\r
 \r