Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6523326ybi; Wed, 5 Jun 2019 02:14:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqx63B4m0Y4W0GyLH/C/RvlwI88p/Vl3aKm64x1NQCFYHzf/IQRPpGUMxFndcvA9QPaY1NLv X-Received: by 2002:a63:35c8:: with SMTP id c191mr2974589pga.171.1559726077723; Wed, 05 Jun 2019 02:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559726077; cv=none; d=google.com; s=arc-20160816; b=SppmqXdEuq/o1WoRvuon/irPVxgU+HL4oFURW5dalQT/tLcrFD1Z2DhZ9b3Mmc0EZl xpddnNqmqUb2wSUIhrlvJrd7VPb65Ld51ih0J8POvj9Vdr44KjE/1GuDejBPLcKRyIvu hHjD53usnObHBtdbwqBsaRATaxjNENUj6kRluZgAWkPSF4DjlR0+HLZhN22IfvKB1S4a L4DrPqETPbgcMnLIgThKDJt3f0BeyoWZnyZL32tKCnywJm7bh9iwk6sNZCfoGX9Jm13L VhFxWKgL8Mz3tYPSQwIw3ElpY9QwTWzyyUmgWkYEfhIBab2G2Z8VH5RTNAD8V7tOnoca GLeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=p1ciuR2zati+bXIjUeTHD6GvYRFmX4EBTdt0xqfp0gs=; b=RMw9SBDuwYcc1n0mpvarqX7phu5SLqTCxmgh5XP+3JmbPsk6i+tglofqnFduAGaGCD Jg7zCRQ/TPPW9SvdYUfG57l25CtVUQTrXnXWzTgkzw/PxBm9hsJQNtqq6q/ssKu5CORF VtRNDIy+EJ133x2GniyvxppWY9DEazgbYscTl+SUEOEctik5nXY24BqDkoW9k34SwHIq AvlGYLwLzGKuKGQu2KqLok3hgI7UyxAcwitAzTqL/zwYKLz8PaA62CHsFu5Lih11N+kc 2SUrrWcBPf0UOFuR5hivJxJ7djiuMqDqNHRnfOuj9OeHZljBeijkVCCfPf6zFfq6yXEj vwpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=WACTbgVy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g95si27092199pje.41.2019.06.05.02.14.21; Wed, 05 Jun 2019 02:14:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=WACTbgVy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727086AbfFEJNJ (ORCPT + 99 others); Wed, 5 Jun 2019 05:13:09 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:59897 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727047AbfFEJNI (ORCPT ); Wed, 5 Jun 2019 05:13:08 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190605091306euoutp028d211b24300c9544858da66bf557f7a2~lQoVeXpg72436924369euoutp02D for ; Wed, 5 Jun 2019 09:13:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190605091306euoutp028d211b24300c9544858da66bf557f7a2~lQoVeXpg72436924369euoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1559725986; bh=p1ciuR2zati+bXIjUeTHD6GvYRFmX4EBTdt0xqfp0gs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WACTbgVyAHB0l6iD9Tvr3LEMXFwUuXW3GqebF9wgCbxFJitROVJtOhqu0rTqMwqol XKU2Xpirak8UFEfMxfmR4CjFjoJ5ckcpM1LSFZHnYdhfbkqDHjMFYVAFg5vaiCGxp2 BIhG/TJp+XwMFsDaEf3K/HHAdRJVH6Sgkjqf8pqU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190605091305eucas1p18906cc1ffa3e78e404eac4680ea16d04~lQoU9aOOi1094610946eucas1p1K; Wed, 5 Jun 2019 09:13:05 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 62.06.04298.1A787FC5; Wed, 5 Jun 2019 10:13:05 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190605091305eucas1p136332cc3d1a299d90617bddcb365bee0~lQoUEVhb31225212252eucas1p1Q; Wed, 5 Jun 2019 09:13:05 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190605091304eusmtrp1668f764d5880035023b14fd9e0034d58~lQoT0ouvC0947509475eusmtrp1f; Wed, 5 Jun 2019 09:13:04 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-53-5cf787a1075e Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 05.8A.04140.0A787FC5; Wed, 5 Jun 2019 10:13:04 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190605091304eusmtip1ecc8c4f8c8d4a4be73f8d5f8f90d3da7~lQoTHWPOr2955629556eusmtip1j; Wed, 5 Jun 2019 09:13:03 +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 v4 5/5] DT: arm: exynos4412: add event data type which is monitored Date: Wed, 5 Jun 2019 11:12:36 +0200 Message-Id: <20190605091236.24263-6-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190605091236.24263-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTcRTvf+/u7nW1uE3Lk0nWosgemlD0hyLT/DApyIw+ZJLd9DIjH7mr phm5inz1UJRqSE98lc60+Whqa6VrM7SWFhqJIQ6MzCIfWUFZXa/Wtx+/1zkcDkOqaigv5khC Mq9L4OLUcoWs0f7Duf529rfIDf25a/F9Qw2FeyfeU/im7QWF810fSex01tL4+ZkRGr/Ve2OT q4fCr5qvyfH4RRvCBucjAlfb+mlc1ttF4L7Td+T4nMVG47aRbApPtg+i7Qs0xhtGpGkq7qc1 pspcuaauNFPz5PNDQnOpvhJpxk1Lw+gIxdYYPu5IKq/z33ZIEWt9Okoc+6BM6/wRpEd6RR5y Y4DdCIUF5bI8pGBU7B0E5qttlCio2AkE7177SsI4AkvuaWo2MXqpi5SECgSu0hL0L9GSsycP MYyc9QNzZZJIe7AlCCbbIkQ/yZYT8OjsGCEK7uw+6G8YnM7K2JXQ92tiGivZQPjZZCakYT5Q VfuYFDvd2O1QZwgUe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A42Xbs55YdjF3vgg8xCnAwKvHwfkj8 FiPEmlhWXJl7iFGCg1lJhDfx9pcYId6UxMqq1KL8+KLSnNTiQ4ymQDdNZJYSTc4HxnBeSbyh qaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQbGvZ2+69fdveez02LT4voN U67NMrVrc3kummx+y4Onw3nV/RM/Jwv1zFcPLUmYfeN1z/UCF7XuLY7JH9y7QgS8bv16433t 9VX2muXxSY7X2T8fXHFg7tOw13v8PNvvdbnd7lV9wv42evXTbEuD2u9HDz2L/NHXf4OFnUNi d93uHwJ35q51MnYUVGIpzkg01GIuKk4EAMWQWpqpAgAA X-CMS-MailID: 20190605091305eucas1p136332cc3d1a299d90617bddcb365bee0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190605091305eucas1p136332cc3d1a299d90617bddcb365bee0 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190605091305eucas1p136332cc3d1a299d90617bddcb365bee0 References: <20190605091236.24263-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Acked-by: Chanwoo Choi 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 3a3b2fafefdd..549faba85a7a 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)>; }; }; }; -- 2.17.1