summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-07-09 19:52:32 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-17 13:47:45 +0200
commit89c4339c4d35fa22e355bde1c8b26aa5dbb98e86 (patch)
tree1df17b94ced88559ede9a5d1b6f6b097c6acfa8e /arch/arc
parent75a81be8fb3e36c7e6267496eff9a196810c6ac6 (diff)
ARC: HSDK: wireup perf irq
[ 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>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/boot/dts/hsdk.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
index 9acbeba832c0..5d64a5a940ee 100644
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -88,6 +88,8 @@
arcpct: pct {
compatible = "snps,archs-pct";
+ interrupt-parent = <&cpu_intc>;
+ interrupts = <20>;
};
/* TIMER0 with interrupt for clockevent */