]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ARC: HSDK: wireup perf irq
authorVineet Gupta <vgupta@synopsys.com>
Fri, 10 Jul 2020 02:52:32 +0000 (19:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 08:46:26 +0000 (10:46 +0200)
[ Upstream commit fe81d927b78c4f0557836661d32e41ebc957b024 ]

Newer version of HSDK aka HSDK-4xD (with dual issue HS48x4 CPU) wired up
the perf interrupt, so enable that in DT.
This is OK for old HSDK where this irq is ignored because pct irq is not
wired up in hardware.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arc/boot/dts/hsdk.dts

index 57d81c6aa379d59cc2fe9a8ecdf0419d10488474..aeacea148793c5d661464ea934f40a406818cec3 100644 (file)
@@ -79,6 +79,8 @@
 
        arcpct: pct {
                compatible = "snps,archs-pct";
+               interrupt-parent = <&cpu_intc>;
+               interrupts = <20>;
        };
 
        /* TIMER0 with interrupt for clockevent */