Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3939773yba; Wed, 17 Apr 2019 00:49:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTG+8VYT9Q/ouEIr+sF+7Ge1/v62za83UipTOFviDHJoinIkRZULIVgYzr7eUpGDAcPUfW X-Received: by 2002:a62:6f47:: with SMTP id k68mr71404779pfc.196.1555487385996; Wed, 17 Apr 2019 00:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555487385; cv=none; d=google.com; s=arc-20160816; b=L9pfin9mQmMdBvdgYsbuz3xtFr2BHOFFbipr8cEBtCYyS0NGhRl+f9N0txvcON2nJ+ 0ytJmlfHImmlf2M1nyT+RSFzFiEsbaCfV5n27f5Vr6w60JbNO86tHspebdlw0QROS02P uyxv03BASM0YKFhFYwXkjYSb0/HkCiN6u8ul2727B/etS8kJ8r7GSzlgYUUY/2WLrAhB sWjlOULZzoawF56CZk0usfxeHOxWJTTyavxL9FQKHtkSwCpbB86xWVt61JbaiBu0eVcW J20hjIXjVBCS3pWWBNxKS+si7mKdkz2kzZ/o5xE95Qyhk/Bg+tBjP7jZxLcjUDa8MbNi 93sg== 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:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=qcoBq5tBOKGZTWog231jA3ntWKkNru5PluYdYR46n7A=; b=bpC1ev2pn2pHFSjFMTEw/YLLSiYCSN4gw9LnTQ6j2bqqFLpWrruiudhOP7UZB2iTWZ KSFBxE6IVux76TaOPv2coY6QLdo1jbneGfdAUGYU6BU+CsUyIOGq5vhNswyEb3fyGAtK krkGv5kAbQN2mpeuis0QOkptDEbq0Hd5e5O17q0oJ4NIzyPZgEAHwahBF3XlDc5iXkyM 9qrk9OeyThqfyoowac0XZB8Q+rky+IM5EPY7rKHTs1uS1ndzk7wOINiQJfGDzgZzPPMs xG2OylWPdQw16HueL8KGLp2bdr63ISTOJXmk/wVvyEqZoC9FZqNvH2Uj6tLQnxXSpK8r NziQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HxzHhrBF; 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 d21si30731281pgh.255.2019.04.17.00.49.31; Wed, 17 Apr 2019 00:49:45 -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=HxzHhrBF; 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 S1731141AbfDQHsd (ORCPT + 99 others); Wed, 17 Apr 2019 03:48:33 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40618 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731171AbfDQHsd (ORCPT ); Wed, 17 Apr 2019 03:48:33 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190417074831euoutp02864d4e4699cbb327d355b197cac165c8~WM3fsSYWH0393303933euoutp02M for ; Wed, 17 Apr 2019 07:48:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190417074831euoutp02864d4e4699cbb327d355b197cac165c8~WM3fsSYWH0393303933euoutp02M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555487311; bh=qcoBq5tBOKGZTWog231jA3ntWKkNru5PluYdYR46n7A=; h=From:To:Cc:Subject:Date:References:From; b=HxzHhrBF8iuBUzsVFllF4yjrjvCpEUxzanNqVupeSTntTlhnEdhThAn0tPK3Q/OFb Hqt/GhF751EBSdIfhKFXmZZ8Aws16o9aD7MHHGpk0gK+5HDom6epCAnxxLl9Hf2KKX WsIc6yBpcZkAiIMPs8sjgMVOiQTky2ejuFU21seY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190417074830eucas1p1482672c0db81cb6a73cac342bd5f3fd8~WM3e25dQM1289812898eucas1p1D; Wed, 17 Apr 2019 07:48:30 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id DB.3E.04377.E4AD6BC5; Wed, 17 Apr 2019 08:48:30 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190417074829eucas1p234e664f9bf295eca8d2fad6ba953f37c~WM3d-LbEF2287122871eucas1p2q; Wed, 17 Apr 2019 07:48:29 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190417074829eusmtrp2d5795a77e97e5b21883f40917d5cf787~WM3dvb-o72697726977eusmtrp23; Wed, 17 Apr 2019 07:48:29 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-81-5cb6da4e1404 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 2F.47.04140.D4AD6BC5; Wed, 17 Apr 2019 08:48:29 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190417074828eusmtip1524b9a6a70ae3e0faf20f312728f4550~WM3dEkjVB0059200592eusmtip1q; Wed, 17 Apr 2019 07:48:28 +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 Subject: [PATCH 0/3] Exynos Performance Monitoring Counters enhancements Date: Wed, 17 Apr 2019 09:48:05 +0200 Message-Id: <1555487288-4777-1-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDKsWRmVeSWpSXmKPExsWy7djP87p+t7bFGHzbz2+xccZ6VovrX56z Wsw/co7Vov/xa2aL8+c3sFucbXrDbnGrQcZi0+NrrBaXd81hs/jce4TRYsb5fUwWa4/cZbdY ev0ik8XtxhVsFq17j7BbHH7Tzuog4LFm3hpGj02rOtk8Ni+p9zj4bg+TR9+WVYwenzfJBbBF cdmkpOZklqUW6dslcGV8fPWdpeAYZ8W2k6tZGhjnsHcxcnJICJhIXN3+kBHEFhJYwSixri+k i5ELyP7CKHH17QoWCOczo8Sk5l1sMB0zph+ESixnlNi+9xMbXMvNd9uYuxg5ONgE9CR2rCoE aRARWMwo8e1wFEgNs0Ank8S7yXvAJgkLeEhcvPKECcRmEVCV6J6xFszmFfCUeDd1AiPENjmJ m+c6mUGaJQQWsUvca58NdbiLxNsHN1khbGGJV8e3QMVlJP7vnM8EYRdLNPQuhBpUI/G4fy5U jbXE4eMXWUEOZRbQlFi/Sx8i7AhUfo4RJCwhwCdx460gSJgZyJy0bTozRJhXoqNNCKJaQ2JL zwWoRWISy9dMY4co8ZDY35cOCdBYiXV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Uf9WXcMrsOuQwtaMF3dyU1VneQh//MXYJKe67kBYkP4/ z9dHtm1YfSP8OfdKvufczt19Rt/lT+yblGbz4d1kS8spam13xCymZzMsyp+xwetlhkLqm2Mn Yt9EXyz+un3p2YJzSz8unhjEtvynxd+uSDcP63lL1/3dyWztNG0GixJLcUaioRZzUXEiAOMC tAeJAgAA X-CMS-MailID: 20190417074829eucas1p234e664f9bf295eca8d2fad6ba953f37c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190417074829eucas1p234e664f9bf295eca8d2fad6ba953f37c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190417074829eucas1p234e664f9bf295eca8d2fad6ba953f37c References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This patch set extends PPMU on Samsung Exynos by choosing type of data which shell be counter in the PPMU registers. It is possible to count e.g. read or write requests, read or write data. A new field has been added in the DT 'event' node called 'event-data-type'. It is them used during the setup of the counter. In the prevoius implementation there was always one option used: count read+write data. Sometimes we need more precised information and this patch set tries to address it. Regards, Lukasz Luba Lukasz Luba (3): include: dt-bindings: add Performance Monitoring Unit for Exynos drivers: devfreq: events: extend events by type of counted data Documentation: devicetree: add PPMU events description .../bindings/devfreq/event/exynos-ppmu.txt | 18 ++++++++++ MAINTAINERS | 5 +++ drivers/devfreq/event/exynos-ppmu.c | 38 +++++++++++++++------- include/dt-bindings/pmu/exynos_ppmu.h | 24 ++++++++++++++ include/linux/devfreq-event.h | 6 ++++ 5 files changed, 79 insertions(+), 12 deletions(-) create mode 100644 include/dt-bindings/pmu/exynos_ppmu.h -- 2.7.4