ARM: gic: Allow gic arch extensions to provide irqchip flags
PATCH 1/1 ARM: gic: Allow gic arch extensions to provide irqchip flags
Tegra can benefit from the IRQCHIP_MASK_ON_SUSPEND flag, allow it to be passed to the gic irq chip.
--- arch/arm/common/gic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/common/gic.c +1 -0
@@ -576,6 +576,7 @@ void __init gic_init(unsigned int gic_nr, unsigned int irq_start,if (gic_nr ==0 ) gic_cpu_base_addr = cpu_base; + gic_chip.flags |= gic_arch_extn.flags;gic_dist_init (gic, irq_start);gic_cpu_init (gic);gic_cpu_pm_init (gic);
Signature · 1 line
1.7.4.1
Quoted 4 lines · Colin Cross
Tegra can benefit from the
IRQCHIP_MASK_ON_SUSPENDflag, allow it to be passed to the gic irq chip.Signed-off-by Colin Cross<[email protected]>
I missed this patch. Looks good to me and I think can be merged in rc as well.
Quoted 9 lines
--- arch/arm/common/gic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/common/gic.c +0
-0
arch/arm/common/gic.c void __init gic_init(unsigned int gic_nr, unsigned int irq_start, · line 582
Quoted 7 lines
arch/arm/common/gic.c +1
-0@@ -576,6 +576,7 @@ void __init gic_init(unsigned int gic_nr, unsigned int irq_start,if (gic_nr ==0 ) gic_cpu_base_addr = cpu_base; + gic_chip.flags |= gic_arch_extn.flags;gic_dist_init (gic, irq_start);gic_cpu_init (gic);gic_cpu_pm_init (gic);
Russell,
Any thoughts on this fix?
Regards
Santosh
Quoted 10 lines · Santosh Shilimkar
Quoted 5 lines · Colin Cross
Tegra can benefit from the
IRQCHIP_MASK_ON_SUSPENDflag, allow it to be passed to the gic irq chip.Signed-off-by Colin Cross<[email protected]>I missed this patch. Looks good to me and I think can be merged in rc as well.
There is no need for this in an rc unless another patch destined for rc needs to set the flags, which is unlikely at this point.
Quoted 24 lines
Quoted 16 lines
---
?arch/arm/common/gic.c | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/common/gic.c +1
-0@@ -576,6 +576,7 @@ void __init gic_init(unsigned int gic_nr, unsigned int irq_start, ? ? ? ?if (gic_nr == 0) ? ? ? ? ? ? ? ?gic_cpu_base_addr = cpu_base; + ? ? ? gic_chip.flags |= gic_arch_extn.flags; ? ? ? ?gic_dist_init(gic, irq_start); ? ? ? ?gic_cpu_init(gic);Quoted 1 line
? ? ? ?gic_cpu_pm_init(gic);
Russell,
Any thoughts on this fix?Regards
Santosh