Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2306391pja; Fri, 19 Apr 2019 11:40:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/aucl2nFZR1MNXnfTKR5cKm4dQkEJLmwNBENk/Cw4/ONzkAaek/9ZVeroC1ul32oANJM6 X-Received: by 2002:a62:ed10:: with SMTP id u16mr5436410pfh.187.1555699241415; Fri, 19 Apr 2019 11:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555699241; cv=none; d=google.com; s=arc-20160816; b=kscRY3vze1fL3SWfSefmOhdfkN3iu4XNgm5ucFF0F8xrlq8oH5IcQ4NkMBuIWqrzVz M4LUlzurfiPix3HkzouCaVfdeYLLldZmEl/jPASgP2LLG4Q/RT0WNYEJE7H041ATJ+Ie Kd6FpjbzdSQz5x2AaUnTfvO121DiU7aQpvBfldprbWN6TUPiT+Rxb/kUlw4eILEO3nvj ZJD/9YakmnfiDt7sJ5ljZh+uPJRwH8G/fwaebwwSPapuiX2qzKDC/ShM/bZMbdCiWwFn rA1HiCnHS6lBUnmAn80d1E0VUSS+NTM0pbcUSzNw/2dVOAY8fMOZRiq7LtkOIN/Cc4uD m/Dw== 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=HLV8RfTTYMJHCpoVzMgMpnDdAuBIjRTs2a5rElTq130=; b=vgbtnaHc+NxWbYwbQbs5IKIJEgsZo9uB8NQUXwUIevQ71c1YXAh3VcBemTlcc9rh5l 2L2joUF+HRwogZGjjaghnsuNw/sZJWeLPYd1AaPxnHDKtlCmwVPUsxxW4KSRfx9eqApB z0n5nJeXOq+87qOfgNJeezz0XftBWwnn4mc040zxLdIE+TKjm+/KItJ3WSxVfbUvFi2M laKoRqxb3ryUX5+ED4jO0FVrFSIN5GZ0eb+XqdT1K2PG0xEF0i0+CGWOPJoXCwqOexE4 iQbnwc843Lbst1rdO67Q5sN/mZ2jc3jkJQ5wcRrGVQ71XJSfcjXuYYWUGaFUQFlnbCIJ DusA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GxcdP2ur; 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 k12si5711541pls.436.2019.04.19.11.40.25; Fri, 19 Apr 2019 11:40:41 -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=GxcdP2ur; 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 S1728277AbfDSSiS (ORCPT + 99 others); Fri, 19 Apr 2019 14:38:18 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:52244 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728290AbfDSShw (ORCPT ); Fri, 19 Apr 2019 14:37:52 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190419134825euoutp02df201ba62635f860136563a3a3452bd9~W5ETdMHO90662906629euoutp02F for ; Fri, 19 Apr 2019 13:48:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190419134825euoutp02df201ba62635f860136563a3a3452bd9~W5ETdMHO90662906629euoutp02F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555681705; bh=HLV8RfTTYMJHCpoVzMgMpnDdAuBIjRTs2a5rElTq130=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GxcdP2urj0OQVvsCtdplP9b0GvSrKZ1UdCQWrNAAInXO+f4Ge71GNkvSxaxPNDYh0 utCX8JcUNgu5ZsBWF9jnIBXAPL7QyF6c3SQnHseKCNTbitpE0Xzxq5T32Plqn+sArV h/syhVv/jqkdbUe2WykezieIxvkuFB+roJn8w14g= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190419134824eucas1p2a552ccb05f8c0f47ea9d4b24e3642b0d~W5EScF4m80964809648eucas1p2M; Fri, 19 Apr 2019 13:48:24 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 11.69.04377.8A1D9BC5; Fri, 19 Apr 2019 14:48:24 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190419134823eucas1p1ff852194b1db655ed2dbce72b5f7f3a6~W5ERw4Eg_2483224832eucas1p1g; Fri, 19 Apr 2019 13:48:23 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190419134823eusmtrp10782bb81d2f0505051df40fa19f44671~W5ERi479W2847828478eusmtrp1L; Fri, 19 Apr 2019 13:48:23 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-74-5cb9d1a8ad7a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id BD.BE.04140.7A1D9BC5; Fri, 19 Apr 2019 14:48:23 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190419134822eusmtip207d2af356ac28d0544c4c92fb930a231~W5EQ2JVYL0862908629eusmtip2i; Fri, 19 Apr 2019 13:48:22 +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 v3 4/4] DT: arm: exynos4412: add event data type which is monitored Date: Fri, 19 Apr 2019 15:48:08 +0200 Message-Id: <1555681688-19643-5-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555681688-19643-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0hTURzHO/fu7t6NVrdp+kPDYiC97R0H01BSuBRF/0RQhq28mbSp7apZ Sa3M1DEfGD1mzh5W6jLNOUQtxXRkJc5GqKmtUougfEBbQhGSt2v03+d8z+d8f4fDYUi1nQpi kpLTeEOyVqeRK2WNz3+61la5m+PW3y8LwPU36ig84PtC4VtOF4WLxr6RuLf3MY17Lo7TeMi4 BNvH+in8pqVMjr0FToRv9LYR+JHTQ+P7A24CD1+okuOcVieNO8dzKTz9YhRFLeJqymsQ11zq oTm7LV/ONdw7zz2bfEpwhQ4b4rz2kL30AWVEAq9LyuAN67YfVh6vqHZRqbWqzCejlZQRvVKY kIIBdjN4anOQCSkZNVuF4GVJIy0tfAjMzWZCtNSsF8E1c+S/E/Udd0lJqkRQZH1IStLsiW/9 C02IYeRsGDTZToqxP1uBYLrzgOiT7AMC2rK//y31Y/dBu8VHiyxjQ2HIXEyJrGJ3woh7iJ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ul5yfu4mRmCkbDv2c8sOxq53wYcYBTgYlXh4 D0zaGSPEmlhWXJl7iFGCg1lJhNcxZUuMEG9KYmVValF+fFFpTmrxIUZToJsmMkuJJucDoziv JN7Q1NDcwtLQ3Njc2MxCSZz3vEFllJBAemJJanZqakFqEUwfEwenVAPjzNVrg9ouXtZ5bmyf tFq+Kux+jNXMNOmGNMkjTGembrQ/wvKua+OLtf/SgiZOObrdbyOXAo/E36Vnf7DPySl4f7w2 xzp998Zdm+85T+gz+Vs2Vd7QpTEqOyMria/MwWaht5z8giXqr/59DkxdxqBvu+dk3HzNDsdv GeJTNVpzbi88af/oyrf3SizFGYmGWsxFxYkAx9wTmqoCAAA= X-CMS-MailID: 20190419134823eucas1p1ff852194b1db655ed2dbce72b5f7f3a6 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> 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. 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)>; }; }; }; -- 2.7.4