From patchwork Tue Sep 15 14:12:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "gregkh@linuxfoundation.org" X-Patchwork-Id: 263911 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 780D5C43461 for ; Tue, 15 Sep 2020 23:42:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 381962078D for ; Tue, 15 Sep 2020 23:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600213365; bh=5wG56LdaQbiFS+Ocf2zZ7D+B6WkKUwF9hxlX/ka52qY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=xvlnSf+5Ddj3Ha4W/UA4csqy+NpMBDJMBNOc3tX0y3OcLFOAatGGZVakEiUuukMZW TF7p9qk+7/rXGZxa9q7qbL8qAr3ZDDJeR77ONh+lphfHTQ1BO8lAm38o82dh1Wo1W5 IPKQH9GBhl1oplIOlVaZbN5ayJjLFHxtPI+rpu+Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727149AbgIOXmo (ORCPT ); Tue, 15 Sep 2020 19:42:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:48012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727022AbgIOOei (ORCPT ); Tue, 15 Sep 2020 10:34:38 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CB05A21D80; Tue, 15 Sep 2020 14:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600179328; bh=5wG56LdaQbiFS+Ocf2zZ7D+B6WkKUwF9hxlX/ka52qY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uYa7r3Vd2ISy0KnTS4eNfSwvtETWb7Mt0Ilm/w3rnInAQuekAChdAZNu0tlBm4pJs Il1bbAd4xGTWtSVJ/L1k93Puc3iix+MdSsF07r0A9QwEB3BtlzbsohFdygU2XQ0kiE oYoHKSFY+xb8xyujAm3q8LPdQ8f/AUyZi3Gr5dUE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vineet Gupta , Sasha Levin Subject: [PATCH 4.19 17/78] ARC: HSDK: wireup perf irq Date: Tue, 15 Sep 2020 16:12:42 +0200 Message-Id: <20200915140634.421430857@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915140633.552502750@linuxfoundation.org> References: <20200915140633.552502750@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Vineet Gupta [ 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 Signed-off-by: Sasha Levin --- arch/arc/boot/dts/hsdk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index d131c54acd3ec..ab01b75bfa67d 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -83,6 +83,8 @@ arcpct: pct { compatible = "snps,archs-pct"; + interrupt-parent = <&cpu_intc>; + interrupts = <20>; }; /* TIMER0 with interrupt for clockevent */