Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp758642ybi; Fri, 14 Jun 2019 02:54:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqybKn6lcMeNnPHM8fihttClgu177shlBe7UYd9+yRQ/IhcSW9kzeA7rDXXtKHMe0AbVgDqQ X-Received: by 2002:a63:27c7:: with SMTP id n190mr34889919pgn.250.1560506091811; Fri, 14 Jun 2019 02:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560506091; cv=none; d=google.com; s=arc-20160816; b=NRf6EahGWVAxwR1Rdh8HT/V5oONO2t2GaUajfqL7138ClLzymNM7u07nXE8k/TF6aj YCLuWipfdx7D4Gz5U6aPlwD5jy81ruY2pNQ3dqjsgoWjRZvz2Nxdy+JJWKqzvUruL/zf 5DpN9oaI7PHELFt/lmXgA2ubuu3+ZGSfOxnE2ayHGvh86MnXr8n+pm8dg5tAVPM2MbV7 42GIK6bGF12nbnoJC+/U03kiFy7KJ52TYck2Z15OLES7u2FmdOlQIOHmonkKZoSRDnc2 yaNVhx16bmvR7t2HjBDstO7LjDxZtR5zFg7C3f3IM3J3DqHZxyPDEU7sV+xcxsOk8iLV Ak6g== 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=RU+foixqa7XpwKz3Ivv4h3h61gBqglyfDEmPgh23zQ9VSLh+8Zz2pHP6Bo4O5u5XoL BkQE7jgQECTDUP/0rgWLChQJIoQ4r5DXJySVvqeN3Tudw6kEe17DqkBI9C0hUd1yIqmK EUh/7FPyku64l/JFjjKh5HUvk8VpWT2LZksWlNpKEsW1MSywgl49sOw5RtD3guIby66H 1RTggpktIhyEeDmO92ELgPvUr+XmC8Z6PJyBbWtvXXhlOjyOjzGp7kIM5oyRZK896Jta Jj3uf0AMDQYsGMEnrbUH3wSN7X9e6h3M0o1tY0WcVqcMas/nfV3K4YWcAvXd+sLtkm6/ muBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mxDVUCMH; 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 t23si2064412pgu.320.2019.06.14.02.54.36; Fri, 14 Jun 2019 02:54:51 -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=mxDVUCMH; 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 S1727232AbfFNJyF (ORCPT + 99 others); Fri, 14 Jun 2019 05:54:05 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54584 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727380AbfFNJxb (ORCPT ); Fri, 14 Jun 2019 05:53:31 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190614095330euoutp029650ec0d89ed73fadf2b3a5e1c249988~oB-Lc2zjF1678716787euoutp023 for ; Fri, 14 Jun 2019 09:53:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190614095330euoutp029650ec0d89ed73fadf2b3a5e1c249988~oB-Lc2zjF1678716787euoutp023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1560506010; bh=UBJ3ezgLAW9CV2O9TqzTmKdZoxg8g/WoDRJ0caW6E6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mxDVUCMHZI5qE/wC9K29i6POoMEoyx4OEQAPU3da0KadGYd371vOUAX8OQssNmGLj X7May+uFBxZxVT6zgGk9gsxwaUdKhHSDFRvzIyjCD8EiqVTPYvOODyMuXhiplFaR/V l3e5O0Srp/hk2+c3ymmImY5WqBiL8mzL3EzkCAiU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190614095329eucas1p1ce98ae0453967f72dab00ca69068bc85~oB-K1HjZK1141711417eucas1p1W; Fri, 14 Jun 2019 09:53:29 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id FC.A5.04298.99E630D5; Fri, 14 Jun 2019 10:53:29 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190614095328eucas1p24009b3a07322fd12e49eabb7a08baf50~oB-J7Rtcl0493104931eucas1p25; Fri, 14 Jun 2019 09:53:28 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190614095328eusmtrp2e16c99128fd715a5312311308359cedc~oB-JrfYXQ2148521485eusmtrp2D; Fri, 14 Jun 2019 09:53:28 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-38-5d036e99c865 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 77.EA.04140.89E630D5; Fri, 14 Jun 2019 10:53:28 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190614095327eusmtip28d79fb68cdea7e6eabe17dc35d640884~oB-IulCQZ2266622666eusmtip21; Fri, 14 Jun 2019 09:53:27 +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-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, 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, gregkh@linuxfoundation.org, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v10 09/13] drivers: devfreq: events: add Exynos PPMU new events Date: Fri, 14 Jun 2019 11:53:05 +0200 Message-Id: <20190614095309.24100-10-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190614095309.24100-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSWUwTURT1dToLSMlYUV7ciFUSIFps4vICrokmo8ZEQvhQg1p1WCIt0AEV 8aOCuIAVBUEWoRhUtEAKlGAVEGQRA0hBDBIRg2KUyKK0IG4ptp2qf+eee8495yWPwsRD+CIq UhnHqpTyKAnhKqx5+sO0OleJha65bV6JKnP0OHo19QlH2pYuHJVODgOUXKwnUGZ7gQB1pilQ +vAohkymChI9Txoj0Wv1EjR5+S2Oeh/dJJBF0wJQjumxAJW3DJKop30HGjh7j0DNYxdwZO2r FKKGl7vQwC939O3Ze7DVk/k2nSFkvvSnkEy+ukfIPMwbJJkq3SWCaSgoIxlN8gTBPJmoEzBX qnWAMXQkMpaqZXvn7nfdeIyNijzBqvw3H3aNqE8Ni/lBnGrtTCPV4CeeClwoSK+FPer3IBW4 UmL6HoCTfR8E/DAFYPvH7w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u3sELaw xJ9rXWwQRZ8YJaYvPw+U4OBgE9CT2LGqECQuIjCHUeJn1zZGEIdZ4CyzxO4Vb5hAuoUF/CUO n33HBmKzCKhKbDq3G2w1r4CDxMrJn5ghNshLrN5wAMzmBIofnf+GDWSBkIC9xPcZ/BMY+RYw MqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIjMFtx35u2cHY9S74EKMAB6MSD+8BK6ZYIdbE suLK3EOMEhzMSiK886yZY4V4UxIrq1KL8uOLSnNSiw8xmgLdNJFZSjQ5H5ge8kriDU0NzS0s Dc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MOqfY/wVKtkUaRbz7vZFN7a2DZOl X3bt1eL5lzifd6Hlc/fGlrMPnORfbPh9OfDi4yc1UX/+b34vouqwttB/WuASl6ev/XaH/y/T Mlns/lv8sY5UfKq78m3Jzvg9vb/efWhnPDFtmdWjeSni7OdVpDjvv2v7G9fH2Jh56+zleBO9 a7HP5rV/jVJiKc5INNRiLipOBAAbKQBQ1wIAAA== X-CMS-MailID: 20190614095328eucas1p24009b3a07322fd12e49eabb7a08baf50 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190614095328eucas1p24009b3a07322fd12e49eabb7a08baf50 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190614095328eucas1p24009b3a07322fd12e49eabb7a08baf50 References: <20190614095309.24100-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