From patchwork Thu Jul 12 13:02:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10521661 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 AA9C66028E for ; Thu, 12 Jul 2018 13:02:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93A4229649 for ; Thu, 12 Jul 2018 13:02:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87C0729653; Thu, 12 Jul 2018 13:02:27 +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 4154A29649 for ; Thu, 12 Jul 2018 13:02:27 +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:References: In-Reply-To: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:List-Owner; bh=XsPh8Cw90PGIQWcif/FlsZvjHxwuzyTAIva0VcRviy4=; b=C+gXU4kRrmy1+uw7IN+X4EaEhe tG/HW0zxgvdkPywSgPSbch4wOsVfHStMLxq2cwBLfrE/0jVtTljivCfq3OjtMrvVVEV179KAcJ+dh /5wTgHfO9YT2sz2IX/CFSPIYTnNsF9lkxBON50lJxK1VbdDhifi9NRrf1lmgowgeNeAP6vLGbWtgx 4RUJ2p1Pg7uGDTlaweAETFVFQ1q6+oBQgaebLNBuCbdmw3W8j59mZOReHPSwhSP9+Wr+u+04Xdbki cXWBar0usBQ4qYCNcPkAuAhaub+uzdVGBgfz9ORrIlfD7EmuAuWdjFeF1jS29y5XtVrrqvqDZJEGG IdnkInoQ==; 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 1fdbEj-0002uJ-On; Thu, 12 Jul 2018 13:02:21 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdbEW-0002fV-9s for linux-arm-kernel@lists.infradead.org; Thu, 12 Jul 2018 13:02:09 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0897B1A0065; Thu, 12 Jul 2018 15:01:55 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C754B1A0052; Thu, 12 Jul 2018 15:01:54 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 3E15340A59; Thu, 12 Jul 2018 06:01:54 -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 w6CD1o9C015104; Thu, 12 Jul 2018 06:01:53 -0700 From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 2/3] ARM: dts: imx51-babbage: Enable secure-reg-access Date: Thu, 12 Jul 2018 10:02:37 -0300 Message-Id: <1531400558-20700-2-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531400558-20700-1-git-send-email-fabio.estevam@nxp.com> References: <1531400558-20700-1-git-send-email-fabio.estevam@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180712_060208_477759_D58D71AA X-CRM114-Status: UNSURE ( 7.47 ) 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 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: Fabio Estevam --- arch/arm/boot/dts/imx51-babbage.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index a4a6d4a..ba60b0c 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts @@ -396,6 +396,10 @@ status = "okay"; }; +&pmu { + secure-reg-access; +}; + &ssi2 { status = "okay"; };