]> 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>
Thu, 17 Sep 2020 11:45:23 +0000 (13:45 +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 d131c54acd3ec07e43499d1cc46522281b6edbf2..ab01b75bfa67df8b0863cd010e3c5749f6542f23 100644 (file)
@@ -83,6 +83,8 @@
 
        arcpct: pct {
                compatible = "snps,archs-pct";
+               interrupt-parent = <&cpu_intc>;
+               interrupts = <20>;
        };
 
        /* TIMER0 with interrupt for clockevent */