From patchwork Thu Jul 12 13:02:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10521659 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 45E9A6028E for ; Thu, 12 Jul 2018 13:02:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CCC9212BE for ; Thu, 12 Jul 2018 13:02:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E079285DC; Thu, 12 Jul 2018 13:02:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3F93212BE for ; Thu, 12 Jul 2018 13:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=sWvifOliNVdoUhfB54Zgr7CeHijoeT5KEP3RoaDvihk=; b=pss /NtbnBP/yB6q1y/bQmbp4u4Kebuco7+TixigC1pWn5yDpoHEQ8H3YlFT55IjpO/zxwNZZ2F2tW1cO UENdBeOeVRQwaq36YEaslhcLBl5TcbfZjGsMuXqdE0T+EctySXn8oIBnUz6xHxt8/OSlvNG8hBB9X puuu4wzCpDy4s/mUcdcgfzu/ib2LVh1/9Iw+l/hRsdgh5eC71pjEccX9TFnkbB3cVDF2I8wr04Yts jz0V7WS6PnBN33aj+/I0d/7qDxf53Ldgm4TkldttBf2tm+o44q9JHS0w9JeX7kKFNlgVnB+kHRI+L 6av+0U7Z0bOXbGoRXU0N9apxvpXmuOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdbEX-0002gw-Vz; Thu, 12 Jul 2018 13:02:09 +0000 Received: from inva021.nxp.com ([92.121.34.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdbEV-0002fM-3q for linux-arm-kernel@lists.infradead.org; Thu, 12 Jul 2018 13:02:08 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9DAA9200114; Thu, 12 Jul 2018 15:01:53 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6875D20011D; Thu, 12 Jul 2018 15:01:53 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id D398040A56; Thu, 12 Jul 2018 06:01:52 -0700 (MST) Received: from fabio-Latitude-E5450.am.freescale.net (fabio-Latitude-E5450.am.freescale.net [10.29.244.117]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w6CD1o9B015104; Thu, 12 Jul 2018 06:01:50 -0700 From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 1/3] ARM: dts: imx53-ppd: Enable secure-reg-access Date: Thu, 12 Jul 2018 10:02:36 -0300 Message-Id: <1531400558-20700-1-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180712_060207_311047_20611430 X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sebastian.reichel@collabora.co.uk, Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sebastian Reichel Add 'secure-reg-access' property to enable PMU and hardware counters so that they can be properly used with the 'perf' tool. Signed-off-by: Sebastian Reichel [fabio: kept the change only in imx53-ppd context] Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx53-ppd.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts index 444ec84..cdb90be 100644 --- a/arch/arm/boot/dts/imx53-ppd.dts +++ b/arch/arm/boot/dts/imx53-ppd.dts @@ -594,6 +594,10 @@ }; }; +&pmu { + secure-reg-access; +}; + &pwm1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>;