Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2578373yba; Mon, 6 May 2019 08:15:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVzZa+QYqJWPNkXxEs46TttSnTwSqn5UT3XlCqrP3hCE7rXXAS8Q1R7hwffiFbUSlsMWzf X-Received: by 2002:a65:6449:: with SMTP id s9mr2133123pgv.90.1557155736408; Mon, 06 May 2019 08:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557155736; cv=none; d=google.com; s=arc-20160816; b=r4JH7ECaRdh3hU89KYLRzHpDObKMt1BIvC9a9xjtQG9BeA4usLn27id18S8mmWPpf0 NHsWF6dmAfkMT29NvHJ3IBN7WUyg1ZfG12ZSgEr4yheDIrNyjlI9AROsu1dYwvQMfomp 4LrP+VDpxnHLn6+55UKaFzUzMoroIL/Cbu+giL/fCFpICIVHPT6tygQmn+VXNct5ZwcJ pMQSIxGHTSzIdFS5kjYiv8gCUdy9i3TyQRW4c3lnUtBvywjgbe6kPizEKrGnCJbGeXKH QONUblUl2bEn4NSuuhNKhxmYvCyV2Zmcywef2AwWw08wzXv0zdF8eQEjvcLgNbUSFApq 3shg== 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=ZYADg2dL+NQeaO3jY1kJ1t8mduIa1Ayf21OKAkoyL3c=; b=VrYHbYZPEOvcAcyKM9vflE0Tbm9cts83a/4/rB1qDodt4mkFOAmt/IcQxpcUWbUtjL Xl7+0JrCDMNd8dKseHn0889QCuusySBrNN2dLRqWvwMZUB5E+IfdErQo6YL6L4cmDO6I m2BmFYXkMYwhbMNXQjm6hs+KlM8A3x2pKrFZ5SNE9Xh+utNXIfSIO4EPNYVdA9Eu4S5+ ivmy6kAoPk70nitt5vb81hvNehY1LbBv7snrUoQ/vJ4PVLGjAYhtrKkn/ok4Kr/KT/PP 8tWdwEvzU59kC0KL7AAhkodsupLqa3Q+w3tZJBhX+bheVIyqRCWlbPgmHb0WCbxDeBa6 sNEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FsiFargv; 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 o14si15777804pgj.241.2019.05.06.08.15.19; Mon, 06 May 2019 08:15:36 -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=FsiFargv; 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 S1726879AbfEFPNG (ORCPT + 99 others); Mon, 6 May 2019 11:13:06 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:35518 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbfEFPMU (ORCPT ); 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 20190506151219euoutp0167a8bc6135755a22a1ee082e56f41ad7~cILaMjPmW1953319533euoutp01e for ; Mon, 6 May 2019 15:12:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190506151219euoutp0167a8bc6135755a22a1ee082e56f41ad7~cILaMjPmW1953319533euoutp01e 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 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 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 ywRzTdtFMHVFI2JGX5FOMtnJkyTTPNmAMZdqKgBT3ZbITOvdDkoC7LaFsBHhcazG2++YXdj8 8AIRNUme+VRWALTgsygDSChIb4Stj6axDGBHyWgdgJnphUAYZgAculZtG6YBvHM3S7wUyezt IgWhHMCy1BTyX2S+LG/RRVEkrYC1FdF8wIFOhMN9jTjvwWkrBtt/zBG8YE8fhOaGFoL3E7Q7 bCsK56GU3gtz3wChyw0OmNNxHksW6d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rpecn7uJERhH24793LyD 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> 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 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) -- 2.7.4