Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7022722ybi; Wed, 5 Jun 2019 09:57:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoLN8LGWVxyNg5D28LfpVpiGxf1EJ7CJLpnzb2MuYa0J9ChZ7ogRa7PdJiInGa+v663sLJ X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr44795197plg.190.1559753866669; Wed, 05 Jun 2019 09:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559753866; cv=none; d=google.com; s=arc-20160816; b=Jaz88VAB829Bebn1yJACtgndOIEnfe2xeLKNC6B1yGT+3wIMq1rv97/CBkpeKQHzMX 09LXZrjx64Qqlhsr8HCzCbI3rUgP2e8u0ReARJ26stWmtJ94Zi1IgYG1TdTgXROY1qlw bZbFTrHodVfW88LxqDxGqoGfwU3G0r/PYp6PoY8XMH6LHC2fpGsJMD4/MaY1ALbHrt32 fwPHc3nW4DzUbXTGnY4WOZoDWUNuxlc4V2ps8nuLMpHHVZx28ZccDgGNnBm0zFTxAOFd zuUvD4ZuxU2YPiP2CAZdr3u++IpwHwWy/mYbZ6ozvR5CFvjFudAGhXkkz2JQaFR/kqUh C0oQ== 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=UBJ3ezgLAW9CV2O9TqzTmKdZoxg8g/WoDRJ0caW6E6Q=; b=gIKZAnYSB9BRhqhPS40A/xUdNIwmdAJB832gCSisvmbkYg6J6vkYZRbHgCSaAeHL6t 4mTp84VOC0k4COAKdSczeJNuWYOYumqc+GxP9vO8Ijd47pG+SFVzgM0jE294uXTY7Wuf cpCGCznm8oZQoD8MU40WRkkm3X/oBJN1w/b3fLT48jV8qLZO/8gac9a1pUjUg7OV4106 7iyLqNkiM6FspF+VlkQ5hEfRAtla/v8PfJlWSzD6g4ON3GLjH4Xw9uLZ9K3SkBXQN53b ccyyPwRnxYGdn3QZlTb1xIBZVshq7ZluZhe3NYZn9XeubbqYwkiuL8fdSsqWy9SCgpHu RPIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=orl6mIT4; 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 h6si26330170pjk.65.2019.06.05.09.57.29; Wed, 05 Jun 2019 09:57:46 -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=orl6mIT4; 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 S1728977AbfFEQzG (ORCPT + 99 others); Wed, 5 Jun 2019 12:55:06 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:51536 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728887AbfFEQyj (ORCPT ); Wed, 5 Jun 2019 12:54:39 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190605165438euoutp02d7b4be9478965aac31272fe92d5616d1~lW7TkShTP0124001240euoutp02B for ; Wed, 5 Jun 2019 16:54:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190605165438euoutp02d7b4be9478965aac31272fe92d5616d1~lW7TkShTP0124001240euoutp02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1559753678; bh=UBJ3ezgLAW9CV2O9TqzTmKdZoxg8g/WoDRJ0caW6E6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=orl6mIT45ABIQRBfw8/DNZ1YmJUttO3tCbpkedgxfUnozt4JC27v6NiTUbaWzYkoB MTAXgaotaoxskCVUZObo9KM9C0sIBJItHYA8E8dR3iISl/0pux50Wl5R5DnhnvYXN0 fIbVyYTMsIlF6Vq2a8Kpy2f6AvpdeD+ngncR3YvA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190605165437eucas1p113ec140a7f6a75bae6372334d6fa5888~lW7S5nDya0348203482eucas1p1c; Wed, 5 Jun 2019 16:54:37 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 70.5E.04377.DC3F7FC5; Wed, 5 Jun 2019 17:54:37 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190605165436eucas1p2219af7e72feef428639ea70f496e3a9c~lW7SMpkxl0085900859eucas1p2e; Wed, 5 Jun 2019 16:54:36 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190605165436eusmtrp20c027b642e722d30944467311405c212~lW7R8yB5s2868028680eusmtrp2Y; Wed, 5 Jun 2019 16:54:36 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-fb-5cf7f3cd1eea Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 16.4D.04140.CC3F7FC5; Wed, 5 Jun 2019 17:54:36 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190605165435eusmtip1479bd6fcac96b266c542ac341d4fa4a8~lW7Q9nUEB0165501655eusmtip15; Wed, 5 Jun 2019 16:54:35 +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 Cc: b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, keescook@chromium.org, tony@atomide.com, jroedel@suse.de, treding@nvidia.com, digetx@gmail.com, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v8 09/13] drivers: devfreq: events: add Exynos PPMU new events Date: Wed, 5 Jun 2019 18:54:06 +0200 Message-Id: <20190605165410.14606-10-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190605165410.14606-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0iTURjGO/t2+baafE7JFxONQWAXp93gQBKGBh9FYRBEJtTMzwu6Ofe5 yuwyNc2m01Axc5X1Rzhcok7JS5Z5y0hNzcTSClMySZPU6fJC5tzE/37neZ/nfQ6HQxKSFp47 Ga1MYNRKeayUL+I+f7PQ7dM1aw31K0p3x5WF5Tw8YPnJw8Wt73nYND2KcN67hxzcmanAOaMT BO7urhDgrpRJAR7UeuC++gd8PKtvRbiw+xUHl7V+FeChZCMft0ze5uHGj8fw0JITnn87ggJc 6Pm5XC5t0PZy6bqirwLaXHqHT+tTp/h001QDh86uLkV0VUcSPWv2DBaGiPzDmdjoS4za9/AF UdRLXYRqgX+lrTNToEWLPB0iSaAOwEqaQodEpIQyIhiuykD2gwXB/YlJx2EWQYFhbDUhXEt8 NugdgxIEbcZbG5G+kaW1vXxKBrWl8baAK5UEXwYaCZuHoCY50LX4l2sbuFDB0GAxIxtzqR2Q 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ERr4FjAyrGEVSS4tz03OLjfSKE3OLS/PS9ZLzczcxAuNo27Gf W3Ywdr0LPsQowMGoxMMrsfF7jBBrYllxZe4hRgkOZiUR3sTbX2KEeFMSK6tSi/Lji0pzUosP MZoCHTWRWUo0OR8Y43kl8YamhuYWlobmxubGZhZK4rwdAgdjhATSE0tSs1NTC1KLYPqYODil GhjdWRgW1zDdmTDZUetb/MLY2VPOOxx9fnfru+O6PnFbDf6xLNnzqkd5Ytv+sCvK664G1l7l eGxq8tzcvJvNIO5lj2fywh3xq69qr+X/qDPjvP/6vR5ubk76Cd75mzcm7Ch6ettMY3PbIqWf 3Id+cayYOnHnowt9CiwZEeHsG1ffOP56ypFrp39PUmIpzkg01GIuKk4EADccwNy5AgAA X-CMS-MailID: 20190605165436eucas1p2219af7e72feef428639ea70f496e3a9c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190605165436eucas1p2219af7e72feef428639ea70f496e3a9c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190605165436eucas1p2219af7e72feef428639ea70f496e3a9c References: <20190605165410.14606-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 Define new performance events supported by Exynos5422 SoC counters. The counters are built-in in Dynamic Memory Controller and provide information regarding memory utilization. Signed-off-by: Lukasz Luba --- drivers/devfreq/event/exynos-ppmu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index c2ea94957501..ce658c262c27 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -89,6 +89,12 @@ static struct __exynos_ppmu_events { PPMU_EVENT(d1-cpu), PPMU_EVENT(d1-general), PPMU_EVENT(d1-rt), + + /* For Exynos5422 SoC */ + PPMU_EVENT(dmc0_0), + PPMU_EVENT(dmc0_1), + PPMU_EVENT(dmc1_0), + PPMU_EVENT(dmc1_1), }; static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev) -- 2.17.1