From patchwork Mon Sep 21 16:26:56 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: 263728 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=-14.2 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 868D0C43466 for ; Mon, 21 Sep 2020 16:38:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5331D2399C for ; Mon, 21 Sep 2020 16:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600706280; bh=OphiMRy2Sjj+l4Bu93avxMyTCq0TIBoUcuvwzCXgTPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=TAViwSz5Sqj+UO+HjtEBnjUAEUkXuaTP2kmT+1sVd+qlWriVj/LrNYeSpU24J9NgA e3eBKoR2L5v/IWmuKd+Acx4qs3I4zs4BKafIjy9xusthVpV4hL4TwLxoIdsWp/FYPV ig4ej3VOQWMllGtYCrSsoKKj5GHsT4zVd8wbMeXg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728617AbgIUQh7 (ORCPT ); Mon, 21 Sep 2020 12:37:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:38076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729079AbgIUQhe (ORCPT ); Mon, 21 Sep 2020 12:37:34 -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 34360238EE; Mon, 21 Sep 2020 16:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600706253; bh=OphiMRy2Sjj+l4Bu93avxMyTCq0TIBoUcuvwzCXgTPw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bjvIG3D9TSLNN9Pz9nz+v7RdYcwAG3UQYO0ayRkvuAIPVyrZbqFUPAV7aFxMxVX0m Pvv5aFqEyFZBId1dSHQ5bMZvFB4TBkPfnaOdiI10L3i1xrOAmTRJYirSJY/gC6tnb6 R/wwUc2o+ctCMNMpWv06stgYLJn5RUhlZ9RJvrRY= 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.14 09/94] ARC: HSDK: wireup perf irq Date: Mon, 21 Sep 2020 18:26:56 +0200 Message-Id: <20200921162035.970573949@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921162035.541285330@linuxfoundation.org> References: <20200921162035.541285330@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 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 57d81c6aa379d..aeacea148793c 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -79,6 +79,8 @@ arcpct: pct { compatible = "snps,archs-pct"; + interrupt-parent = <&cpu_intc>; + interrupts = <20>; }; /* TIMER0 with interrupt for clockevent */