Skip to content

Commit 9c12845

Browse files
colincrossSantosh Shilimkar
authored andcommitted
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. Signed-off-by: Colin Cross <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Tested-and-Acked-by: Shawn Guo <[email protected]> Tested-by: Vishwanath BS <[email protected]>
1 parent 746a9d1 commit 9c12845

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/common/gic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ void __init gic_init(unsigned int gic_nr, unsigned int irq_start,
544544
if (gic_nr == 0)
545545
gic_cpu_base_addr = cpu_base;
546546

547+
gic_chip.flags |= gic_arch_extn.flags;
547548
gic_dist_init(gic, irq_start);
548549
gic_cpu_init(gic);
549550
gic_pm_init(gic);

0 commit comments

Comments
 (0)