Re: [PATCH 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-05-20 Thread Marc Zyngier
On Tue, May 20 2014 at 2:26:33 am BST, Feng Kan wrote: >>> #ifdef CONFIG_CPU_PM >>> @@ -613,7 +636,7 @@ static void gic_cpu_restore(unsigned int gic_nr) >>> dist_base + GIC_DIST_PRI + i * 4); >>> >>> writel_relaxed(GIC_INT_PRI_THRESHOLD, cpu_base +

Re: [PATCH 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-05-20 Thread Marc Zyngier
On Tue, May 20 2014 at 2:26:33 am BST, Feng Kan f...@apm.com wrote: #ifdef CONFIG_CPU_PM @@ -613,7 +636,7 @@ static void gic_cpu_restore(unsigned int gic_nr) dist_base + GIC_DIST_PRI + i * 4); writel_relaxed(GIC_INT_PRI_THRESHOLD, cpu_base +

Re: [PATCH 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-05-19 Thread Feng Kan
>> #ifdef CONFIG_CPU_PM >> @@ -613,7 +636,7 @@ static void gic_cpu_restore(unsigned int gic_nr) >> dist_base + GIC_DIST_PRI + i * 4); >> >> writel_relaxed(GIC_INT_PRI_THRESHOLD, cpu_base + GIC_CPU_PRIMASK); >> - writel_relaxed(GIC_CPU_ENABLE,

Re: [PATCH 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-05-19 Thread Marc Zyngier
On Fri, May 16 2014 at 11:20:13 pm BST, Feng Kan wrote: > This change is made to preserve the GIC v2 bypass bits in the > GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec). > This code will preserve all bits configured by the bootloader regarding > v2 bypass group bits. In the

Re: [PATCH 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-05-19 Thread Feng Kan
#ifdef CONFIG_CPU_PM @@ -613,7 +636,7 @@ static void gic_cpu_restore(unsigned int gic_nr) dist_base + GIC_DIST_PRI + i * 4); writel_relaxed(GIC_INT_PRI_THRESHOLD, cpu_base + GIC_CPU_PRIMASK); - writel_relaxed(GIC_CPU_ENABLE, cpu_base +

Re: [PATCH 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-05-19 Thread Marc Zyngier
On Fri, May 16 2014 at 11:20:13 pm BST, Feng Kan f...@apm.com wrote: This change is made to preserve the GIC v2 bypass bits in the GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec). This code will preserve all bits configured by the bootloader regarding v2 bypass group bits.