msm: mpm-8625: GIC extension for 8625

Add support for gic extensions for mask, unmask, wake.
APIs for power code to enter and exit sleep in phases.
Before power collapse the gic context is saved and during
resume context of gic is restored.

Change-Id: I1c09f530658d0abefb1b018a1c54203d8a85aca5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm7x27a.c b/arch/arm/mach-msm/devices-msm7x27a.c
index c19c133..e1276d6 100644
--- a/arch/arm/mach-msm/devices-msm7x27a.c
+++ b/arch/arm/mach-msm/devices-msm7x27a.c
@@ -34,6 +34,7 @@
 #include "footswitch.h"
 #include "acpuclock.h"
 #include "spm.h"
+#include "mpm-8625.h"
 
 /* Address of GSBI blocks */
 #define MSM_GSBI0_PHYS		0xA1200000
@@ -1584,6 +1585,7 @@
 
 void __init msm8625_init_irq(void)
 {
+	msm_gic_irq_extn_init(MSM_QGIC_DIST_BASE, MSM_QGIC_CPU_BASE);
 	gic_init(0, GIC_PPI_START, MSM_QGIC_DIST_BASE,
 			(void *)MSM_QGIC_CPU_BASE);
 }