]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARC: HSDK: wireup perf irq
authorVineet Gupta <vgupta@synopsys.com>
Fri, 10 Jul 2020 02:52:32 +0000 (19:52 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:46:40 +0000 (14:46 +0100)
BugLink: https://bugs.launchpad.net/bugs/1896824
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
arch/arc/boot/dts/hsdk.dts

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