From patchwork Thu Apr 18 13:38:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 10907315 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0727C922 for ; Thu, 18 Apr 2019 13:39:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4A1227031 for ; Thu, 18 Apr 2019 13:39:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D831928852; Thu, 18 Apr 2019 13:39:01 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75A9627D0C for ; Thu, 18 Apr 2019 13:39:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388920AbfDRNi7 (ORCPT ); Thu, 18 Apr 2019 09:38:59 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49742 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389125AbfDRNi7 (ORCPT ); Thu, 18 Apr 2019 09:38:59 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190418133857euoutp0253f963ecc03e0ca5201de0b924eff8dd~WlSwNZWxo0683106831euoutp02a for ; Thu, 18 Apr 2019 13:38:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190418133857euoutp0253f963ecc03e0ca5201de0b924eff8dd~WlSwNZWxo0683106831euoutp02a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555594737; bh=HLV8RfTTYMJHCpoVzMgMpnDdAuBIjRTs2a5rElTq130=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZP95B7Kq2OhdrD+IOB1OVcIXt4sgsgRwrXs5Ekccd+5PyEFoScMNLlB2Qaucp5J5s ue9sBs0VZZXjmBSkHfKbCOw87Ksjq9sE1IJvJUug6XumXrbCP4PQ28TNqKxO0oc3KM fkwJzbCgzG7OFVya9jNeF7rwHaQWVMEI9eKyGx5I= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190418133856eucas1p2eeda585b068536cdbbc766367c0b1780~WlSvf-CXB0537305373eucas1p2m; Thu, 18 Apr 2019 13:38:56 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 12.D2.04298.0FD78BC5; Thu, 18 Apr 2019 14:38:56 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190418133855eucas1p1db74567290fce23da354ab09d69741e6~WlSuesWtG2247222472eucas1p1_; Thu, 18 Apr 2019 13:38:55 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190418133855eusmtrp2447dce42e5066c5bd8d1a5fa7c7cdc13~WlSuQrpWF2812628126eusmtrp2C; Thu, 18 Apr 2019 13:38:55 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-94-5cb87df0a06d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9B.55.04140.FED78BC5; Thu, 18 Apr 2019 14:38:55 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190418133854eusmtip2e617380c23a9387f6e6b8d92b32c051b~WlSthc5--2312923129eusmtip2E; Thu, 18 Apr 2019 13:38:54 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, kgene@kernel.org, l.luba@partner.samsung.com, willy.mh.wolff.ml@gmail.com Subject: [PATCH v2 4/4] DT: arm: exynos4412: add event data type which is monitored Date: Thu, 18 Apr 2019 15:38:32 +0200 Message-Id: <1555594712-18341-5-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555594712-18341-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCKsWRmVeSWpSXmKPExsWy7djP87ofanfEGMy6oG6xccZ6VovrX56z Wsw/co7Vov/xa2aL8+c3sFucbXrDbnGrQcZi0+NrrBaXd81hs/jce4TRYsb5fUwWa4/cZbdY ev0ik8XtxhVsFq17j7BbHH7Tzmrx7cQjRgdBjzXz1jB67Jx1l91j06pONo/NS+o9Dr7bw+TR t2UVo8fnTXIB7FFcNimpOZllqUX6dglcGYtXnmMtWMdbsfvRctYGxlOcXYycHBICJhKdZ7sZ uxi5OIQEVjBKfD/QzArhfGGU+Lf2CjOE85lRYv7hDqAyDrCWF5cFIeLLGSWetU5nh+s4f3IR K0gRm4CexI5VhSArRAQWM0p8OxwFUsMssIxJYl/zJyaQhLBAqET37zesIDaLgKrEljlnmEFs XgEv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2sILYQUM2+ HT9YJjDyLWBkWMUoklpanJueW2ykV5yYW1yal66XnJ+7iREYKduO/dyyg7HrXfAhRgEORiUe XonMHTFCrIllxZW5hxglOJiVRHgdU7bECPGmJFZWpRblxxeV5qQWH2I0BTpqIrOUaHI+MIrz SuINTQ3NLSwNzY3Njc0slMR5zxtURgkJpCeWpGanphakFsH0MXFwSjUw6ipWHyz9u8NVUHP3 NxcL464re9iq3Bj7BY5fYlaf8E/1xpdL92NXvJPNdTp/XXb6TKWKW4c/fHjBllby6clZBcsk TnP2wkqZvB0X0jau4XEq1t9zbqV7tWxlz8YOrZlRbddCm2+fnbGVMf61fEVQ/xXjx6G+Haf7 kvwtFuV/dbQ6a/bE/Ms/JZbijERDLeai4kQAMTMN4qoCAAA= X-CMS-MailID: 20190418133855eucas1p1db74567290fce23da354ab09d69741e6 X-Msg-Generator: CA X-RootMTR: 20190418133855eucas1p1db74567290fce23da354ab09d69741e6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190418133855eucas1p1db74567290fce23da354ab09d69741e6 References: <1555594712-18341-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The patch adds new field in the PPMU event which shows explicitly what kind of data the event is monitoring. It is possible to change it using defined values in exynos_ppmu.h file. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos4412-ppmu-common.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-ppmu-common.dtsi b/arch/arm/boot/dts/exynos4412-ppmu-common.dtsi index 3a3b2fa..549faba 100644 --- a/arch/arm/boot/dts/exynos4412-ppmu-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-ppmu-common.dtsi @@ -6,12 +6,16 @@ * Author: Chanwoo Choi */ +#include + &ppmu_dmc0 { status = "okay"; events { ppmu_dmc0_3: ppmu-event3-dmc0 { event-name = "ppmu-event3-dmc0"; + event-data-type = <(PPMU_RO_DATA_CNT | + PPMU_WO_DATA_CNT)>; }; }; }; @@ -22,6 +26,8 @@ events { ppmu_dmc1_3: ppmu-event3-dmc1 { event-name = "ppmu-event3-dmc1"; + event-data-type = <(PPMU_RO_DATA_CNT | + PPMU_WO_DATA_CNT)>; }; }; }; @@ -32,6 +38,8 @@ events { ppmu_leftbus_3: ppmu-event3-leftbus { event-name = "ppmu-event3-leftbus"; + event-data-type = <(PPMU_RO_DATA_CNT | + PPMU_WO_DATA_CNT)>; }; }; }; @@ -42,6 +50,8 @@ events { ppmu_rightbus_3: ppmu-event3-rightbus { event-name = "ppmu-event3-rightbus"; + event-data-type = <(PPMU_RO_DATA_CNT | + PPMU_WO_DATA_CNT)>; }; }; };