Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5411085yba; Tue, 30 Apr 2019 14:26:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHpK+J0tsVaQego3m9Tt/BmwDSNZthEEeMvmebrnlTcSJYjcXVzoMJHB2p4WSGYdVJd0If X-Received: by 2002:a63:c145:: with SMTP id p5mr68394631pgi.339.1556659561997; Tue, 30 Apr 2019 14:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556659561; cv=none; d=google.com; s=arc-20160816; b=X6xwp0eFRBMvDapvLtIcjfvv5jH1xtZW/ed5thN5EsIppJLXia+mgq7yJOPbZNBQGC 0eNvJ9d2Uxc/TjK1CEa863bBnG/W/oUeSj0IgZc5C4DFRmT36hUe7EoT2zBXeHKxtl2U HGvPPiBTR9WrLXmFh4yOEG2q4IQ86R9DbXyNbeSYdJ71pv3ibX6XmcaWYV4oMB/lWTnn xmpTpphVMURPm2utx8q4TxN3eKWci7FCESa7vTMx2YYyBhdhlBkiBzO6dfunv21dKWGo DwxPLjSnTvPsHLCytxXn+T7NdiEwLy02p+a0pP5Fp6EALbvyaT5wjp/LBvBsBvno/8XG 56DQ== 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 :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=JOZLpmB1tmFont7oMkIPI2hxuxW5qxxPRMV6ScYkV90=; b=TtcsOF03qnUxKaPG+jeV4wLkC7tBLtleL/LaZiirqETD1HE1+0lTbFZkA+wZg5GMCN MNgcLbg7bshl5xgKzWJhzoflssaO3+Uq4E/49S+G7qkXGdZH+Vy2PlEPFvTxQACEyyIS EQWszAZ4znEGl3xrrYLmlzEHWwM5nH90ucCc/LU9a6zxE38KcYA1VIrEkpFoL/F7HYjQ B4hbxtggRIplcLIl24J5PUhqv80AZF1XnPOuzRQde/G++3Tm9vT33QTBDssiyz45nLXJ HH4pZ8zJQOEPCPrUgB7tgmh5NTyx1Okgbb21iRzUo3MyVKzCxZd+suLIGGQ5RI3g6iKG 0Fzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="rAa6/+Dd"; 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 p12si6932713plk.368.2019.04.30.14.25.46; Tue, 30 Apr 2019 14:26:01 -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="rAa6/+Dd"; 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 S1726832AbfD3VYe (ORCPT + 99 others); Tue, 30 Apr 2019 17:24:34 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:51171 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbfD3VYe (ORCPT ); Tue, 30 Apr 2019 17:24:34 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190430212432euoutp02486f6c787f875ad6ae0c0fa7048b5784~aXYr5lUqu1617316173euoutp02o for ; Tue, 30 Apr 2019 21:24:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190430212432euoutp02486f6c787f875ad6ae0c0fa7048b5784~aXYr5lUqu1617316173euoutp02o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1556659472; bh=JOZLpmB1tmFont7oMkIPI2hxuxW5qxxPRMV6ScYkV90=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=rAa6/+Ddxxi+lWpP7syKSvJYtv3/VUvx+mhLYaEh6lrNca2BcIPktmBEgS9HNDMSB kcqpaguKlOQy/w3hBWg70BVUCToCwQm1rZANI7gQWb5j611Y/2PlWWGdB8Msr/8pA2 ZnTATpejv8PBdHir0wvAcXpl4gv6LqcZZEt0nr9Y= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190430212431eucas1p248819b7788ae13f33d9dca8cafafc89a~aXYq8qs962985829858eucas1p2h; Tue, 30 Apr 2019 21:24:31 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 27.B5.04298.F0DB8CC5; Tue, 30 Apr 2019 22:24:31 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190430212429eucas1p1d42dd180f478aa49bfd5419eab05b1a7~aXYpUI4ln0035200352eucas1p1u; Tue, 30 Apr 2019 21:24:29 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190430212429eusmtrp1d7eefc8cbfabff6bb5ecd968797759d7~aXYpEesWJ2100921009eusmtrp17; Tue, 30 Apr 2019 21:24:29 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-17-5cc8bd0f1883 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 85.54.04146.D0DB8CC5; Tue, 30 Apr 2019 22:24:29 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190430212428eusmtip15666f96bbe9cfaf73cbcef92cde7c1d3~aXYoXqPVj1048010480eusmtip1w; Tue, 30 Apr 2019 21:24:28 +0000 (GMT) Subject: Re: [PATCH v3 4/4] DT: arm: exynos4412: add event data type which is monitored To: Chanwoo Choi , 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, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, kgene@kernel.org, willy.mh.wolff.ml@gmail.com From: Lukasz Luba Message-ID: Date: Tue, 30 Apr 2019 23:24:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02SWUwTURSGvZ2ZzrS1eKkIxxUokYCGIonGMRqXSLDKi76BYLTYCSCL2AFU 1EjdQGQxaLRWENEq2OBWCqkmGC27CIhGMAXEWI2JQjRAXeISHUYib99/zn/u/c/NZQjVADWH SU7P5AzpulS1VE7Wt3zvCpvR0Ba/xPhExd413abYvvH3FFvR1EWxJe6PBNvdfYdmO48M06zN 3Uuxz++XSdmxoibEmrofSNibTYM0e62vR8L2G6ul7PGGJpptHM6j2C9tb9BarK25VIO098yD tNZmPSnV1loOa4vtVqQdsy3YLN0qX6XnUpOzOUP46h3yJMdANZnRjPd9uXIK5SKXogDJGMBL YXi0hC5AckaFqxEc8wz+E+MIRq0WQhRjCFyXXNTkiH38Myk2qhBUOH5KRDGCoLzgqURwzcSx UDhciISGD25HUGQcpARBCGe1v+79KxhGijXgsO4RBpQ4Ct69eEwLTOKF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Yxb/NDKFtc4taT+UwQtrxE89bZzBMYhWYhaZ+FpGUWkpZZSFoWMLKsYhRJLS3O Tc8tNtQrTswtLs1L10vOz93ECIzqbcd+bt7BeGlj8CFGAQ5GJR7eC24nYoRYE8uKK3MPMUpw MCuJ8HocPxojxJuSWFmVWpQfX1Sak1p8iNEU6LmJzFKiyfnAhJNXEm9oamhuYWlobmxubGah JM7bIXAwRkggPbEkNTs1tSC1CKaPiYNTqoFRKvHTw5fbO4MjE1LcLtXvDmZI3X+Pe25wgFp3 zfKjujLelblnPxR831fDtrXv/LQqNdnc+n375zx/92pF57YTfDMmvGl6t0vWp+GV+N3D7bOE L313ePlDJf5890XxNotWH1PxzwdPau/PnSHygn9aslLG4fX/jQSXb4wPvHNUgKfjyf/U6v1F SizFGYmGWsxFxYkA7tpLnAADAAA= X-CMS-MailID: 20190430212429eucas1p1d42dd180f478aa49bfd5419eab05b1a7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190419134823eucas1p1ff852194b1db655ed2dbce72b5f7f3a6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190419134823eucas1p1ff852194b1db655ed2dbce72b5f7f3a6 References: <1555681688-19643-1-git-send-email-l.luba@partner.samsung.com> <1555681688-19643-5-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/30/19 8:10 AM, Chanwoo Choi wrote: > Hi, > > On 19. 4. 19. 오후 10:48, Lukasz Luba wrote: >> 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)>; >> }; >> }; >> }; >> > > Acked-by: Chanwoo Choi Thank you, added to the patch. Regards, Lukasz > >