@@ -538,6 +538,7 @@ static void gic_cpu_restore(unsigned int gic_nr)
u32 *ptr;
void __iomem *dist_base;
void __iomem *cpu_base;
+ u32 reg[5];
if (gic_nr >= MAX_GIC_NR)
BUG();
@@ -562,6 +563,10 @@ static void gic_cpu_restore(unsigned int gic_nr)
writel_relaxed(GICC_INT_PRI_THRESHOLD, cpu_base + GIC_CPU_PRIMASK);
gic_cpu_if_up();
+
+ for (i = 0; i < 5; i++)
+ reg[i] = readl_relaxed(dist_base + 0x200 + i * 4);
+ printk("%s add = %x, %x, %x, %x, %x, %x\n",__func__, dist_base, reg[0], reg[1], reg[2], reg[3], reg[4]);
}
static int gic_notifier(struct notifier_block *self, unsigned long cmd, void *v)