Message ID | 1557155521-30949-10-git-send-email-l.luba@partner.samsung.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30546912 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Mon, 6 May 2019 15:13:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E8A7205AD for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Mon, 6 May 2019 15:13:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12A99287CF; Mon, 6 May 2019 15:13:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3364205AD for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Mon, 6 May 2019 15:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbfEFPNF (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Mon, 6 May 2019 11:13:05 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:35554 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726888AbfEFPMU (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Mon, 6 May 2019 11:12:20 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190506151219euoutp01a3a9a2822ba09128200da4296c2bd554~cILaNzva91860818608euoutp01T for <linux-samsung-soc@vger.kernel.org>; Mon, 6 May 2019 15:12:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190506151219euoutp01a3a9a2822ba09128200da4296c2bd554~cILaNzva91860818608euoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557155539; bh=ZYADg2dL+NQeaO3jY1kJ1t8mduIa1Ayf21OKAkoyL3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FsiFargvfWWOn8ahJUziHcueFoqOA8F3KJAwsE/RGrR2J9cIMMxQ7/NL26FmT6EKj alc12Lrm766SGdpWIgzjXmHiI6sDORGLIvS7oX6B1i+P/MpeqD+GYNJFhSIseWQQok 4qZuu8D0lOY2ycwxWjZ6VVPCHB7RsXWuK92g2H0E= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190506151218eucas1p20a92bece3de994a2709f6957b102fc9b~cILZCBIsV1252112521eucas1p29; Mon, 6 May 2019 15:12:18 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 18.02.04298.1DE40DC5; Mon, 6 May 2019 16:12:18 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190506151217eucas1p2c9348f2766870e7c22c2dabaab5d57a1~cILYR35-U0846408464eucas1p2d; Mon, 6 May 2019 15:12:17 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190506151217eusmtrp2aabc6673e341cbf53a470b5e31536b4f~cILYDm8_K0409004090eusmtrp2f; Mon, 6 May 2019 15:12:17 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-3f-5cd04ed17a7c Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 12.6D.04146.1DE40DC5; Mon, 6 May 2019 16:12:17 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190506151216eusmtip198c9c097189ca947b1a5a6b20f3bea16~cILXP1k4O0071300713eusmtip1Q; Mon, 6 May 2019 15:12:16 +0000 (GMT) From: Lukasz Luba <l.luba@partner.samsung.com> 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 <l.luba@partner.samsung.com> Subject: [PATCH v7 09/13] drivers: devfreq: events: add Exynos PPMU new events Date: Mon, 6 May 2019 17:11:57 +0200 Message-Id: <1557155521-30949-10-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557155521-30949-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTYRjuO+fs7Exanabmp4bBQkjBmVD5RSEVBqei258ClWzlSS03dcdL ZsFSNK8pJWqWXbR0mGFNGyqWOkdW5ryVd0MaapdlpGZ20zydWf+e97m8z8vHR+Eyk8iFClfH sBq1MkJO2hGGp987vLr3dwZtKDVi6GFhlQj1zUyI0E2TWYTufbEAdOVFMYZeZqpQjuUjjjo6 HohRe5JVjAa1a1BP/XUSTWebACrseIKh+6YRMRq6oCNRi/WiCDW+2oOGfq5As8/egu32zOzX ywRzTdtFMHVFI2JGX5F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rFVvF02nbGB8T1rFyMnh4SAiUT3tYts XYxcHEICSxklvk7+BJUQk5i0bzs7hC0s8edaF1TRJ0aJzZfWAiU4ONgE9CR2rCoEqRERqJfo f3MJrIZZoIFZYs32q2CDhAX8JO72TmIBqWcRUJU4PSsTxOQV8JaYcI8RYrycxM1zncwgNidQ +G/HIbC4kICXxL6Pv1kmMPItYGRYxSiSWlqcm55bbKhXnJhbXJqXrpecn7uJERhH24793LyD 8dLG4EOMAhyMSjy8D2wvxAixJpYVV+YeYpTgYFYS4U18di5GiDclsbIqtSg/vqg0J7X4EKMp 0EkTmaVEk/OBMZ5XEm9oamhuYWlobmxubGahJM7bIXAwRkggPbEkNTs1tSC1CKaPiYNTqoGR y0zkFLvC8dVPnScmTD4ZPflwldTfTrNfK1MlQ0o2eyj9fSUivL70R6bYtheNi7MWqa5uXrB4 6T2DEMOPRdvuhzd+mqpnlb8mab9kVWTFHS3jwDg5haJ6Y6PKQ9MnsAvFTWKa/9lG7321+0+O 6GNFa6cdcboRsU7npSHTxrg9n3ZyN02uNzmkxFKckWioxVxUnAgAdPENpbkCAAA= X-CMS-MailID: 20190506151217eucas1p2c9348f2766870e7c22c2dabaab5d57a1 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190506151217eucas1p2c9348f2766870e7c22c2dabaab5d57a1 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190506151217eucas1p2c9348f2766870e7c22c2dabaab5d57a1 References: <1557155521-30949-1-git-send-email-l.luba@partner.samsung.com> <CGME20190506151217eucas1p2c9348f2766870e7c22c2dabaab5d57a1@eucas1p2.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Exynos5 Dynamic Memory Controller driver
|
expand
|
diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index 7ebe4d4..81361ea 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -96,6 +96,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)
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 <l.luba@partner.samsung.com> --- drivers/devfreq/event/exynos-ppmu.c | 6 ++++++ 1 file changed, 6 insertions(+)